Commit Graph

3433 Commits

Author SHA1 Message Date
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
José Moreira
92890bed12 Events.js: Check if array exists before loop 2014-01-13 12:31:42 +00: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
Vladimir Agafonkin
264eca8ee6 don't clamp mercator after 85, simplify projection code 2014-01-03 15:26:40 +02:00
Vladimir Agafonkin
06fb3ce6e4 much better circle approximation near poles 2014-01-03 03:50:22 +02:00
Vladimir Agafonkin
7ff0fa9c72 approximate Circle with ellipse 2014-01-03 00:37:34 +02:00
Vladimir Agafonkin
0cf887fdb4 fix Travis build false passes when running tests 2014-01-03 00:37:07 +02:00
Vladimir Agafonkin
c4a9418d3b add low level ellipse rendering support 2014-01-02 20:36:47 +02:00
Vladimir Agafonkin
9ce2cc5cbd use simpler distance formula (precision is good enough) 2014-01-02 16:32:57 +02:00
Vladimir Agafonkin
3d34f27df8 normalize latlng argument in Map wrapLatLng 2014-01-02 16:15:00 +02:00
Vladimir Agafonkin
ea1402ec4f simplify calculations in scale control 2014-01-02 16:13:08 +02:00
Vladimir Agafonkin
5923a64ec4 add Map distance method, close #1442 2014-01-02 16:13:03 +02:00
Vladimir Agafonkin
2ee5c90f02 add CRS.Earth, move Harvesine distance there 2014-01-02 15:42:14 +02:00
Vladimir Agafonkin
6940b5bac9 use projected coordinates in Circle, close #1465 2014-01-02 15:23:28 +02:00
Vladimir Agafonkin
d1bc836b5d HAPPY NEW YEAR!!!
Lets have an awesome year doing amazing stuff together! Cheers my
fellow leafleters!
2014-01-01 02:49:57 +02:00
Vladimir Agafonkin
b2965351e0 ignore openPopup if map not initialized, close #2343 2013-12-31 02:43:56 +02:00
Vladimir Agafonkin
7d18adbe73 don't postfix createPane name, #1742 2013-12-30 23:39:30 +02:00
Vladimir Agafonkin
2000734658 do not fail on unnamed createPane, #1742 2013-12-30 20:16:21 +02:00
Vladimir Agafonkin
76f9c7ae7f add Map createPane/getPane methods, close #1742 2013-12-30 19:17:52 +02:00
Vladimir Agafonkin
dd1b9617dd add syntactic sugar to DomEvent.on/off 2013-12-30 17:40:23 +02:00
Vladimir Agafonkin
6cea376807 add missing Canvas events, fix mouseover spam 2013-12-30 13:22:14 +02:00
Vladimir Agafonkin
bc9721b3be simplify pane structure (remove objectsPane, not necessary) 2013-12-28 03:38:59 +02:00
Vladimir Agafonkin
ee3f2f8b1e stop propagation explicitly; marker and vector mouseup
this way we know what events won’t propagate to Map and this behavior
is consistent across layers
2013-12-28 03:12:18 +02:00
Vladimir Agafonkin
7ca19b59ea clean up Marker mouse events code 2013-12-27 19:27:46 +02:00
Vladimir Agafonkin
8bf7f963e2 fix marker drag regression 2013-12-27 19:27:11 +02:00
Vladimir Agafonkin
c354113293 fix build (fire preclick even with no click listeners) 2013-12-27 18:46:10 +02:00
Vladimir Agafonkin
93214d7e3c clean up mouse events handling code 2013-12-27 18:36:24 +02:00
Vladimir Agafonkin
e7898584c3 more BoxZoom cleanup 2013-12-27 18:17:51 +02:00
Vladimir Agafonkin
e27b295261 clean up BoxZoom, fix cursors #1813 2013-12-27 17:22:16 +02:00