Vladimir Agafonkin
dd47877154
removed translate3d(0,0,0) hack (seems unnecessary now)
2012-06-25 20:21:37 +03:00
Vladimir Agafonkin
dd80fc296e
fix typo in browser
2012-06-25 19:27:42 +03:00
Vladimir Agafonkin
2ac4a6d364
L.Browser and translate refactor and cleanup
2012-06-25 18:58:37 +03:00
Vladimir Agafonkin
99dd46b538
ensure drag is not fired after dragend, closed #555
2012-06-25 18:08:00 +03:00
Vladimir Agafonkin
4ce8d5f459
update build, cleanup
2012-06-25 17:10:01 +03:00
Vladimir Agafonkin
3f0f7d7ad4
Merge pull request #742 from shintonik/tilelayer-load-event-fix
...
TileLayer load event is only fired once
2012-06-25 07:07:00 -07:00
mourner
468cc5c5fa
minor cleanup
2012-06-25 11:56:38 +03:00
Vladimir Agafonkin
183bf50173
Merge pull request #750 from danzel/fix-unit-tests
...
Fix up the unit tests
2012-06-25 01:50:12 -07:00
Vladimir Agafonkin
1a598fe1b7
Merge pull request #751 from danzel/ie10
...
Minor fixups for IE 10 support
2012-06-25 01:48:00 -07:00
mourner
9eda0c8047
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/layer/Popup.js
2012-06-25 11:43:41 +03:00
mourner
ca9b96edde
Fix IE9 (and older) popup positioning
2012-06-25 11:42:51 +03:00
danzel
d8289081b8
Minor fixups for IE 10 support (Tested with Release Preview in a VirtualBox VM). Not sure if multi-touch support will work as I don't have a device.
2012-06-25 15:30:27 +12:00
danzel
61ce465134
Fix up the unit tests. Polyline.closestLayerPoint and noConflict were broken.
2012-06-25 12:16:46 +12:00
mourner
0479e24034
add autopanstart event to Map
2012-06-23 02:20:32 +03:00
mourner
76b0a1de5a
get rid of "unbounded" stuff (unprojection should always be unbounded)
2012-06-22 18:24:08 +03:00
mourner
d208f38a0a
update build
2012-06-22 17:32:53 +03:00
mourner
0b372dfa7c
Merge remote-tracking branch 'origin/master'
2012-06-22 16:11:12 +03:00
Vladimir Agafonkin
c7a97a2eba
Merge pull request #744 from danzel/animate-zoom-rename
...
Rename animateMarkerZoom to markerZoomAnimation to match other animation options.
2012-06-21 23:32:07 -07:00
danzel
7ec0563dac
When reuseTiles is enabled, don't remove and re-add tiles from the DOM, just mark them as off screen and reposition them as required. This performs slightly better.
...
google maps does this trick too. You can test by finding the tile container ("leaflet-layer" equiv), right click it and set "break on subtree modifications", this will cause a js break whenever a child node is added/removed from that node.
2012-06-22 16:20:06 +12:00
danzel
c92059324d
Position tiles without 3d transforms, this makes them faster (google maps does the same). The transforms for them (pan, zoom animation etc) happen on a parent node, this is unaffected.
...
If you run chrome with about:flags "Composited render layer borders" enabled you will see each tile is dark blue outlined when 3d positioned (meaning each is a render surface) and when not 3d positioned they are cyan outlined (tiles in a tiled composited layer), which renders faster.
Ref http://www.chromium.org/developers/design-documents/gpu-accelerated-compositing-in-chrome (very bottom)
2012-06-22 16:15:08 +12:00
danzel
640e447c7c
Remove unused variable. Don't set leaflet-tile-loaded multiple times when reuseTiles:true, don't fire tileload for blank images
2012-06-22 15:19:44 +12:00
danzel
a1afe37436
Rename animateMarkerZoom to markerZoomAnimation to match other animation options.
2012-06-22 09:36:01 +12:00
mourner
6b84fca47b
update changelog
2012-06-21 15:01:17 +03:00
mourner
c345f199ca
update build
2012-06-21 14:54:09 +03:00
mourner
46a2e3456d
Merge branch 'danzel-animate-zoom-tryagain'
2012-06-21 14:53:48 +03:00
mourner
02f167e29d
fix Marker zIndex on zoom animation
2012-06-21 14:52:13 +03:00
shintonik
6428baaa6b
bug fix: TileLayer load event was fired only once
2012-06-21 11:10:12 +02:00
danzel
4bc3455812
Fix canvas zooming
2012-06-21 12:05:45 +12: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
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
danzel
3dad24975b
Update hacky test so 1 does a full animation and 2 does just a single step of it for easier testing.
2012-06-20 16:24:43 +12:00
danzel
c94e6177db
Add another hack test and move the buttons around the right
2012-06-20 13:48:57 +12:00
danzel
7ff79590f8
Add a test page that emulates a buggy touch zoom on desktop browsers to allow debugging of transforms :)
2012-06-20 13:38:32 +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
Vladimir Agafonkin
c2ac35f245
Merge pull request #739 from Mr0grog/position-fixed
...
Add support for maps with position: fixed
2012-06-19 00:02:03 -07: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
Rob Brackett
a3d91156a2
Add support for maps with position: fixed
2012-06-18 18:11:27 -07: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