Commit Graph

4337 Commits

Author SHA1 Message Date
Per Liedman
f3586fdbfc Merge pull request #4455 from Leaflet/build-version
Build scripts: stop using magic-string and use git rev as semver metadata
2016-04-19 12:48:07 +02:00
Iván Sánchez Ortega
ca01120227 Use git rev as semver metadata 2016-04-19 12:32:08 +02:00
Iván Sánchez Ortega
23890c5fa4 Skip a touch unit test on non-touch browsers 2016-04-19 12:21:01 +02:00
Iván Sánchez Ortega
acbc6d23a9 Sourcemaps: replace magic-string with source-map.SourceNode 2016-04-19 10:22:52 +02:00
Vladimir Agafonkin
a626826974 update deps and bump travis node version 2016-04-18 11:15:46 +03:00
Per Liedman
c22ee29d79 Bump version to 1.0.0-rc.1 (#4454) 2016-04-18 09:26:02 +02:00
Yohan Boniface
8e3e53319e 1.0.0-rc1 changelog (cf #4379) (#4383)
* First version of rc1 changelog (cf #4379)

* fixed changelog

typos, closed PR removed, contributor added

* Prettify and fix minor typos in rc1 changelog

* Mention #4396 in the CHANGELOG

* Add mention of #4371

* Add docs updates by nathancahill

* Add info on #4387

* Update date for 1.0-rc1

* Remove double PR reference for #4418
2016-04-18 09:14:37 +02:00
Iván Sánchez Ortega
032bce68f0 Merge pull request #4451 from nathancahill/patch-2
Remove duplicate Map.options.renderer
2016-04-16 20:47:16 +02:00
Nathan Cahill
c59bf6ad30 remove duplicate Map.options.renderer 2016-04-16 12:42:59 -06:00
Nathan Cahill
25d5a8119e remove duplicate maxBoundsViscosity option (#4449) 2016-04-15 23:53:41 +02:00
Nathan Cahill
46083ad881 add missing types to Map.createPane docstring (#4450)
Last one, hopefully.
2016-04-15 23:52:03 +02:00
Nathan Cahill
ede3246f4d fix typo in Map.getMaxZoom docstring (#4447) 2016-04-15 20:48:01 +02:00
Nathan Cahill
f060a832e8 add missing type to Map.getPixelWorldBounds (#4448) 2016-04-15 20:47:41 +02:00
Nathan Cahill
119c80fe94 fix typo in flyTo docstring options type (#4446) 2016-04-15 20:46:53 +02:00
Nathan Cahill
c09f83a1fb fix autoPanPadding typo in docstring (#4445) 2016-04-15 19:14:13 +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
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
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