Commit Graph

4229 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
5cc9b79c97 docstrings: Refactor interactive layers, implements #4583 (#4585) 2016-05-25 10:57:18 +02:00
Iván Sánchez Ortega
d4ea41214d docstrings: minor links around. 2016-05-20 13:45:12 +02:00
Iván Sánchez Ortega
dd91852303 docstrings: Minor improvements to map panes and popup factory 2016-05-20 12:55:03 +02:00
Iván Sánchez Ortega
061fbd1ca6 Scale down getWheelDelta() in win+chrome and ffx+retina, should fix #4538 (#4557) 2016-05-20 10:21:59 +02:00
Per Liedman
fbc6265fb7 Fix when all listeners are removed during dispatch (#4555)
Close #4478.
2016-05-12 10:22:36 +02:00
Matthew Mueller
fb6b4776c6 Prevents L.DomUtil.create() from automatically setting the class name to 'undefined' when no class is sent to the function. (#4563) 2016-05-12 10:18:01 +02:00
Valentin Hervieu
5edeb408c0 Control.Layers._getLayer - Fix #4560 : _getLayer iterates too far on layers array (#4561) 2016-05-11 16:02:17 +02:00
Benjamin Becquet
4ca0133704 docstrings: fix typos and mistakes in L.GridLayer (#4559) 2016-05-11 15:05:20 +02:00
Benjamin Becquet
5aca1896b4 Add missing Leafdoc template files (#4558) 2016-05-11 14:19:53 +02:00
Iván Sánchez Ortega
03dc9697b6 Docstrings: non-standard WMS parameters as L.TileLayer.WMS options (#4531) 2016-05-11 10:47:31 +02:00
Jay Varner
1b405dc10e Classname gridlayers (#4553)
* Adding  option to TileLayers.

* Fix spacing.
2016-05-10 15:32:34 +02:00
Yohan Boniface
6e8ac31993 Fix setMaxBounds not resetting when passing null argument (#4494) 2016-05-09 15:12:51 +02:00
Nathan Cahill
88f5f234cd docstrings: uncomment maxZoom option in L.GridLayer (#4424)
Not sure why this was commented out in @IvanSanchez's doc fixes. It will be undefined regardless.
2016-05-09 13:15:59 +02:00
Nathan Cahill
875e1987b5 docstrings: uncomment crossOrigin option in L.ImageOverlay (#4426)
The check that's used later is `if (this.options.crossOrigin)`, which currently evaluates to undefined. Setting the default option to false keeps the typing consistent.
2016-05-09 13:15:19 +02:00
Nathan Cahill
e2de21481e docstrings: add missing parameters to L.Util.indexOf docstring (#4473) 2016-05-09 13:06:25 +02:00
Nathan Cahill
181022ffa7 docstrings: correct TileEvent and TileErrorEvent properties (#4492) 2016-05-09 13:02:12 +02:00
Nathan Cahill
faeb46b27c docstrings: add missing L.Map controls method docs (#4496) 2016-05-09 13:01:37 +02:00
Nathan Cahill
6d961d7eee add L.Control extension docs (#4513) 2016-05-09 12:56:26 +02:00
Iván Sánchez Ortega
cc3380f98e Tweaked values of getBoundsZoom unit tests (#4528) 2016-05-09 10:42:19 +02:00
Dian Jin
a6888ab13f getBoundsZoom fix for small size and padding and tests (#4532) 2016-05-09 10:39:14 +02:00
Nathan Cahill
fdc0063b01 correct gridlayer tile async example docs - fixes #4541 (#4543) 2016-05-06 09:06:35 +02:00
Yuzo Matsuzawa
4d490139bd Fix typo in L.Bounds docs (#4536) 2016-05-04 13:43:23 +02:00
Nathan Cahill
63f3c851ba correct docs for GeoJSON.onEachFeature (#4512) 2016-05-01 08:57:54 +02:00
Iván Sánchez Ortega
9bbfc6aefb Docstrings: Add a note about using locate() over plain HTTP (#4520) 2016-05-01 08:56:06 +02:00
Nathan Cahill
425fa13cb4 Various debug fixes (#4515)
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +03:00
Iván Sánchez Ortega
19f048110f Docstrings: linkify map.locate() 2016-04-27 16:06:21 +02:00
Iván Sánchez Ortega
4460bd74ad Minor typo in docstrings 2016-04-27 11:09:57 +02:00
Jan Pieter Waagmeester
4febc5d629 Replace for..in with standard for in L.Control.Layers, fixes #4508 (#4509) 2016-04-26 15:24:34 +02:00
Per Liedman
17ec366263 Fix retina logic when zoomReverse is enabled. (#4503)
Close #4399.
2016-04-25 21:30:59 +03:00
Nathan Cahill
8bfb37bbf4 consistent return if layer exists (#4504) 2016-04-25 20:03:08 +02:00
Nathan Cahill
a5cf6b9390 remove old CircleMarker options (#4497) 2016-04-25 15:54:02 +03:00
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