Commit Graph

6259 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
6dad7f3302 Add plugin Leaflet.Marker.Stack 2016-04-15 18:07:12 +02:00
Nathan Cahill
c10f405a11 switch options type from path to polyline for polygon and rectangle - fixes #4427 (#4444) 2016-04-15 17:22:51 +02:00
Per Liedman
ce9b9f58bd Don't prevent pointerdown if target is a form control (#4371)
* Don't prevent pointerdown if target is a form control.

* Add clarifying comment.

As per https://github.com/Leaflet/Leaflet/pull/4371#issuecomment-204815017
2016-04-15 16:10:51 +02:00
Yohan Boniface
a069c41dd7 Merge pull request #4441 from Leaflet/sheppard-zoom-topleft
Fix regression for default control position
2016-04-15 15:56:41 +02:00
Per Liedman
24d8be60ad Fix regression of control positions 2016-04-15 15:53:38 +02:00
Iván Sánchez Ortega
fcffa30737 Merge pull request #4387 from Leaflet/fix-disable-enable-drag
Make drag handler insensitive to order of handlers events
2016-04-15 15:33:55 +02:00
Iván Sánchez Ortega
5389d23e79 Add unit test for drag handler enable/disable bug (#4387) 2016-04-15 15:30:39 +02:00
Per Liedman
f3c80fdbdc Add comments 2016-04-15 15:29:24 +02:00
Per Liedman
e5dcb007c6 Add comments 2016-04-15 15:29:24 +02:00
Per Liedman
f05af08a2c Ignore simulated mouse events in Draggable.
Draggable handles touch events, and does not rely on
simualted mouse events; under some circumstances, it
even breaks on simualted events (see #4315).

This ignores any simulated events in the event handlers,
to just deal with the real events.

Close #4315.
2016-04-15 15:29:24 +02:00
Nathan Cahill
37532b33eb add missing type to setZIndex docstring in L.LayerGroup (#4428) 2016-04-15 13:31:52 +02:00
Nathan Cahill
755c7ed0c0 add missing docstring options for L.GeoJSON.latLngsToCoords() (#4429) 2016-04-15 13:31:15 +02:00
David Uvenman
864326610a Added click tolerance also for non-touch devices (#4396)
* Added option for click tolerance. This option is used as a threshold to determine if the user event should be considered a click or a drag.

* Updated docs for clickTolerance to state the correct default value.

* Added tests for click threshold
2016-04-15 10:18:50 +02:00
Nathan Cahill
978fdb5add fix typo in Browser.mobile docstring (#4434) 2016-04-15 09:42:37 +02:00
Nathan Cahill
1964f35ea4 correct return type in docstring of LatLngBounds.extend (#4430) 2016-04-15 09:30:21 +02:00
Nathan Cahill
70a208b088 correct return type in docstring of L.Point (#4431) 2016-04-15 09:27:05 +02:00
Nathan Cahill
f8a453dc3a add missing round parameter to Bounds.getCenter docstring (#4432) 2016-04-15 08:44:30 +02:00
Nathan Cahill
51e155483d change parameter type in docstring from |null to optional (#4433) 2016-04-15 08:42:34 +02:00
Nathan Cahill
4ff5b10a27 add docstrings for L.Control methods (#4435) 2016-04-15 08:29:30 +02:00
Nathan Cahill
5d2607a947 Add missing return type in docstring for Util.indexOf (#4436) 2016-04-15 08:27:10 +02:00
Nathan Cahill
5b67a2d093 fix DomUtil.getClass docstring (#4438) 2016-04-15 08:05:33 +02:00
Nathan Cahill
1db460ab2b correct docstring default value for L.ImageOverlay interactive (#4425)
Was true, should be false.
2016-04-14 19:39:42 +02:00
Iván Sánchez Ortega
d1ab25fc3d Merge pull request #4423 from nathancahill/patch-3
Correct docstring for L.TileLayer.WMS transparent option
2016-04-14 18:28:26 +02:00
Nathan Cahill
da614f9253 correct docstring for L.TileLayer.WMS transparent option
Fix copy/paste error from styles
2016-04-14 10:24:06 -06:00
Iván Sánchez Ortega
f59343a576 Added Leaflet.heat (why wasn't it already in the list?!) 2016-04-14 14:55:29 +02:00
Nathan Cahill
67c1370404 consistent return type with aliased method (#4418)
Evented.listens() returns a boolean, so hasEventListeners() will as well
2016-04-14 08:52:25 +02:00
Nathan Cahill
095003ac2a fix capitalization in L.GridLayer.getContainer() doc (#4419) 2016-04-14 08:51:06 +02:00
Iván Sánchez Ortega
1bfc6ad12a Merge pull request #4413 from grantHarris/gh-pages
Update plugin list to add leaflet-popup-angular and rename Leaflet Angular Control
2016-04-13 16:42:46 +02:00
Iván Sánchez Ortega
68b8f97b85 Merge pull request #4414 from domoritz/patch-2
Add anchors to control headings in 0.7 docs. Fixes #4412
2016-04-13 16:42:01 +02:00
Iván Sánchez Ortega
d62ff6f77f Merge pull request #4272 from pwilczynski/patch-1
Update clipsegment documentation
2016-04-13 16:39:32 +02:00
Dominik Moritz
e3f2a2d96c Add anchors to control headings. Fixes #4412 2016-04-12 11:09:19 -07:00
Grant Harris
4ae38e49bb Update plugin list to add leaflet-popup-angular and rename my previous Leaflet Angular Control to Leaflet Control Angular to reflect the name change of the project. 2016-04-12 09:17:14 -07:00
Zsolt Ero
63870f1c5b fitBounds round fix (#4402)
* fitBounds zoom snapping round fix

* fitBounds zoomSnap rounding fix
2016-04-11 16:16:51 +02:00
S. Andrew Sheppard
8258a3e3e7 update default position to match leafdoc
(indirectly fixes zoom control, which no longer has it's own default)
2016-04-08 14:34:01 -05:00
Iván Sánchez Ortega
b74cf171f8 Merge pull request #4404 from Leaflet/fix-4401
Fix regression when setting style of Path with canvas renderer
2016-04-08 17:50:13 +02:00
Per Liedman
593a553e64 Pass layer on when calling _updateDashArray
Add specs to verify intialization and setStyle with dashArray.
Close #4401.
2016-04-08 16:43:21 +02:00
Per Liedman
36b60b7c88 Round scale to avoid float rounding issues in fitBounds
Reverts _round() fix from b511c7bcc8.

Close #4395.
2016-04-06 22:58:00 +02:00
Dave Leaver
8c9759aa2f Change simple test case link to the Leaflet JS Bin 2016-04-05 16:04:46 +02:00
Vladimir Agafonkin
139340ecc7 remove silly personal links from the readme 2016-04-03 10:26:48 -07:00
Iván Sánchez Ortega
2d548af829 Add leafdoc comments for the 'crossOrigin' option in ImageOverlay, fixes #3646 2016-04-02 18:16:27 -07:00
Iván Sánchez Ortega
3305aa2b05 Added leafdoc comments for the 'zoomanim' event, fixes #2862 2016-04-02 18:16:11 -07:00
Per Liedman
4adba1256e Fix SVG dragging in IE and Edge.
Use correspondingUseElement as target for SVG.



Close #4359.
2016-04-02 18:15:39 -07:00
Iván Sánchez Ortega
f6334bddae Merge pull request #4292 from ghybs/patch-1
DOCS Stable added `tileerror` event
2016-04-02 21:23:43 +02:00
Zsolt Ero
928100f961 Workaround for flyTo bug
* test for flyTo start latlng == end latlng condition
* workaround for flyTo infinite loop
* expect for zoomend values

Close #4226
2016-04-02 21:12:40 +02:00
Iván Sánchez Ortega
a8e54b703f Replace 1.0 reference with Leafdoc-generated file
* Replaced 1.0 reference with Leafdoc-generated file

* Update reference-1.0.0.html to Leafdoc for 1.0.0-rc1
2016-04-02 21:09:19 +02:00
Iván Sánchez Ortega
a4a72ccb17 Finish @yohanboniface's job by replacing more 🍂s with @s 2016-04-02 20:50:27 +02:00
Jan Pieter Waagmeester
0bed05d537 Use array in L.Control.Layers to preserve layer order fixes #2086 2016-04-02 20:48:31 +02:00
Iván Sánchez Ortega
e083d41ff7 Merge pull request #4367 from Leaflet/fix-4023
Just keep _moveEnd inside requestAnimFrame. Close #4023.
2016-04-02 20:08:51 +02:00
Zsolt Ero
cd9c813ee6 Merge pull request #4377 from Leaflet/fix-get-bounds-fit-bounds
Round bounds size.
2016-04-02 19:56:52 +02:00
Per Liedman
b511c7bcc8 Round bounds size.
Bounds size should be in pixels, so round it to avoid
any floating point inaccuracies from projection.

Closes #4255.
2016-04-02 19:55:02 +02:00