Commit Graph

6405 Commits

Author SHA1 Message Date
Javier Jimenez Shaw
cbb89c1300 plugins: add Leaflet.Control.Layers.Tree (#5721) 2017-08-18 15:37:56 +02:00
James Collins
7730948cab Cancel http requests for outdated tiles (#5615)
* Cancel http requets for outdated tiles

* Don't cancel requests on stock android (see #137)
2017-08-15 17:46:28 +02:00
Per Liedman
c78e5583e0 Use same condition for adding as well as removing double tap listener (#5598)
Fixes #5588
2017-08-15 14:53:39 +02:00
Per Liedman
fe3a340f1c Remove warning alert in watch bundle (#5714) 2017-08-15 11:39:53 +02:00
Miguel Magalhães
d54ec5f04a Update LICENSE (#5713)
Update year range to 2017
2017-08-15 07:59:14 +02:00
Javier Jimenez Shaw
a03f41b296 doc wms: replace http://demo.opengeo.org/ with https://demo.boundlessgeo.com/ (#5712) 2017-08-14 11:29:53 +02:00
Per Liedman
1491de5acd Add documentation for PolyLine.closestLayerPoint (#5701) 2017-08-11 10:32:29 -07:00
Dave Leaver
5ce473bab6 Merge pull request #5709 from theashyster/fix-docs-spelling
Fix issues with spelling in documentation
2017-08-11 19:23:07 +12:00
Andris Nolendorfs
64992d233e Fixed a couple of issues with spelling in documentation 2017-08-11 10:15:12 +03:00
Jack Reed
147d86a203 adds leaflet-solr-heatmap to plugin directory (#5707) 2017-08-10 20:27:43 -07:00
Per Liedman
f1c37ac9a6 Add step to release checklist 2017-08-10 14:34:01 +02:00
Per Liedman
b9c066af4c Switch download link to version 1.2.0 2017-08-10 14:31:19 +02:00
Alessandro
5228a62a1c feat(Marker.Drag): autoPan implementation (#5651)
* feat(Marker.Drag): autoPan implementation

* Adjust autoPanSpeed to 10

* Add tests for marker drag
2017-08-09 14:18:13 +02:00
Per Liedman
b7cbcb39b8 No inertia if drag is stopped before ending the drag (#5690)
Fixes #5652.
2017-08-09 14:16:06 +02:00
Javier Jimenez Shaw
411ffcced9 'issue' does not work on github links, it is 'issues' (#5698) 2017-08-09 09:06:01 +02:00
Yohan Boniface
c63b014ff0 Merge pull request #5697 from jjimenezshaw/wrong-date-doc-index
Wrong release date leafletjs.com
2017-08-08 19:25:10 +02:00
Javier Jimenez Shaw
d6b05fa1ed fix release date 1.2.0 2017-08-08 19:15:18 +02:00
Oliver Heilig
2dc2e3e1fd Fix Missing Tiles Error #5381 While Maintaining Zoom Experience #5622 (#5634)
* Revert "On update set current tiles active to avoid pruning (#5381) (#5431)"

This reverts commit 1318b999ef.

* deleting incomplete tiles from _tiles collection
2017-08-08 16:38:34 +02:00
Per Liedman
5223528fcd [Plz merge] Release 1.2.0 (#5688)
* Add documentation on how to do a release

* Preliminary changelog for next release

* Preliminary blog post

* Modify version to 1.2.0

* Update changelog

* Add 1.2.0 reference

* Point to 1.2.0 docs

* Update hashes and latest version

* Update latest news

* Add 1.2.0 release date
2017-08-08 16:13:09 +02:00
Per Liedman
969add49a9 Bump version to 1.2.0 2017-08-08 15:46:32 +02:00
Jonathan Dumaine
f04d7a5fac Fix typo in docs/examples/zoom-levels (#5695)
"A leaflet map has a several ways"
2017-08-08 08:30:47 +02:00
Gherardo Varando
b51dfa3d61 Leaflet-CsvTiles plugin added to list (#5679) 2017-08-06 14:08:38 +02:00
Javier Jimenez Shaw
3803b090d4 add 'overflow-x: hidden' to .leaflet-control-layers-scrollbar (#5691) 2017-08-06 14:06:21 +02:00
john gravois
567f13a1a8 ensure copyright banner survives minification (#5682) 2017-08-06 10:47:25 +02:00
Per Liedman
54ce147f3d Throw if argument to addLayer is not actually a layer (#5689)
Fixes #5225.
2017-08-06 08:36:10 +02:00
ronikar
ce107a9f1b enable to pass simple array to the method setBounds (#5687) 2017-08-05 15:50:48 +02:00
Javier Jimenez Shaw
2dbda53cc3 remove comment in Control.Layers.js: TODO keyboard accessibility (#5684) 2017-08-03 15:36:57 +02:00
Javier Jimenez Shaw
50705e1f0d remove changes from PR #2171 (#5673) 2017-07-31 09:24:14 +02:00
Javier Jimenez Shaw
922593addb When a layer is repeated in Control.Layers, behavior is not consistent. (#5672)
* Check if the map has a layer after layers removal, not before.

* fix wrong layer to add

* do symetric code with removedLayers and addedLayers

* add unit test for repeated layers
2017-07-31 09:20:40 +02:00
Eyal Avidan
0d36e46dc6 VideoOverlay accept VideoElement (#5661)
* VideoOverlay accept VideoElement

Added the ability to pass an existing element, to support better integration with other libraries such as DashJS, and more customability in general.
Also, fixed some wrong documentation regarding VideoOverlay.

* Fix typo
2017-07-30 00:14:45 +02:00
Yohan Boniface
b675753422 Make L.LineUtil._flat public as L.LineUtil.isFlat (#5667)
Also, keep retrocompat for both L.LineUtil._flat and
L.Polyline._flat (<1.1).
2017-07-29 23:47:17 +02:00
ghybs
b090e88498 Docs(TileLayer): workaround leafdoc issue with @ symbol (#5669)
when used as a comment in docstring instead of as a directive start.
Simply replaced by "&commat;" as a workaround for now.
2017-07-29 15:59:25 +02:00
Per Liedman
0a6c500e58 Add test for extending L namespace 2017-07-27 11:03:52 +03:00
Vladimir Agafonkin
957f05da23 fix non-extendable objects regression of 1.1.0
Closes #5650 until we figure out a less hacky solution.
2017-07-27 11:03:51 +03:00
Yohan Boniface
eb9572800d Make L.Draggable._dragging "public" again (#5659)
To make Leaflet.Editable happy

See https://github.com/Leaflet/Leaflet.Editable/issues/130
2017-07-24 16:46:32 +03:00
will Farrell
887ad7dad3 Add Leaflet.Clipper Plugin (#5654) 2017-07-24 16:38:33 +03:00
songyumeng
b76400ceb6 Plugins: add SuperMap Leaflet (#5637)
* Plugins: add SuperMap iClient

* Plugins: add SuperMap Leaflet
2017-07-24 10:41:19 +02:00
Javier Jimenez Shaw
67e7114e00 Add plugin Leaflet.UTM to doc (#5633)
* add plugin Leaflet.UTM

* no dependencies
2017-07-18 17:25:57 +03:00
Bogdan Chadkin
b343cf7a58 Filter published files on npm (#5626)
* Filter published files on npm

For now not gzipped leaflet package is 23mb. There's weird 4mb file `.goutputstream-N6HL8X` and a lot other stuff which increases node_modules size. `files` field can fix this with specified whitelist.

* Remove npmignore
2017-07-18 17:25:28 +03:00
Brendan Ward
e446e45ea5 Add plugin: Leaflet.UTFGrid (#5639)
* Add Leaflet.UTFGrid

* fix demo link
2017-07-18 17:23:58 +03:00
ghybs
b5adde433e Merge pull request #5631 from thachhoang/debug-videooverlay
Remove reference to deps.js in L.VideoOverlay debug example
2017-07-15 06:37:48 +04:00
Thach Hoang
96fd15450b Remove reference to deps.js in L.VideoOverlay debug example 2017-07-14 21:46:42 -04:00
Kaveh
29d49bca1b Adds Leaflet.HtmlLegend to docs/plugins.md (#5628)
* Adds Leaflet.HtmlLegend to docs/plugins.md

* Adds link to demo.
2017-07-14 12:26:15 +02:00
Grigory Golikov
4ba642be78 Add Leaflet.River to plugins list (#5616) 2017-07-09 20:26:10 +02:00
Colby Rogness
caab168894 docs(quick-start): add warning to place CSS before JS to quick start example (#5610) (#5614) 2017-07-09 11:00:30 +02:00
PPete
900e4a740d new Demo-Urls of plugin (#5612)
* Update plugins.md

* Update plugins.md
2017-07-07 23:51:35 +02:00
Sven
170bdc8075 GeoJSON remark about the reversed coords (#5604)
* GeoJSON remark about the reversed coords

oh man, that took me a while of debugging

* Reword sentence on coordinate axis order somewhat
2017-07-05 09:34:14 +02:00
Tim
54a87e0902 addTo() can be called with a map or layer group. (#5600) 2017-07-03 11:18:02 +02:00
Tim
44122b632e LayerGroup parameter is optional (#5599) 2017-07-03 11:10:14 +02:00
jelhan
7a73e1d140 Fix(DomEvent): DomEvent.off should return this (#5601)
Was broken by 14c5f1602c.
2017-07-03 10:47:11 +02:00