Commit Graph

3442 Commits

Author SHA1 Message Date
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
danzel
2396a10282 Fix adding and immediately removing a Layer from the map when the map is never initialized 2014-01-30 16:15:03 +13:00
danzel
4a556886fb Fix adding Vector layers during a zoom animation. Fixes #2416 2014-01-30 11:14:57 +13:00
danzel
4e84f9ec1f IE8 fixes.
Events on VML elements actually work :)
2014-01-30 11:12:07 +13:00
Vladimir Agafonkin
064902665e Merge pull request #2413 from danzel/propagation-fixes
Propagation fixes
2014-01-29 02:34:03 -08:00
danzel
8cc7404f53 This should be oldLatLng, even if latlng is wrong, let's have this be right. refs #2412 #1423 2014-01-29 14:51:55 +13:00
danzel
5916db8678 Don't crash if a marker is removed from the map before it fires a mouseout event. 2014-01-29 14:45:27 +13:00
danzel
595e8d2537 Allow stacking propagations. L.MarkerCluster uses this as follows:
Marker propagates to FeatureGroup.
That FeatureGroup propagates to MarkerClusterGroup.
Then users add listeners on the MarkerClusterGroup
2014-01-29 14:43:52 +13:00
Vladimir Agafonkin
78be0ad0ec Merge pull request #2412 from danzel/marker-move
Add oldLatlng parameter to Marker move event
2014-01-28 14:36:57 -08:00
danzel
e2d9a97836 Add oldLatlng parameter to Marker move event, will allow MarkerCluster to support moving markers. 2014-01-29 11:33:08 +13:00
Vladimir Agafonkin
02db8b4e1a Merge pull request #2410 from gamb/master
change unload order
2014-01-28 09:42:30 -08:00
Adam J. Gamble
579a429c3b change unload order 2014-01-28 17:20:08 +00:00
Vladimir Agafonkin
53cd4eee19 update npm deps 2014-01-28 13:59:02 +02:00
Vladimir Agafonkin
47166b62e5 fix GeoJSON coordsToLatLng 2014-01-28 13:26:58 +02:00
Vladimir Agafonkin
bce7c49c17 Merge pull request #2377 from Leaflet/accel
Smarter hardware acceleration
2014-01-28 03:22:31 -08:00
Vladimir Agafonkin
02d5896740 remove leftover code 2014-01-27 18:21:06 +02:00
Vladimir Agafonkin
187d9c2368 move Safari hacks to CSS, do not optimize contrast in Chrome 2014-01-27 18:18:04 +02:00
Vladimir Agafonkin
9228b3089f fix blurry non-retina tiles on retina iOS 2014-01-27 18:04:58 +02:00
Vladimir Agafonkin
cf35d69655 size-based tile layer HW hack; use top/left for tiles everywhere 2014-01-27 17:54:12 +02:00
Vladimir Agafonkin
7150d58a2a fix year in changelog [skip ci] 2014-01-17 14:52:27 +02:00
Vladimir Agafonkin
9d3ec72ccb update changelog about 0.7.2 [skip ci] 2014-01-17 14:44:25 +02:00