John Firebaugh
01bede20d1
Fix indentation
2013-06-01 21:49:45 -07:00
Steve Kashishian
4c5b700e60
Prevent memory leak in removal of canvas layers
2013-05-30 14:39:03 -04:00
Vladimir Agafonkin
34dbfea015
Merge pull request #1713 from snkashis/circlemarker_loop
...
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-29 05:47:43 -07:00
Vladimir Agafonkin
6387f20206
update packages versions, minor jshinting
2013-05-29 12:10:19 +03:00
Steve Kashishian
c684fb4652
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-28 19:39:14 -04:00
Andrii Korzh
ef17f99708
Check object when LatLngBounds extend
...
When LatLngBounds extend, must check the extending object, because empty marker `L.marker().getLatLng()` got `undefined` and `obj[0]` got `TypeError`
2013-05-18 13:20:37 +03:00
Scooter Wadsworth
76e317d80c
smart tabs per contribution guidelines
2013-05-16 11:00:51 -06:00
Scooter Wadsworth
e0a44add0e
calculate x position with postion:relative and width/maxWidth
2013-05-16 01:14:04 -06:00
John Firebaugh
61745f4a30
Set correct initial zIndex on tile layer divs
...
Fixes #1683 .
2013-05-15 13:50:42 -07:00
mourner
d62ee9e5b3
make latest jshint happy, update deps
2013-05-13 22:57:01 +03:00
John Firebaugh
ade9c943ff
Popup-specific closeOnClick option
2013-05-10 15:22:03 -07:00
Vladimir Agafonkin
6f752d171b
simplify zoom anim a bit
2013-05-10 17:28:27 +03:00
Vladimir Agafonkin
47b299346f
fix TileLayer 404 errors off-world
2013-05-10 17:15:17 +03:00
Vladimir Agafonkin
c33a60485b
context-based off/fire fix
2013-05-10 17:12:46 +03:00
Vladimir Agafonkin
d58a237668
Merge pull request #1661 from spamdaemon/FIX_1654
...
Make sure events don't fire after listener is removed.
2013-05-08 02:54:38 -07:00
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
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
Vladimir Agafonkin
f3584ff527
add optional popup argument to Map closePopup
2013-05-03 16:16:25 +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
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
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
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
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
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
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
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
Vladimir Agafonkin
323245ffc3
define Leaflet as an AMD module as well, close #1364
2013-04-23 13:20:19 +03:00
Vladimir Agafonkin
b61b7b4757
don't scroll to top of the map on focus, close #1228 , close #1540
2013-04-23 11:57:42 +03:00
Vladimir Agafonkin
4f15e19d17
fix Popup autoPan regression
2013-04-22 19:23:14 +03:00
Vladimir Agafonkin
94098134a6
fix regression in Map hasLayer
2013-04-22 19:20:19 +03:00
Vladimir Agafonkin
113e55c62a
better property name
2013-04-22 18:24:55 +03:00
Vladimir Agafonkin
6fa08d31c6
prevent setView after geolocation if called stopLocate, close #747
2013-04-22 18:24:11 +03:00
Vladimir Agafonkin
557ebaad3c
cleanup, utilize factories more
2013-04-22 17:49:03 +03:00
Vladimir Agafonkin
29239891d8
minor cleanup
2013-04-22 17:20:34 +03:00