Commit Graph

1491 Commits

Author SHA1 Message Date
Vladimir Agafonkin
142bca022e Merge remote-tracking branch 'origin/master' 2012-07-03 11:08:44 +03:00
Vladimir Agafonkin
2f66e86479 Merge pull request #775 from danzel/fix-events
Events fixups
2012-07-03 01:05:55 -07:00
Vladimir Agafonkin
b0e03b3596 Merge pull request #774 from danzel/android4
Make the android hacks only happen for android 2 and 3.
2012-07-03 01:05:43 -07:00
danzel
4629a10f76 Fix up Events.off with the multi method, was removing all listeners as context is null and fn should be used instead (see .on code) 2012-07-03 11:49:25 +12:00
danzel
3674c11ae7 Line up FeatureGroup change with master 2012-07-03 11:49:18 +12:00
danzel
f6f060f28b Make FeatureGroup de-init events when removing a layer 2012-07-03 11:49:09 +12: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
914204f301 Need to do the shadow too 2012-07-03 09:44:30 +12:00
danzel
166746563c If 3d is disabled, hide everything during a zoom. You can set window.L_DISABLE_3D = true to force 3d off. 2012-07-03 09:12:14 +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
86363c1d54 update readme more 2012-07-01 16:10:29 +03:00
mourner
8a328e5439 update readme regarding pulls 2012-07-01 16:06:09 +03:00
mourner
28a21fd4c3 minor cleanup / refactoring, fix removeEventListener bug 2012-07-01 15:46:31 +03:00
mourner
9d260b1f24 update changelog 2012-06-30 15:11:38 +03:00
mourner
0f40da1cce merge events by Guiswa, minor cleanup/refactoring 2012-06-30 14:51:09 +03:00
mourner
fe198ce9e4 Merge branch 'master' of https://github.com/Guiswa/Leaflet into better-events 2012-06-30 13:16:51 +03:00
mourner
2f25c36222 update jasmine to 1.2.0 2012-06-30 13:13:02 +03:00
Aaron King
95ed9cdda2 Allow L.Mixin.Events.addEventListener() to accept a map in which the string keys represent one or more space-separated event types and the values represent a handler function to be called for the event(s).
Allow L.Mixin.Events.removeEventListener() to accept one or more space-separated event types. Omitting the fn parameter will remove all event handlers for the supplied event type(s).

Also allow L.Mixin.Events.removeEventListener() to accept a map where the string keys represent one or more space-separated event types and the values represent handler functions previously attached for the event(s).

Add unit tests for the above changes.
2012-06-29 16:14:41 -07:00
Vladimir Agafonkin
99cf3dc3b3 Merge branch 'master' of github.com:CloudMade/Leaflet 2012-06-29 15:57:31 +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
Vladimir Agafonkin
8288684dca Merge pull request #764 from IMAmuseum/master
Fix for fitBounds while using crs.Simple projection
2012-06-28 06:47:50 -07:00
Charlie Moad
4a9b87bdbb use abs val distance 2012-06-27 21:18:02 -04:00
Vladimir Agafonkin
a892ca6373 cleanup changelog 2012-06-27 11:31:48 +03:00
Vladimir Agafonkin
0830bb38dc fixed path setStyle in IE6-8, closed #641, updated build and changelog 2012-06-26 12:21:15 +03:00
Vladimir Agafonkin
5da6da99d4 Merge remote-tracking branch 'origin/master' 2012-06-26 11:48:59 +03:00
Vladimir Agafonkin
d292b16666 tidy up leaflet CSS 2012-06-26 11:48:43 +03:00
Vladimir Agafonkin
277a008e1e Merge pull request #758 from danzel/imageoverlay-zoom-support
Imageoverlay zoom support
2012-06-25 23:27:12 -07:00
danzel
7fc0b5a4d0 Remove the CSS hacks from the first go. 2012-06-26 11:18:49 +12:00
danzel
9a979dd6d9 ImageOverlay zooming support done proper! :) 2012-06-26 11:16:46 +12:00
danzel
b901708d31 Working on ImageOverlay zoom animation. This works but the image wobbles when it zooms some times. Will have another go with scale... 2012-06-26 11:16:45 +12:00
mourner
18557d890a update build and changelog, cleanup 2012-06-26 01:51:04 +03:00
Vladimir Agafonkin
4b2ccdd7fd Merge pull request #757 from stsydow/for_mourner
fixes NaN bug in scale control and spurios mousemove event
2012-06-25 15:32:34 -07:00
mourner
f7a65ffbd9 update changelog 2012-06-26 01:25:22 +03:00
Stefan Sydow
8aaac25b11 fix spurios mousemove event for Chrome on Win 2012-06-26 00:11:40 +02:00
Stefan Sydow
011bbb0906 fix NaN bug in scale control 2012-06-26 00:11:39 +02:00
mourner
a9b42fad6d update changelog, cleanup 2012-06-26 01:05:55 +03:00
Vladimir Agafonkin
784b9cc7cb Merge pull request #756 from danzel/master
Enable translate3d on all webkit3d browsers and a few comments
2012-06-25 14:37:30 -07:00
mourner
500848ef5c tilelayer bringToFront and bringToBack 2012-06-26 00:32:17 +03:00
mourner
ce06661534 marker update method 2012-06-26 00:21:58 +03:00
mourner
ed3176f18f path bringToFront and bringToBack 2012-06-26 00:16:46 +03:00
danzel
76897575f6 Comment on bottom positioning popups 2012-06-26 09:07:07 +12:00
danzel
3536e9e3cc Comment on why a work around is there 2012-06-26 09:07:07 +12:00
danzel
e5239d167d Ensure translate3d is used in all webkit3d browsers and note why. 2012-06-26 09:07:06 +12:00
mourner
58ec820ab1 add image overlay debug page 2012-06-25 23:46:12 +03:00
mourner
bbd3c93237 add ImageOverlay opacity, hide on zoom animation 2012-06-25 23:45:37 +03:00
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