Commit Graph

6544 Commits

Author SHA1 Message Date
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
ghybs
241fb56701 Docstring(GridLayer): more explicit updateWhenIdle option (#5577)
* Docs(GridLayer): more explicit updateWhenIdle option

description, because "for better performance" is quite generic and might be understood in very different manners depending on the reader's point of view.

* Docs(GridLayer): improve updateWhenIdle option explanation

as per Perliedman's proposal.
2017-06-30 00:28:03 +02:00
Arne Schubert
748f65f119 Prevent using functions from the global scope with es6 (#5596)
* Prevent using functions from the global scope with es6

* check against static _dragging as requested by perliedman
2017-06-29 22:29:03 +02:00
Egon Steiner
d30f7aad35 return this instead of addOne in disableScrollPropagation (#5595) 2017-06-29 11:55:16 +02:00
cyrilf
0688693d3b Whitelist the jekyll-redirect-from (#5592) 2017-06-28 16:34:40 +02:00
ghybs
e02cb22bb8 Docs(ref-103): attempt to fix GitHub 404 error (#5587)
on reference-1.0.3.html page, for unknown reason?
See https://github.com/Leaflet/Leaflet/issues/5585
Using a dummy modification on the page, hopefully it might re-trigger a proper Jekyll build on that page?
2017-06-27 20:38:09 +02:00
Iván Sánchez Ortega
11d716f096 Fix headers for 1.1.0 docs 2017-06-27 15:03:58 +02:00
Iván Sánchez Ortega
90ac1a2077 Update some links to the 1.1.0 docs (#5586) 2017-06-27 15:00:25 +02:00
Per Liedman
28617f5b9b Update stable download for 1.1.0 2017-06-27 14:36:38 +02:00
ghybs
4a0bfb6e5e Docs(Popup+Tooltip): fix typo in bindPopup & bindTooltip (#5578)
methods description.
2017-06-27 14:17:24 +02:00
Per Liedman
f59d20d583 Fix post date 2017-06-27 13:46:43 +02:00
Per Liedman
a05c69135d Update news on index page 2017-06-27 13:45:34 +02:00