Commit Graph

3362 Commits

Author SHA1 Message Date
Marc Tobias Metten
3a391026f2 Doubleclick and scrollwheel zoom already can be forced to remained centered on map center. Now the same for touchzoom 2014-03-08 02:29:51 +01:00
Marc Tobias Metten
d61d0c0893 Doubleclick and scrollwheel zoom already can be forced to remained centered on map center. Now the same for touchzoom 2014-03-08 02:27:35 +01:00
Vladimir Agafonkin
b8897f26fb instantiate default renderers in map, fix #2523 2014-03-07 14:52:11 +02:00
Jeff Smale
d05a049dde Fixed indentation of dasharrayoffset code 2014-03-07 12:35:49 +13:00
Jeff Smale
b1e08ab8c2 Added stroke-dashArray to path options 2014-03-07 11:50:44 +13:00
Vladimir Agafonkin
1a7b12604b run view reset before load, fix #2510 2014-03-05 23:27:32 +02:00
Vladimir Agafonkin
b5b2dc06dc Merge pull request #2514 from snkashis/remove_cloudmade
Remove cloudmade tilesets
2014-03-04 23:45:22 +02:00
Vladimir Agafonkin
9c25ae3f8a remove CM reference in FAQ 2014-03-04 20:40:52 +02:00
Vladimir Agafonkin
9678a054a7 add a link to @tmcw cheatsheet to FAQ 2014-03-04 18:20:23 +02:00
Steve Kashishian
ed926180d2 whitespace fixes 2014-03-04 11:04:00 -05:00
Steve Kashishian
28c56c4bb0 Remove cloudmade tilesets 2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
c3129a02ea Merge pull request #2509 from dvito/add_alt_to_tiles
Add alt to tiles for accessibility reasons
2014-03-04 01:22:05 +02:00
justraines@gmail.com
50dbfa30a8 add alt tags to tiles 2014-03-03 17:52:41 -05:00
justraines@gmail.com
c1870976e6 set alt attribute on tiles to a null value so screen readers no longer read url for tiles 2014-03-03 17:46:54 -05:00
Vladimir Agafonkin
c60ebb9a10 Merge pull request #2507 from Wenqer/patch-1
Added map events on touch devices
2014-03-03 18:05:19 +02:00
Wenqer
a303658f8d Added map events on touch devices
Simulate mouseup and mousedown on map on touch device.
2014-03-03 17:07:25 +02:00
Vladimir Agafonkin
86b9b4ea42 Merge pull request #2503 from axefrog/master
Fix for touch-sensitive browsers detecting drag on tap
2014-03-02 00:12:01 +02:00
Nathan Ridley
a0bf3fe798 Update Draggable.js 2014-03-01 21:58:56 +00:00
Nathan Ridley
902d24bd85 Fix for touch-sensitive browsers detecting drag on tap
Chrome 33 on Android seems to very commonly detect a 1 pixel drag movement during a standard touch tap. This fix prevents a drag from beginning until the X and Y drag offset is at least 3 pixels in total.
2014-03-01 16:14:26 +00:00
Vladimir Agafonkin
97a7f1d5a4 fix click propagating through popup regression, close #2500 2014-02-28 23:15:28 +02:00
Vladimir Agafonkin
665e766608 simplify optimized LatLngBounds extend 2014-02-27 19:03:00 +02:00
Antoine Pultier
63e22f0ed0 Manage empty L.LatLngBounds objects 2014-02-27 19:03:00 +02:00
Antoine Pultier
39af6fb5d7 L.LatLngBounds.extend return to Math.min/max 2014-02-27 19:03:00 +02:00
Antoine Pultier
ed44604411 L.LatLngBounds.extend optimization 2014-02-27 19:03:00 +02:00
Vladimir Agafonkin
f8ee421ca4 Merge pull request #2419 from danzel/vector-during-zoom
Fix adding Vector layers during a zoom animation
2014-02-27 17:28:09 +02:00
Vladimir Agafonkin
860fb92461 Merge pull request #2418 from danzel/ie8-fixes
IE8 fixes.
2014-02-27 17:27:44 +02:00
Vladimir Agafonkin
920e7b03d9 Merge pull request #2492 from bsstoner/bsstoner/2489
Enforce maxZoom before applying paddingOffset in Map.fitBounds, fixes #2489
2014-02-27 02:56:14 +02:00
Brian Stoner
255a3d7fb8 remove parens from ternary if 2014-02-26 19:52:21 -05:00
Brian Stoner
86e06dbd79 enforce maxZoom before applying paddingOffset, fixes #2489 2014-02-26 17:21:49 -05:00
Vladimir Agafonkin
b1f70b5c1c fix layer.addTo(group), add layer removeFrom, #2420 2014-02-24 20:18:44 +02:00
Vladimir Agafonkin
229aa1d667 update changelog pass two [skip ci] 2014-02-24 19:08:20 +02:00
Vladimir Agafonkin
a70ab6e613 fix whitespace 2014-02-24 18:42:47 +02:00
Vladimir Agafonkin
893b6fa2f0 add LatLng wrap method back 2014-02-24 17:20:47 +02:00
Vladimir Agafonkin
fcc9f41df4 fix whitespace 2014-02-24 16:00:15 +02:00
Vladimir Agafonkin
431e775893 Merge pull request #2370 from cusspvz/patch-1
Events.js: Check if array exists before loop
2014-02-24 15:59:32 +02:00
Vladimir Agafonkin
5db33435c5 make options arg in GeoJSON.geometryToLayer optional, #2420 2014-02-24 15:55:25 +02:00
Vladimir Agafonkin
23df037bb7 update changelog (first pass) [skip ci] 2014-02-24 15:17:54 +02:00
Vladimir Agafonkin
f574bf5114 Merge pull request #2482 from perliedman/canvas-update-2476
Call layer's _update like SVG renderer does, fixes #2476
2014-02-22 16:49:49 +02:00
Per Liedman
501d61ce98 Call layer's _update like SVG renderer does, fixes #2476 2014-02-22 13:31:13 +01:00
Vladimir Agafonkin
85aebe06c0 Merge pull request #2480 from adimitrov/patch-1
Move _containsPoint method to CircleMarker for canvas renderer
2014-02-22 01:36:35 +02:00
Alexander Dimitrov
687c0b75a4 Move _containsPoint method to CircleMarker for canvas renderer
CircleMarker is the parent of Circle as of 508a75f7a8 and should have _containsPoint instead.
Fixes no method '_containsPoint' error when hovering on a map with a CircleMarker.
2014-02-22 00:24:15 +02:00
Vladimir Agafonkin
ad661c94e4 Merge pull request #2452 from snkashis/modifier_key_bypass
don't capture keydowns if modifier key is active
2014-02-13 01:05:51 +02:00
Steve
c339a7e808 allow shift key to be active 2014-02-12 09:18:09 -05:00
Steve Kashishian
37519fd6ec don't capture keydowns if modifier key is active 2014-02-10 21:45:19 -05:00
Vladimir Agafonkin
34b6b9154d Merge pull request #2434 from gdi2290/patch-1
add licenses to package.json
2014-02-04 09:02:53 -08:00
gdi2290
992a9845ae add licenses to package.json 2014-02-04 08:45:03 -08:00
Vladimir Agafonkin
dfd20ca4c9 Merge pull request #2432 from bclinkinbeard/patch-1
Indicate primary CSS file in package.json
2014-02-03 06:58:26 -08:00
Ben Clinkinbeard
fae082068b Indicate primary CSS file in package.json
Many modules in npm are starting to expose their css entry files in their package.json files. This allows tools like `npm-css`, `rework-npm`, and `npm-less` to import a module's styles from the node_modules directory. Bootstrap is [in the process](https://github.com/twbs/bootstrap/pull/12441) of adopting this standard as well.
2014-02-03 09:54:56 -05:00
Vladimir Agafonkin
38b43b4b5c Merge pull request #2421 from danzel/addremovebug
Fix adding and immediately removing a Layer from the map when the map is never initialized
2014-01-30 01:48:23 -08:00
danzel
d5a3112852 Another break with adding and removing tile layers. 2014-01-30 16:35:08 +13:00