Dave Leaver
a071f489a5
Removing comment out code and not needed todos
2014-10-21 12:21:30 +03:00
Dave Leaver
498aef4c31
Push getTransform up to L.DomUtil.getTransform rather than having it in ZoomAnimation and PosAnimation
2014-10-21 12:21:30 +03:00
Dave Leaver
b6c4ebdbca
Move the proxy in to Map.ZoomAnimation as it is the only place that uses it. Use it to detect zoom animation finishing.
2014-10-21 12:21:30 +03:00
Dave Leaver
97598d4241
Move animated zoom stopping in to the place it belongs
2014-10-21 12:21:30 +03:00
Dave Leaver
a5552f4ed4
listen to moveend instead so we know where we are after a map drag
2014-10-21 12:21:30 +03:00
Dave Leaver
7aa9d95e9a
Getting closer. project and unproject based on the current zoom seems to work in most cases.
2014-10-21 12:21:30 +03:00
Dave Leaver
c1bea627b0
stopAnimation -> stop
2014-10-21 12:21:30 +03:00
Dave Leaver
a0bc81cba8
Stop animating before starting a ZoomPan, otherwise they both run at the same time.
2014-10-21 12:21:30 +03:00
Dave Leaver
00a66b4731
Add an element for tracking zoom animations. Use it for trying to stop a map zoom. Still doesn't quite work right. Stopping a zoomPan or PanAnimation does work however. Code is all cludgy :)
...
refs #2560
2014-10-21 12:21:30 +03:00
Tom MacWright
74133f49f0
Fix MarkerSpec in retina browsers.
2014-10-21 12:21:29 +03:00
Tom MacWright
dc573b768a
Add safari and firefox launchers
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
acaea1c855
code cleanup; don't reload tile level that's already loaded
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
5912c365b7
zoom to the nearest round zoom with pinch or dblclick
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
fc655e45c7
manage tile pyramid levels; always animate tile fade
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
169b6a0e77
adjust zoomPan options, add a debug page
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
983a4ec261
implement pyramid animations (no tile removal yet)
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
454552e694
fix zoomPan logic, cleaner code
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
e093979297
fix GridLayer to not reset if tile zoom didn't change
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
dc04b9dbe2
add fromZoom arg to Map getZoomScale and getScaleZoom
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
1b8f68d806
simpler zoom anim calculations
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
bbb5a5a956
fix some positioning bugs
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
e26d148516
cleaner reset logic for GridLayer
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
790acad011
clean up zoomPanTo
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
4a344ae021
working zoomPanTo implementation
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
de4910f407
use offset when animating transform to avoid dividing by zero
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
c1b2c5c37c
round grid layer scaling transform
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
e41d65fe66
fractional zoom code clean up an fixes
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
5d58aa4f3f
initial fractional zoom implementation for grid layers
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
2be2cca49a
basic linear zoomPanTo without intermediary tile loading
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
fc05abd336
Merge pull request #2834 from bullgare/path_svg_fill_rule
...
svg's attribute 'fill-rule' now can be set via options into either 'evenodd' or 'nonzero'
2014-10-20 13:18:30 +03:00
bullgare
809844b539
svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now for canvas, too.
2014-10-20 10:24:11 +04:00
Vladimir Agafonkin
35e2131aab
Merge pull request #2955 from patrickarlt/module-loaders
...
Module loaders + Publishing on NPM
2014-10-18 16:15:44 +03:00
Vladimir Agafonkin
8d92b6037f
Merge pull request #2954 from nikgavalas/patch-1
...
Fix IE Touch pointer events passing through to the map
2014-10-18 16:14:54 +03:00
nikgavalas
ce0e92cf6e
Fix IE pointer events passing through to the map
...
Pointer events in IE would trigger on the map even when not started on the map. For example, if you had a dialog box on top of the map and dragged inside the map, the map would move. I believe this is because the handler never gets added to the obj[eventsKey] map. I noticed in the corresponding _off function below that the logic reaches there because of the multiple if/else statements. So I modified the _on even to match and it seems to fix the problem.
2014-10-17 11:35:54 -06:00
Patrick Arlt
957097cd2a
fix spelling
2014-10-15 08:44:59 -07:00
Patrick Arlt
2c7eda825d
fix merge conflict
2014-10-15 08:36:22 -07:00
Patrick Arlt
1e3a535616
seperate NPM and module loader info. Condense module loader section
2014-10-15 08:03:02 -07:00
Patrick Arlt
09ffc53549
Merge pull request #2949 from Leaflet/revert-2942-module-loaders
...
Revert "update plugin guide with module loader info"
2014-10-14 16:20:55 -07:00
Patrick Arlt
82abc2bef4
Revert "update plugin guide with module loader info"
2014-10-14 16:20:39 -07:00
Patrick Arlt
77438deb76
Merge pull request #2942 from patrickarlt/module-loaders
...
update plugin guide with module loader info
2014-10-14 15:15:30 -07:00
Patrick Arlt
fdf90c29ba
Merge pull request #2943 from patrickarlt/expose-global
...
expose a global if window is present
2014-10-14 15:15:21 -07:00
Patrick Arlt
8cc2d4b42d
add newline
2014-10-14 15:15:06 -07:00
Patrick Arlt
f2490d3d4a
expose a global if window is present
2014-10-13 11:18:45 -07:00
Patrick Arlt
cb551891bd
update plugin guide with module loader info
2014-10-13 11:06:03 -07:00
Vladimir Agafonkin
f83915aa3b
Merge pull request #2886 from SniperSister/master
...
CSS reset for svg max-width declarations
2014-09-04 18:44:34 +03:00
David Jardin
1712b74363
Merged css declarations
2014-09-03 21:07:30 +02:00
David Jardin
ecb4af5e76
CSS reset for svg max-width declarations
...
Fix for https://github.com/Leaflet/Leaflet/issues/2881
2014-09-03 17:46:35 +02:00
Vladimir Agafonkin
ae6d25999c
Merge pull request #2872 from bullgare/fix_marker_set_icon
...
it fixes marker's setIcon method
2014-08-26 16:00:49 +03:00
bullgare
b43da41575
it fixes marker's setIcon method, that flushes popup's options, which leads to breaking popup's custom offset
2014-08-26 15:35:58 +04:00
Vladimir Agafonkin
8a33e94c0e
Fix scale control widths, close #2869
2014-08-25 16:38:46 +03:00