John Firebaugh
|
a34810cb85
|
Use Map#stop to stop all animations
|
2014-10-21 12:21:30 +03:00 |
|
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 |
|
Vladimir Agafonkin
|
5912c365b7
|
zoom to the nearest round zoom with pinch or dblclick
|
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
|
454552e694
|
fix zoomPan logic, cleaner code
|
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
|
e41d65fe66
|
fractional zoom code clean up an fixes
|
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 |
|
AndreyGeonya
|
18938b0319
|
#2865, fixed bug with geometry/staticMarker click event after map dragging
|
2014-08-23 01:00:42 +03:00 |
|
AndreyGeonya
|
31a09930b4
|
#1871, zoom limited
|
2014-08-11 17:53:59 +03:00 |
|
AndreyGeonya
|
f7ac72d073
|
issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided
|
2014-08-11 15:14:37 +03:00 |
|
AndreyGeonya
|
a321406cf8
|
#2501, tab fixed
|
2014-08-05 17:13:10 +03:00 |
|
AndreyGeonya
|
f5cfddb60d
|
#2501, wheelDebounceTime option added
|
2014-08-05 16:49:33 +03:00 |
|
AndreyGeonya
|
fd7ebcb5aa
|
Issue #2619 fixed. Now Map.js/_fireMouseEvent checks dragging.moved() on moved object instead on map
|
2014-08-05 00:09:01 +03:00 |
|
Daniele Orrù
|
410068c08f
|
Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level
|
2014-07-13 11:41:52 +02:00 |
|
Hans Kristian Flaatten
|
5dc4c1ade1
|
Replace custom _onPreventDefault function
|
2014-04-30 20:55:57 +02:00 |
|
Hans Kristian Flaatten
|
3696926bef
|
Fix #2658 ZoomBox not disappearing on right click
|
2014-04-30 19:58:30 +02:00 |
|
danzel
|
3257038d70
|
Change how we work out if a pan is ok.
|
2014-04-08 09:30:25 +12:00 |
|
danzel
|
7d98b2e6d9
|
Fix the warnings
|
2014-04-07 16:11:33 +12:00 |
|
danzel
|
7e40b07d7d
|
Try not set a huge translate when a pan happens. Fixes #2602
|
2014-04-07 13:51:03 +12:00 |
|
Vladimir Agafonkin
|
9a2399ee50
|
fix freeze on multiple setViews, close #2521, close #2236, close #2485
|
2014-03-11 19:16:23 +02:00 |
|
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 |
|
Vladimir Agafonkin
|
1a7b12604b
|
run view reset before load, fix #2510
|
2014-03-05 23:27:32 +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
|
97a7f1d5a4
|
fix click propagating through popup regression, close #2500
|
2014-02-28 23:15:28 +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 |
|
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 |
|
Adam J. Gamble
|
579a429c3b
|
change unload order
|
2014-01-28 17:20:08 +00:00 |
|
Vladimir Agafonkin
|
bce7c49c17
|
Merge pull request #2377 from Leaflet/accel
Smarter hardware acceleration
|
2014-01-28 03:22:31 -08: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
|
9020f4d41e
|
greatly simplify zoom animation calculations - finally!!!
|
2014-01-15 17:15:52 +02:00 |
|
Vladimir Agafonkin
|
6d5fe1f724
|
a bit cleaner zoom anim logic
|
2014-01-13 20:54:13 +02:00 |
|
Vladimir Agafonkin
|
b5569dd0c3
|
never stack transforms, simpler grid layer anim, ref #1705
|
2014-01-10 19:11:59 +02:00 |
|