Commit Graph

4198 Commits

Author SHA1 Message Date
Nathan Cahill
1462f7e538 correct TileLayer constructors in debug (#4498) 2016-04-25 08:43:01 +02:00
Matthew Brener
b4045f05fd Remove spec.hintrc.js (#4499) 2016-04-25 08:42:25 +02:00
Nathan Cahill
4ad74d879d correct DragEndEvent event type (#4491)
DragEndEvent has a distance property
2016-04-22 20:51:55 +02:00
Nathan Cahill
c5ae732b7d correct ResizeEvent event type (#4490) 2016-04-22 20:48:07 +02:00
Nathan Cahill
3fc3a4d1c5 fix inconsistency in GeoJSON event class name (#4489) 2016-04-22 21:21:31 +03:00
Mikael Korpela
b544d5e503 Remove images from Bower's main field (#4481)
https://github.com/bower/spec/blob/master/json.md#main
2016-04-22 18:28:25 +03:00
Jan Pieter Waagmeester
02078c2b39 Make sure L.Control.removeLayer() doesn't raise an error if a layer not in the control is removed from it (#4487) 2016-04-22 16:11:22 +02:00
Nathan Cahill
269eabc490 fix typo in PosAnimation docs (#4482) 2016-04-21 20:20:06 +02:00
Nathan Cahill
2b52369fac Add CRS.distance docstring (#4466)
* add CRS.distance docstring

* add CRS.distance return values
2016-04-20 20:57:06 +02:00
Yuzo Matsuzawa
442d710b51 Fix typo in L.Draggable docstring (#4471) 2016-04-20 17:56:29 +02:00
Nathan Cahill
1eafc015c1 create points from objects with x and y properties (#4465) 2016-04-20 17:05:31 +02:00
Iván Sánchez Ortega
ddf8f0575e Leafdoc: fix internal links & inconsistent return types (#4469)
* Leafdoc: fix internal links & inconsistent return types

* an -> a
2016-04-20 16:29:08 +02:00
Iván Sánchez Ortega
71a1e8513b Update notes about contributing to the API docs (#4470)
* Update notes about contributing to the API docs

* Reworded leafdoc + gh-pages stuff.
2016-04-20 13:31:13 +02:00
Iván Sánchez Ortega
c3426d6bb6 docstring fixes regarding Polyline/Circle options 2016-04-20 09:48:53 +02:00
Nathan Cahill
86e49f92ff fix Util.template docstring (#4468) 2016-04-19 23:55:51 +02:00
Iván Sánchez Ortega
91fa757571 Add 'updateWhenZooming' option to L.GridLayer (#4462) 2016-04-19 16:36:10 +03:00
Nathan Cahill
3e8fcbda97 add option type for 'center' value (#4456) 2016-04-19 14:19:45 +02:00
Nathan Cahill
7347446c57 add LineUtil.clipSegment docstring (#4437) 2016-04-19 14:19:19 +02:00
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