Commit Graph

1665 Commits

Author SHA1 Message Date
Vladimir Agafonkin
2746cc843e add addTo method to ImageOverlay, GeoJSON, LayerGroup, Popup 2012-07-05 16:53:32 +03:00
Jan Pieter Waagmeester
0a98e75aba Fixed error after running spec: only remove spaces at head and tail now 2012-07-05 15:51:40 +02:00
Vladimir Agafonkin
00cb32c40c update changelog about API simplification 2012-07-05 16:50:00 +03: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
97f7da842d Merge branch 'master' of github.com:CloudMade/Leaflet 2012-07-05 16:23:55 +03:00
Vladimir Agafonkin
3e24ed5400 more work on simplified api 2012-07-05 14:45:06 +03:00
Vladimir Agafonkin
382ef5c0b2 spec cleanup 2012-07-05 12:54:40 +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
bdf2a814a2 Merge pull request #779 from danzel/divicon-innerhtml
Add an option to DivIcon to allow setting the innerHTML
2012-07-04 14:10:23 -07:00
danzel
15718ec58c Rename options.innerHTML to options.html 2012-07-05 08:46:18 +12:00
Vladimir Agafonkin
b2140e8d31 update build 2012-07-04 14:10:26 +03:00
Vladimir Agafonkin
5afbfa89d7 Merge pull request #777 from fr1n63/master
webkitTransitionEnd not firing fix
2012-07-04 04:02:34 -07:00
fr1n63
19b465eb0c Code conventions adherence 2012-07-04 11:13:57 +01:00
fr1n63
ef0505515d Code conventions adherence 2012-07-04 11:12:19 +01:00
fr1n63
85d6ce08c2 Code conventions adherence 2012-07-04 11:03:25 +01:00
fr1n63
e3b4c3446a Trying to remove the built files 2012-07-04 10:22:45 +01:00
fr1n63
d17bfc6e30 Removing the console log from Map.js, added mobileWebkit browser check to Transition.Native.js bug fix, reverted build files to mourners last revision 2012-07-04 10:14:06 +01:00
danzel
46a18ad348 Add an option to DivIcon to allow setting the innerHTML 2012-07-04 15:45:27 +12:00
fr1n63
7b6a2b8005 Seems to work, removed a lot of the over engineering, seems new version is more stable and deals with this fix better than the previous version did. 2012-07-03 16:30:53 +01:00
Vladimir Agafonkin
0d6749a3ac initial API simplification 2012-07-03 17:06:44 +03:00
fr1n63
9365e76169 First attempts at resolving the zoom bug - changes since v0.3 have rendered this fix useless - try again later 2012-07-03 15:01:56 +01:00
Vladimir Agafonkin
df6ea68438 update build and changelog 2012-07-03 11:12:22 +03:00
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