Commit Graph

3109 Commits

Author SHA1 Message Date
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
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
Vladimir Agafonkin
9020f4d41e greatly simplify zoom animation calculations - finally!!! 2014-01-15 17:15:52 +02:00
Vladimir Agafonkin
f081ff2908 fix build 2014-01-14 17:20:58 +02:00
Vladimir Agafonkin
cd0c9ff8a5 position the hack absolutely 2014-01-14 17:18:51 +02:00
Vladimir Agafonkin
322039ea85 move the hack to tile container reset 2014-01-14 17:15:58 +02:00
Vladimir Agafonkin
592d2ce8f4 horrible hacks to fix iOS Safari bugging out hw-acceleration 2014-01-14 16:29:39 +02:00
Vladimir Agafonkin
cfde916edf make sure tiles in iOS Safari are not hw-accelerated layers 2014-01-14 16:28:40 +02:00
Vladimir Agafonkin
6e5d3e26e6 use translate2d instead of top/left for tiles when hw-accelerated
this fixes gaps between tiles in Safari and makes iOS Safari butter
smooth when zooming
2014-01-14 16:26:58 +02:00
Vladimir Agafonkin
09ad7e8c4f fix box-zoom not displaying 2014-01-14 01:35:34 +02:00
Vladimir Agafonkin
22226c20c2 simpler tile bg buffer loading logic 2014-01-13 21:52:49 +02:00
Vladimir Agafonkin
6d5fe1f724 a bit cleaner zoom anim logic 2014-01-13 20:54:13 +02:00
Vladimir Agafonkin
f32173573a do not stack transforms for real now, close #1705 2014-01-13 17:10:58 +02:00
Vladimir Agafonkin
1acffc5a3d don't disable propagation on closeButton, close #2351 2014-01-11 15:00:28 +02:00
Vladimir Agafonkin
1ed9924288 fix ImageOverlay on low zooms with Mercator distortion 2014-01-11 14:59:56 +02:00
Vladimir Agafonkin
48d5bac476 clean up image overlay, fix setting opacity/url when not added 2014-01-11 02:51:55 +02:00
Vladimir Agafonkin
2c90de5076 cleaner ImageOverlay animation 2014-01-10 23:25:31 +02:00
Vladimir Agafonkin
6f5c17fae0 more consistent renderer anim calculations 2014-01-10 21:59:25 +02:00
Vladimir Agafonkin
cc34737a93 remove DomUtil getTranslateString/getScaleString 2014-01-10 20:26:20 +02:00
Vladimir Agafonkin
d22f75cc36 simpler renderer zoom anim 2014-01-10 20:19:01 +02:00
Vladimir Agafonkin
cd746192b5 stack transforms properly for tile layer anim, ref #1705 2014-01-10 19:24:39 +02:00
Vladimir Agafonkin
b5569dd0c3 never stack transforms, simpler grid layer anim, ref #1705 2014-01-10 19:11:59 +02:00
Vladimir Agafonkin
758679ab69 add DomUtil.setTransform for translate+scale ops 2014-01-10 16:05:58 +02:00
Vladimir Agafonkin
30f86b11e3 improve zoom perf by avoiding recompositing in grid layers 2014-01-10 14:34:44 +02:00
Vladimir Agafonkin
3b57b9a040 set the source in bindPopup(popup), close #2354 2014-01-10 14:05:21 +02:00
Vladimir Agafonkin
646850f5f2 stop panning animation correctly, better inertia, close #2360 2014-01-10 13:29:37 +02:00
Vladimir Agafonkin
7e98b33db3 update year to 2014 2014-01-08 20:40:04 +02:00
Vladimir Agafonkin
be85ff304c fix Canvas layer redawing 2014-01-03 20:14:24 +02:00
Vladimir Agafonkin
b01126d9fb Merge pull request #2345 from Leaflet/geodesic
Better geodesy handling
2014-01-03 08:13:51 -08:00
Vladimir Agafonkin
ae8bc579a4 fix Circle in flat projections 2014-01-03 18:08:19 +02:00
Vladimir Agafonkin
8f4baaed14 don't render circles near poles or with 0 radius 2014-01-03 17:37:51 +02:00
Vladimir Agafonkin
dab0cbfc14 update tests to reflect no clamping near poles 2014-01-03 17:37:28 +02:00
Vladimir Agafonkin
5e441018f8 fix true mercator regression 2014-01-03 17:37:16 +02:00
Vladimir Agafonkin
192973093f fix ellipse disappearing with big radiusY 2014-01-03 15:27:18 +02:00