Andrew
c5391e3fbb
reset body margin to avoid scrollbars ( #5823 )
2017-10-04 16:33:04 +02:00
mynameisstephen
d2f6a6cdcd
Fire 'zoomlevelschange' when calling setMinZoom & setMaxZoom. ( #5230 )
...
* Fire 'zoomlevelschange' when calling setMinZoom & setMaxZoom.
* rename variables
* make sure 'zoomlevelschange' won't be fired unnecessarily
* fix enabling zoom control after changing zoom levels
* always fire `zoomlevelschange` if minZoom/maxZoom changed
* remove trailing spaces
2017-10-04 14:02:45 +02:00
Andrew
000f457fcb
Fix map styles in "Extending Leaflet" example ( #5819 )
...
* fix map height in extending example
* add html and body styles to tutorial_frame
* move js styles to css
* remove unnecessary styles from mobile/example.md
2017-10-04 00:04:01 +02:00
daverayment
11cbfa8095
Update DomPointer.js to revert typo ( #5817 )
...
Restore IE-specific pointerType check which was accidentally removed previously. Fixes #5798 .
2017-10-03 16:43:12 +02:00
Fabrizio
d9655a1e9a
Change Util.formatNum default to 6 decimals ( #5492 )
...
* Util.formatNum default to 6
Changed Util.formaNum default to 6 decimails.
Solved 0 decimals bug.
Added tests.
Can be useful for PR #5444
* Changed documentation
Changed documentation to 6 instead of 5
2017-10-02 18:36:59 +02:00
Andrew
78152c9804
Merge pull request #4506 from Leaflet/layer-id-public
...
Switch to public api for getting the layer id in debug
2017-10-01 19:16:45 +02:00
Andrew
3e3f9e89c4
[LayerGroup] Use eachLayer
for iterations over layers ( #5809 )
...
* [LayerGroup] use eachLayer method instead of for...in
* [LayerGroup] use eachLayer method in getLayers method
* [LayerGroup] use eachLayer method in onAdd & onRemove methods
* [LayerGroup] invoke method fix
- use `eachLayer` method instead of for...in
- add unit test for `invoke` method
* revert invoke method change
2017-09-30 16:58:10 +03:00
Andrzej
7e49242aa2
use run
alias instead of run-script
2017-09-29 17:13:44 +03:00
Andrzej
64825cef8f
avoid installing jake globally
...
Jake will be installed along with other devDependencies, so there is no need to install it one more time
2017-09-29 17:13:44 +03:00
Andrew
899bdd43de
Fix zoom when map container is scaled ( #5794 )
...
* fix zoom when container is scaled
* add map-scaled debug page
2017-09-29 17:11:14 +03:00
Michael Siadak
2a324b0b94
Add tileerror tests to GridLayer spec ( #5805 )
2017-09-29 17:04:48 +03:00
iH8
33415fcbab
New rollup config signature ( #5812 )
...
Adapted rollup configurations to new signature., ironed out some minor
inconsistencies between configurations and some syntax cleanup. Fixes
following warnings when running rollup:
(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
options.entry is now options.input
options.sourceMap is now options.sourcemap
options.dest is now options.output.file
options.format is now options.output.format
2017-09-29 17:01:24 +03:00
Lois
8a433a2272
Update documentation to change Haversines Formula to Spherical Law of… ( #5791 )
...
* Update documentation to change Haversines Formula to Spherical Law of Cosines
* update distance to
* reverse prior change
2017-09-24 12:51:14 +02:00
Arnaud Ferrand
37b9947d5b
Fix typo ( #5793 )
2017-09-21 16:28:21 +02:00
fpopa
e5a3d5ecc3
Correct documentation regarding bringToBack() ( #5788 )
2017-09-20 14:41:32 +02:00
Alexander Musienko
8ae4689a93
Null ref fix: ( #5736 )
...
TypeError: Cannot read property latLngToLayerPoint of null\n at NewClass.update (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7295:23 )\n at NewClass.setLatLng (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7256:8 )\n
2017-09-19 11:46:19 +03:00
Idan Entin
8bd5578860
Fix map not rendering when images has max-height. Fixes #5775 ( #5778 )
2017-09-19 10:03:21 +03:00
Andrew
7d6046709b
Fix TileLayer infinite error loop ( #5783 )
...
* fix eslint errors
* fix errorTileUrl comparison
* fix getting wrong attribute
2017-09-19 10:02:34 +03:00
Andrew
ca6025c8bd
[VideoOverlay] Fix adding css classes ( #5785 )
...
* fix VideoOverlay css classes
* fix eslint errors
2017-09-19 10:01:22 +03:00
CalvinWilliams1012
811cc7cf9c
Comment and changed back width, as I read it wrong
2017-09-12 08:52:06 +03:00
CalvinWilliams1012
b8c1e60424
Changed some examples from viewport length and width to percent.
2017-09-12 08:52:06 +03:00
Per Liedman
f90a55ec20
Adjust details
2017-09-11 20:01:40 +03:00
CalvinWilliams1012
5d0f7ae438
Changed zoom-level documentation to reflect function properly.
2017-09-11 20:01:40 +03:00
sybri
29b64940b8
Add plugins SpeechBubble ( #5768 )
...
* Add plugins
* Correct link
2017-09-11 13:42:34 +02:00
Roberto Soares
79e8bf724c
Add leaflet-offline plugin to the list ( #5722 )
2017-09-01 17:23:03 +02:00
Calvin Williams
b0e216aa54
Updated documentation for pad method to accurately reflect the function. ( #5748 )
2017-09-01 00:27:20 +02:00
Vladimir Agafonkin
88dd22cfe8
upgrade deps, fix indenting ( #5743 )
2017-08-31 08:58:42 +02:00
Sumit Kumar
4e8b30a379
updated features and added demo link ( #5742 )
2017-08-30 16:06:33 +02:00
Guillaume AMAT
6f1e9ce3d8
plugins: Replace the old Overpass plugin by its fork ( #5737 )
2017-08-28 22:10:20 +02:00
Michael Fenwick
0e36b948cd
Feature: optionally allow popups to not close on pressing Esc ( #5730 )
...
* add test for disabled popup ESC key functionality
* add closeOnEscapeKey default option for popup
* add ESC key condition to prevent map.closePopup
* fix variable indentation
* revert unnecessary mapPopup variable back to map._popup
* add 4 spaces of indentation to variables
2017-08-28 16:11:54 +02:00
Per Liedman
a5e03adb45
Store return value from wrapLatLngBounds ( #5715 )
...
Fixes #5536 .
2017-08-28 11:40:47 +03:00
Astrid
14a2e94c9d
Change two links to the GeoJSON Spec, because current links refer to an obsolete version. ( #5725 )
2017-08-28 11:40:11 +03:00
Dzwiedzminator
9b73d0da76
Update VideoOverlay.js ( #5731 )
...
* Update VideoOverlay.js
wrong keyword uses - className should be used instead
found this when testing new leaflet on ie8 - map doesn't load because of this
* Use DomUtil.addClass instead of modifying el.className
2017-08-28 11:38:56 +03:00
Andris Nolendorfs
819f1722af
Docstrings: Add event type DomEvent.stop ( #5733 )
2017-08-25 10:01:03 +02:00
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