R. Merkert
bbb7acb3f4
Make sure events don't fire after listener is removed.
...
This patch fixes a problem with a dangling event listener, which is
called even after it has been removed. This situation can occur when a
listener is removed during an even dispatch.
To fix this problem, the old action is replaced with a NOOP, so that
when the listener is being fired, it is not the old listener but the
NOOP.
2013-05-07 20:16:25 -04:00
Vladimir Agafonkin
68c45bc9fe
Merge pull request #1659 from karlnack/fix-ff-maxbounds
...
Update L.PosAnimation._transformRe to account for units (fixes #1658 )
2013-05-07 11:14:31 -07:00
Karl Nack
06842ef659
Fix transformRe ( fixes #1658 )
...
Allow optional units in the transformation matrix, the presence of which
causes maxBounds settings not to work in (at least) older versions of Firefox.
Also update the regex to match on numbers per W3 spec: "A number is either an
<integer> or zero or more decimal digits followed by a dot (.) followed by one
or more decimal digits." (from CSS Values and Units Module Level 3)
2013-05-07 11:57:38 -05:00
Vladimir Agafonkin
38c1164152
fix pan animation regression, close #1629
2013-05-07 11:44:28 +03:00
Vladimir Agafonkin
f9cd3b532d
Merge pull request #1650 from gumballhead/layers-by-id
...
Extend #1642 to include FeatureGroups and lookup by id.
2013-05-04 14:40:43 -07:00
Andrew Kirkegaard
44c1a594e1
removeLayer by id for FeatureGroups.
2013-05-04 16:24:02 -05:00
Andrew Kirkegaard
df2ef42fe4
getLayer by id.
2013-05-04 16:16:36 -05:00
Dan Dascalescu
5e0a4b59e6
Proposing grouping geocoding plugins under one heading
2013-05-04 02:34:41 -07:00
Vladimir Agafonkin
1451ea8a87
Merge pull request #1648 from dandv/patch-2
...
Improve documentation for geocoding plugins
2013-05-04 00:22:03 -07:00
Vladimir Agafonkin
71a03b904b
Merge pull request #1647 from dandv/patch-1
...
Fix some typos and link to the locate method
2013-05-04 00:21:12 -07:00
Dan Dascalescu
9efded6f50
Improve documentation for geocoding plugins
...
Will create a separate patch for grouping geocoding plugins together.
2013-05-03 19:56:43 -07:00
Dan Dascalescu
7edc17d2fa
Fix some typos and link to the locate method
2013-05-03 19:43:12 -07:00
Vladimir Agafonkin
f3584ff527
add optional popup argument to Map closePopup
2013-05-03 16:16:25 +03:00
Vladimir Agafonkin
b9764312f1
Merge pull request #1646 from leplatrem/patch-7
...
Add Leaflet.Snap plugin
2013-05-03 03:23:03 -07:00
Mathieu Leplatre
5e34ca6ea2
Clearer description of Leaflet.Snap purpose
...
Thanks @mourner!
2013-05-03 13:04:24 +03:00
Mathieu Leplatre
fc9d767789
Add Leaflet.Snap plugin
2013-05-03 12:55:35 +03:00
Vladimir Agafonkin
b0778e6695
Merge pull request #1644 from Didji/patch-2
...
Typo fix in reference.html
2013-05-03 02:53:45 -07:00
Vladimir Agafonkin
6f4b3ef576
Merge pull request #1645 from leplatrem/patch-6
...
Add Leaflet.GeometryUtil plugin
2013-05-03 02:53:23 -07:00
Mathieu Leplatre
2f6bcc358b
Add Leaflet.GeometryUtil plugin
2013-05-03 12:52:25 +03:00
Didji
410bc4b86e
Update reference.html
...
ie7 property's description in Browser section was "true for Internet Explorer 6." instead of "true for Internet Explorer 7."
2013-05-03 12:44:49 +03:00
Vladimir Agafonkin
f2d237b01c
Merge pull request #1617 from Leaflet/setview-anim
...
Control animation in setView/panTo/setZoom/fitBounds/etc.
2013-05-03 02:12:21 -07:00
Vladimir Agafonkin
c376354fc8
Merge pull request #1642 from gumballhead/master
...
hasLayer and removeLayer by id.
2013-05-03 02:06:52 -07:00
Andrew Kirkegaard
6ea5984dc6
hasLayer and removeLayer by id.
2013-05-02 22:26:54 -05:00
John Firebaugh
c9e2453eed
Bounds-check array access in Polygon#initialize
2013-05-02 16:17:04 -07:00
Vladimir Agafonkin
67c39d5ba8
Merge pull request #1637 from domoritz/patch-1
...
Link to actual heatmap.js for Leaflet page
2013-05-01 03:43:10 -07:00
Dominik Moritz
3608f5c0d9
Link to actual heatmap.js for Leaflet page
...
Also note that the implementation in heatmap.js supports large datasets.
2013-05-01 12:27:43 +03:00
Xelio
02b93b44e4
External baselayer changes should fire 'baselayerchange' instead of 'overlayadd'
...
'baselayerchange' event should fire with layer name(use object in _layers of L.Control.Layers) instead of only layer.
2013-05-01 14:30:57 +08:00
Dave Leaver
e032046119
Mention why aria-haspopup is required in the layers control
2013-05-01 08:24:19 +12:00
Vladimir Agafonkin
df72027401
accept true as a third setView argument for compatibility
2013-04-30 17:09:55 +03:00
Vladimir Agafonkin
5ab4d4a4be
minor cleanup
2013-04-30 17:08:10 +03:00
Vladimir Agafonkin
260a869da6
accept global animate option in setView
2013-04-30 17:06:16 +03:00
Vladimir Agafonkin
8d759e6c5e
clean up handlers and panes on map remove, close #1621
2013-04-30 16:51:51 +03:00
Vladimir Agafonkin
47dd2d9371
Merge pull request #1635 from danzel/master
...
Fix layers control on WinPhone8/IE10 Touch
2013-04-30 02:39:34 -07:00
danzel
87db54b65c
Make jshint happy
2013-04-30 15:32:36 +12:00
danzel
d18f6249b2
Add aria-haspopup to layers dialog, fixes it not working on WinPhone8/IE10 Touch devices. Fixes #1539
2013-04-30 15:31:08 +12:00
Xelio
f7e18a109c
L.Control.Layers: 'overlayadd' and 'overlayremove' event should also fire on external overlay changes.
2013-04-30 01:14:17 +08:00
Vladimir Agafonkin
4224b9a5ce
Merge pull request #1633 from stuporglue/divicon_0
...
Allow value of 0 in L.DivIcon's html parameter
2013-04-29 05:25:33 -07:00
Michael Moore
c1919087fa
Allow value of 0 in L.DivIcon's html parameter
2013-04-29 07:19:10 -05:00
Vladimir Agafonkin
8c7126af26
Merge pull request #1632 from tjoekbezoer/master
...
Issue #1631 : Fixed a bug on removeEventListener
2013-04-29 05:15:52 -07:00
Daan Mortier
c6620859e4
Updated patch for issue #1631 based on feedback
2013-04-29 13:03:05 +02:00
Daan Mortier
52498f1ef9
Issue #1631 : Fixed a bug on removeEventListener
...
Bugfix for issue #1631 where removeEventListener would throw when no event listeners are registered on the object.
2013-04-29 11:53:16 +02:00
Vladimir Agafonkin
b7807dcaa7
Merge pull request #1630 from danzel/gh-pages-fix
...
Mention that the baselayerchange event is fired on the map object. Fixes #1625
2013-04-28 23:27:02 -07:00
danzel
9245ceeb22
Mention that the baselayerchange event is fired on the map object. Fixes #1625
2013-04-29 10:24:10 +12:00
Vladimir Agafonkin
b31c9d50b8
add latlng to marker mouse events data, close #1613
2013-04-24 22:34:22 +03:00
Vladimir Agafonkin
f139eea41a
fix path canvas race condition, close #1615
2013-04-24 22:29:25 +03:00
Vladimir Agafonkin
ddabd1b445
wrap tile bounds when checking against layer bounds, close #1618
2013-04-24 22:26:52 +03:00
Vladimir Agafonkin
05bbb68cd8
rename zoom/panOptions to zoom/pan in setView options
2013-04-24 18:13:36 +03:00
Vladimir Agafonkin
9660f75642
update build
2013-04-24 17:10:59 +03:00
Vladimir Agafonkin
55d95d1362
options in view change methods, ability to turn on/off animation, closes #1616
2013-04-24 16:24:56 +03:00
Vladimir Agafonkin
c6e9702a08
fix bug that prevented tile loading during pan animation
2013-04-24 13:00:42 +03:00