Commit Graph

249 Commits

Author SHA1 Message Date
Vladimir Agafonkin
2109713511 fix iOS pinch-zoom regression and update build 2012-08-07 12:24:32 +03:00
Vladimir Agafonkin
9e89753c74 Remove Win/Meta key to zoom out binding, fix #869 2012-08-06 19:00:48 +03:00
Vladimir Agafonkin
0cca115ecb Fix map to not animate on resize by default 2012-08-06 13:36:52 +03:00
Vladimir Agafonkin
6f96435050 minor refactoring 2012-08-03 14:48:59 +03:00
Vladimir Agafonkin
e7f8a85836 Move tile layer transition to CSS, detect zoom transion end globally 2012-08-02 18:24:22 +03:00
Vladimir Agafonkin
96b759cb32 Remove android 2/3 hacks for TileLayer animation (we'll only support it for 4+) 2012-08-02 15:46:51 +03:00
Vladimir Agafonkin
10ffc863db Merge pull request #857 from ajbeaven/AnimatedInvalidateSize
Added option to animate pan on invalidateSize()
2012-07-31 01:11:27 -07:00
Andrew Beaven
2b27065c6b Added option to animate pan on invalidateSize() 2012-07-31 11:59:06 +12:00
Vladimir Agafonkin
4174390562 keyboard navigation cleanup, closes #646 #663 2012-07-27 15:10:17 +03:00
Vladimir Agafonkin
ccd6c2956f Merge branch 'master' of https://github.com/ericmmartinez/Leaflet into keyboard 2012-07-27 14:18:46 +03:00
Vladimir Agafonkin
cdfaad994f more TileLayer and Control.Layers zIndex improvements, #309 2012-07-27 12:32:24 +03:00
danzel
8667f357f2 Make zooming straight in at the bottom level do nothing rather than moving half a pixel across with odd sized windows (which makes the whole screen look blurry in chrome). We need floor rather than round otherwise we move 1px in each direction. 2012-07-26 13:58:44 +12:00
Vladimir Agafonkin
19ed1859bd fix no geolocation error handling 2012-07-25 19:51:51 +03:00
Vladimir Agafonkin
3c70e3cb3b removed scale dependency for copyWorldJump 2012-07-25 17:12:56 +03:00
Vladimir Agafonkin
55c35828a8 Fix jittery marker movement on pinch-zoom (removed position rounding) 2012-07-25 11:14:21 +03:00
Vladimir Agafonkin
183f36c1a9 improve pinch-zoom performance on mobile Chrome and Firefox 2012-07-25 11:13:36 +03:00
Vladimir Agafonkin
5a1e2a926f make zoom animation cancel the resize moveend trigger 2012-07-24 17:55:48 +03:00
mourner
d608222018 revert removing immediate option in reqAnimFrame 2012-07-20 21:34:21 +03:00
Vladimir Agafonkin
85b9baa41f slightly increase scroll-wheel-zoom responsiveness 2012-07-18 14:04:13 +03:00
jacobtoye
770d2c899f change second map mousedown to be mouseup 2012-07-16 15:34:55 +12:00
jacobtoye
661c6c6d1d Revert "change second mousedown to be mouseup"
This reverts commit 3b6f57e233.
2012-07-16 15:28:13 +12:00
jacobtoye
3b6f57e233 change second mousedown to be mouseup 2012-07-16 15:10:53 +12:00
Vladimir Agafonkin
bd1510cec4 improve panning inertia, fix animation easings on IE 2012-07-12 17:46:17 +03:00
Vladimir Agafonkin
275760352b remove accidental console.log 2012-07-12 15:54:44 +03:00
Vladimir Agafonkin
532ff7232d optimize map resizing 2012-07-12 15:53:58 +03:00
Vladimir Agafonkin
01e26a4cce add Map mouseup event 2012-07-12 15:48:44 +03:00
Jan Pieter Waagmeester
97e3d08dd5 Use L.DomUtil.addClass to add classes instead of direct attribute manipulation 2012-07-05 16:59:00 +02:00
Jan Pieter Waagmeester
f1480557af Merge branch 'master' of git://github.com/CloudMade/Leaflet 2012-07-05 15:45:28 +02:00
Jan Pieter Waagmeester
6096795c1c Fix regexp in DomUtil.removeClass to correctly remove spaces, use addClass in stead of manual class manimulation in Map.ZoomAnimation 2012-07-05 15:41:55 +02:00
Vladimir Agafonkin
16cdb668b2 merge simplify-api 2012-07-05 16:24:42 +03:00
Vladimir Agafonkin
3e24ed5400 more work on simplified api 2012-07-05 14:45:06 +03:00
Vladimir Agafonkin
7ea7b144f9 Merge pull request #759 from danzel/zoom-marker-hack-fix
Zoom Marker Hack Fix
2012-07-04 16:09:11 -07:00
Vladimir Agafonkin
0d6749a3ac initial API simplification 2012-07-03 17:06:44 +03:00
danzel
62061396cc Make the android hacks only happen for android 2 and 3. On 4 (and hopefully future version) actually seem to do everything correct (Tested in chrome and the native browser) 2012-07-03 10:23:22 +12:00
danzel
dc46ae2ae3 By default only enable markerZoomAnimation if the browser supports transition and 3d. Allows Browser.any3d=false hack to work again 2012-07-03 08:25:12 +12:00
mourner
50c6c480b4 add window and undefined to outer closure 2012-07-01 16:18:00 +03:00
mourner
28a21fd4c3 minor cleanup / refactoring, fix removeEventListener bug 2012-07-01 15:46:31 +03:00
mourner
0f40da1cce merge events by Guiswa, minor cleanup/refactoring 2012-06-30 14:51:09 +03:00
mourner
8d619899b0 refactoring, map getZoomScale and getScaleZoom, fix path zoom anim to take clip padding into account 2012-06-29 02:59:49 +03:00
mourner
9387db04c2 refactoring, cleanup, add Bounds.getBottomLeft and getTopRight 2012-06-29 01:47:30 +03:00
Charlie Moad
4a9b87bdbb use abs val distance 2012-06-27 21:18:02 -04:00
mourner
bbd3c93237 add ImageOverlay opacity, hide on zoom animation 2012-06-25 23:45:37 +03:00
mourner
76b0a1de5a get rid of "unbounded" stuff (unprojection should always be unbounded) 2012-06-22 18:24:08 +03:00
danzel
a1afe37436 Rename animateMarkerZoom to markerZoomAnimation to match other animation options. 2012-06-22 09:36:01 +12:00
mourner
46a2e3456d Merge branch 'danzel-animate-zoom-tryagain' 2012-06-21 14:53:48 +03:00
danzel
9cec6643f1 Use a generic class (leaflet-zoom-animated) instead of explicitly stating in the CSS what things are zoom animated. 2012-06-21 12:05:31 +12:00
danzel
6d725f02cd Change animateMarkerZoom to use a class/style rather than setting visibility directly. 2012-06-21 11:22:22 +12:00
danzel
df07bf0ae6 Use generic transform rather than webkit, should make this work on a win8 touch tablet, now I just need someone to give me one to test on :-) 2012-06-21 10:37:28 +12:00
danzel
f56682ef31 Add an option to the map: animateMarkerZoom (default true). Set to false and markers will disappear instead of animating when the zoom animation plays. 2012-06-20 16:49:29 +12:00
danzel
be9f96c645 Re-Add TouchZoom firing the zoomstart event 2012-06-20 16:48:35 +12:00