danzel
|
6d725f02cd
|
Change animateMarkerZoom to use a class/style rather than setting visibility directly.
|
2012-06-21 11:22:22 +12:00 |
|
danzel
|
106228647e
|
Only do Marker/Path zoom animation if options.zoomAnimation is on (Aka we are doing the zoom animation), be pointless otherwise ;)
|
2012-06-21 11:15:02 +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 |
|
mourner
|
6713200642
|
Fix panning animations in Firefox/Opera
|
2012-06-20 11:01:03 +03: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 |
|
danzel
|
92f9541f9d
|
Correct the translate+scale code in Path.SVG so that it works correctly for transitions. THIS FIXES TOUCHZOOM WOO!!!
|
2012-06-20 16:26:00 +12:00 |
|
mourner
|
ff47132527
|
move private method into correct place
|
2012-06-19 17:25:07 +03:00 |
|
mourner
|
45d9421417
|
refactoring, fix autopanning bug
|
2012-06-19 16:38:40 +03:00 |
|
danzel
|
8d605a0f8d
|
rename _zooming inside Path to _pathZooming so it has a different name to _zooming in Map.TouchZoom. Minor other tidy ups.
|
2012-06-19 15:11:41 +12:00 |
|
danzel
|
289071fa5c
|
Fix up TouchZoom SVG zoom handling AGAIN. This works, but if you do some weird movements (two finger scroll on iPad) it makes the animation get weird.
|
2012-06-19 11:59:58 +12:00 |
|
danzel
|
bda2a8a2bc
|
Add zooming animation support to Path.Canvas layers also.
|
2012-06-19 11:12:29 +12:00 |
|
danzel
|
0556e73c3f
|
Path.SVG needs to keep track of when a zoom is going on and not redraw while it is happening or the animation will get messed up
|
2012-06-19 10:38:32 +12:00 |
|
danzel
|
60f4a70710
|
Make BackfaceVisibility generic.
|
2012-06-19 10:21:57 +12:00 |
|
danzel
|
063341c35e
|
Add L.Browser.opera3d, L.Browser.any3d and use it everywhere instead of testing each browsers 3d everywhere. Gives opera 3d support!
Not totally happy with L.Browser.any3d not being in the closure, but it works.
|
2012-06-19 09:49:44 +12:00 |
|
danzel
|
4b638bde42
|
Fix up TouchZoom free-zoom. 'zoomstart' event is abused a bit now, might need to fix that.
|
2012-06-19 09:20:36 +12:00 |
|
danzel
|
9bb49ac4e3
|
Fix merge issue
|
2012-06-19 09:20:35 +12:00 |
|
danzel
|
da475a9d23
|
Don't animate movement when zooming by touch. Still doesn't work right for touch.
|
2012-06-19 09:20:35 +12:00 |
|
danzel
|
b33d1f3231
|
Working towards making this work on touch browsers. Doesn't quite work yet but getting there.
|
2012-06-19 09:20:34 +12:00 |
|
danzel
|
c04020aa18
|
Remove remaining hacks from Map.ZoomAnimation and implement them properly (using events) in Marker and Popup.
|
2012-06-19 09:20:34 +12:00 |
|
danzel
|
1ac3a1ba59
|
Fix up Map.js zoomstart event
|
2012-06-19 09:20:33 +12:00 |
|
danzel
|
0b30a9b893
|
Move more zoom animation bits out to css
|
2012-06-19 09:20:33 +12:00 |
|
danzel
|
86596daa8f
|
Only do SVG zoomstart handling if we support 3d transforms
|
2012-06-19 09:20:32 +12:00 |
|
danzel
|
c42ce5992f
|
Code tidy up/compaction
|
2012-06-19 09:20:32 +12:00 |
|
danzel
|
d30d057968
|
Do major tidy ups on the SVG zoom animation, pretty certain that this is tidy now.
Conflicts:
src/map/anim/Map.ZoomAnimation.js
|
2012-06-19 09:20:31 +12:00 |
|
danzel
|
1fc674b58a
|
Fix up SVG zooming with firefox
|
2012-06-19 09:20:30 +12:00 |
|
danzel
|
6e1802a7db
|
Animate SVG layers when zooming
|
2012-06-19 09:20:30 +12:00 |
|
danzel
|
ccbd43f1e5
|
Animate popup boxes when zooming
|
2012-06-19 09:20:29 +12:00 |
|
danzel
|
6de02571a1
|
Only apply Path.SVG mobile Webkit hack for mobileWebkit
|
2012-06-19 09:20:29 +12:00 |
|
danzel
|
65fe7a8e5b
|
Position Popup using L.DomUtil.setPosition for Hardware Accel.
|
2012-06-19 09:20:28 +12:00 |
|
danzel
|
04bb46a053
|
Make Map.ZoomAnimation hack browser independant, works on firefox too :)
|
2012-06-19 09:20:28 +12:00 |
|
danzel
|
cc304bf212
|
Add gecko3d support to Browser/DomUtil
|
2012-06-19 09:20:27 +12:00 |
|
danzel
|
51fb9eeacf
|
Start on making markers animate when zooming rather than disappearing and reappearing. Currently implemented as a hack in Map.ZoomAnimation.
|
2012-06-19 09:20:27 +12:00 |
|
mourner
|
8fa1a0632e
|
Merge remote-tracking branch 'origin/master'
|
2012-06-18 12:10:37 +03:00 |
|
mourner
|
2e80cfd719
|
update build, some merges
|
2012-06-18 12:10:20 +03:00 |
|
Vladimir Agafonkin
|
a287a6f553
|
Merge pull request #638 from jacobtoye/PreventDefault
Prevent default action when opening layers control
|
2012-06-18 02:01:06 -07:00 |
|
Vladimir Agafonkin
|
9a1360b7e5
|
Merge pull request #701 from shramov/polyline-edit-fix
polyline: Fix old position of middle point
|
2012-06-18 01:56:50 -07:00 |
|
Vladimir Agafonkin
|
0858706837
|
Merge pull request #716 from twinbit/master
Add coordinates to "featureparse" event
|
2012-06-18 01:54:00 -07:00 |
|
danzel
|
21c7c0d7a5
|
Disable the continuous zoom animation on android as it doesn't work due to Androids issue with double translate.
|
2012-06-18 09:57:48 +12:00 |
|
danzel
|
dc9aa649a9
|
Performing a touch-zoom needs the transform the other way around, let it have its way...
|
2012-06-15 16:18:38 +12:00 |
|
danzel
|
4f07a167f1
|
Tidy up comments and remove console output
|
2012-06-13 14:34:37 +12:00 |
|
danzel
|
64ae71a4d2
|
Fix moving your mouse and zooming again before the fg layer has loaded. Previously the bg would get moved to the wrong location, now it moves to the correct location
|
2012-06-13 14:33:28 +12:00 |
|
danzel
|
e54bc27a18
|
When zooming, if the current foreground layer doesn't have many tiles and the current background layer does, keep the current background layer rather than swapping in the current foreground. Makes continuous zooming look more awesome, rather than going blank after 2 quick zooms. (Has a big of debug output to be cleaned up later)
|
2012-06-13 14:19:30 +12:00 |
|
Pavel Shramov
|
03a84a9a84
|
polyline: Don't reinitialize MarkerGroup
If updateMarkers is called without add/remove old
markers are removed but new don't appear on map
|
2012-06-12 16:16:34 +04:00 |
|
Pavel Shramov
|
cacf112494
|
polyline: Fix old position of middle point
When marker position changed and middle point is clicked (not dragged)
old coordinates are used for new point.
|
2012-06-12 16:16:34 +04:00 |
|
Paolo e Stefano Mainardi
|
4aed9ed533
|
Keep geometry object on "featureparse" event.
|
2012-06-04 03:15:59 +03:00 |
|
Paolo e Stefano Mainardi
|
0ca0f2275a
|
Add coordinates to featureparse event.
|
2012-06-04 03:04:38 +03:00 |
|
Pavel Shramov
|
95ae759632
|
polyline: Remove deleted marker from internal list
When marker is deleted from line it's left in internal _markers list.
|
2012-05-25 19:18:53 +04:00 |
|
mourner
|
3c8495b6f3
|
Fixed layers control in IE7, closed #652
|
2012-05-16 16:39:03 +03:00 |
|
Vladimir Agafonkin
|
13d861360f
|
Merge pull request #682 from cfis/tilesLoaded
Make sure TileLayer load event is fired
|
2012-05-15 16:15:34 -07:00 |
|