Andrew
2ce37c5771
Fix map pan when touchZoom is disabled ( #5952 )
...
* fix map pan when touchZoom is disabled
* add pinch-zoom for non-ie
* add fallback for FF
7 years ago
ghybs
33fcac5cbb
Docs(issueTemplate): use generic reference URL
...
relying on redirection to point to the latest reference page, instead of the hard-coded versioned one.
7 years ago
Unknown
cd910249d1
this._url keeps sources after _initImage VideoOverlay
7 years ago
songyumeng
e9ffabdd17
fix wms tilesize ( #5958 )
...
* fix wms tilesize as L.point
7 years ago
Unknown
575ced6e2c
this._url keep an url after _initImage
...
updated ImageOverlay and VideoOverlay
7 years ago
Jussi Mattas
f0c31c1691
Use more stable form of Haversine formula. ( #5935 )
...
* Use more stable form of Haversine formula.
The new form does not give a non-zero distance from a point to itself.
* Pre-compute sines which are used twice.
7 years ago
Vincent D
45b3e041d2
Removed markdown syntax in plugin description
7 years ago
Andrew
5cb9c22f51
Merge pull request #5947 from idawave/patch-1
...
Updated plugins file with L.DraggableEnhancer under ##Events
7 years ago
GeoportalPL
73bef08c55
Add WMTS plugin demo. ( #5945 )
7 years ago
Unknown
39c3bf7ed3
ImageOverlay accept ImageElement
7 years ago
Vincent D
9aaa8698dc
Updated plugins file with L.DraggableEnhancer under Events
7 years ago
GeoportalPL
abb14f0b8c
Add a plugin to add WMTS services ( #5943 )
7 years ago
germansokolov13
623fa6161e
Docs: add mouseup event to interactive layer ( #5941 )
7 years ago
Andrew
30d7b8997d
add addTo function to Handler ( #5930 )
7 years ago
Guillaume Rischard
b22ca31716
Optimised images. Saved 1.1 MB out of 9.7 MB. 22.3% per file on average (up to 62%) ( #5936 )
7 years ago
Iván Sánchez Ortega
67ab617f82
Tweak 'legacy' option in rollup config ( #5929 )
7 years ago
Andrew
047780659b
Merge pull request #5925 from andyyaldoo/patch-1
...
Docs: Update extending-1-classes.md
7 years ago
Andy Aldo Dharmawan
bc3a168de8
Update extending-1-classes.md
7 years ago
Per Liedman
1da6222cfb
Revert "Enable mouse events on multiple canvas renderers ( #5752 )" ( #5924 )
...
This reverts commit d6739c20c1
.
7 years ago
Isak Prytz
4c0c3acdd6
added check for noMoveStart option in map.flyTo ( #5923 )
...
* added check for noMoveStart option in map.flyTo
* added implicit false parameter to _moveStart when noMoveStart option is not set
* Shorten option check
* Fix typo :(
7 years ago
jaymmartin
d6739c20c1
Enable mouse events on multiple canvas renderers ( #5752 )
...
* Enable mouse events on multiple canvas renderers
* Style Fixes
* Define position before using it
7 years ago
Martin Palmér
1d8cc53408
#5921 Remove touch based click tolerance ( #5922 )
7 years ago
Andrew
127c023f18
Merge pull request #5918 from aaronplanell/master
...
Fix function _animateZoom if redirects in the middle of a transition (flyTo)
7 years ago
Aaron Planell Lopez
ceb41bca98
Fix function _animateZoom if redirects in the middle of a transition (flyTo).
7 years ago
iH8
abc3bf3027
Set _tilezoom to undefined instead of null ( #5888 )
...
* Set _tilezoom to undefined instead of null
Set _tilezoom to undefined instead of null
Fix for #5871 https://github.com/Leaflet/Leaflet/issues/5871
* add test
7 years ago
Andrew
a5a8f44ed2
update playground link ( #5910 )
7 years ago
Adel Shah
39245dced0
Updated building instructions ( #5908 ) ( #5911 )
7 years ago
Louis Pierrestiger
e04bb8bb1d
docstrings: renamed Zoom/Pan to zoom/pan ( #5905 )
7 years ago
Andrew
4a10843d8e
Merge pull request #5903 from briannaAndCo/master
...
Added Leaflet.Antimeridian to the plugin list.
7 years ago
landonbj
44e43fd5a8
Added Leaflet.Antimeridian to the plugin list.
7 years ago
Andrew
96164fcff0
Merge pull request #5901 from murb/patch-1
...
add typeof check to checkDeprecatedMixinEvents
7 years ago
Maarten Brouwers
52bd90c27c
add typeof check to checkDeprecatedMixinEvents
...
!L may result in a undefined error when running tests that also touch including a leaflet plugin.
7 years ago
Sandro Pibia
8e32e31ef8
Update plugins.md ( #5862 )
7 years ago
iH8
87f81bcb01
Make editors use source instead of minified ( #5887 )
...
Make editors use source instead of minified
7 years ago
Arne Schubert
875ed3dfe1
Add a link to YAGA leaflet-ng2 demos ( #5889 )
7 years ago
ghybs
cf518ff1a5
Fix(Map): stopLocate on map.remove ( #5893 )
...
so that Geolocation handlers (namely _handleGeolocationResponse and _handleGeolocationError) do not try to access DOM elements which have been cleared by map.remove().
Of course developer should currently call map.stopLocate() manually before map.remove(), but it looks like he/she may forget it.
Check for _locationWatchId is not perfect (watch may have been already stopped), but calling stopLocate again does not harm. It prevents trying to access the Geolocation API if locate had never been called, even though doing so should not harm either.
7 years ago
ghybs
8dbc4fc9d7
Docs(Map): typo on Map Geolocation watch option ( #5894 )
7 years ago
Per Liedman
0bcccb0190
An event target is considered a marker if it has getLatLng and no or small radius ( #5885 )
...
Fixes #5635 .
7 years ago
Alexander Musienko
50b77520b3
Stop animation before destroy map ( #5876 )
...
* Null ref fix:
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
* stop animation before destroy map
7 years ago
iH8
f6e1a9be91
Removed trailing spaces ( #5890 )
...
Removed trailing spaces
7 years ago
Per Liedman
c5cbbf8174
Clean up and document event propagation properties ( #5880 )
...
* Add sourceTarget and propagatedFrom to events
Also documents events' target, sourceTarget, propagatedFrom
and layer properties.
Fixes #4510 .
* Use propagatedFrom, which is equivalent of the original code
* propagetedFrom -> propagatedFrom
7 years ago
Evgeniy Voynov
ce1326912e
Added Leaflet.Canvas-Markers plugin ( #5870 )
7 years ago
scaddenp
118edb9a99
Fix for WMS on Leaflet when using Polar stereographic ( #5618 )
...
* Add new method to get NwSe.
Part of fix for https://github.com/Leaflet/Leaflet/issues/5617 for polar WMS systems. Added to bypass using an unsafe bounds object.
* Fix WMS getTileUrl for polar coordinates.
Part of fix for https://github.com/Leaflet/Leaflet/issues/5617 to fetch proper bbox coordinate on polar stereographic projections.
* Update TileLayer.WMS.js
* Update TileLayer.WMS.js
* Update GridLayer.js
* Update GridLayer.js
* Update TileLayer.WMS.js
* Updates to fix syntax/ style issues
Cut/paste error and buch of style stuff.
* Fix style errors
* More style issues
* Yet more style fixes
* More indentation complaints fixed
* Some more code style cleanup
* Even more code style / indentation
* Use bounds
7 years ago
iH8
59d1dea135
Removed master reference and standarized dates ( #5882 )
...
Removed master reference and standarized dates
7 years ago
Per Liedman
ca6aff0295
Add notes to classes which don't inherit Class ( #5878 )
...
* Add note about LatLng not inheriting Class
Fixes #3301 .
* Add note about LatLngBounds, Bounds, Point, CRSs and projections not inheriting Class
7 years ago
Andrew
0f5507d2a7
Add license to route ( #5879 )
7 years ago
Per Liedman
4bbec02d14
Add license to route
...
Fixes #2721 .
7 years ago
Andrew
c64ae48e1a
Merge pull request #5877 from Leaflet/document-custom-options-data
...
Clarify that any option keys can be used
7 years ago
Per Liedman
fb613bcaed
Clarify that any option keys can be used
...
Fixes #4001 .
7 years ago
Per Liedman
d9846d106b
Round pan offset towards zero ( #5858 )
...
* Add Point.trunc/_trunc
* Truncate pan offset instead of flooring
Fixes #5821
7 years ago