chore(deps): update dependency leaflet to v1.8.0 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.3
->1.8.0
Release Notes
Leaflet/Leaflet
v1.8.0
Compare Source
contextmenu
event simulation on mobile Safari by introducing a newTapHold
handler, replacing legacyTap
(#7026 by @johnd0e)DivOverlay
/Popup
/Tooltip
APIs (#7540 by @johnd0e)Popup
related options fromDivOverlay
toPopup
(#7778 by @Falke-Design)Tooltip
class fromleaflet-clickable
toleaflet-interactive
(#7719 by @Falke-Design)Map.closeTooltip
now requires a layer as argument (#7533 by @johnd0e)DomEvent.Pointer
) (#7059, #7084, #7415 by @johnd0e)dblclick
event simulation on touch devices (DomEvent.DoubleTap
) (#7027 by @johnd0e)disableClickPropagation
(#7439 by @johnd0e)Map
hasLayer()
andLayerGroup
hasLayer()
to require a layer as argument (#6999 by @johnd0e)Class.include
to not overwriteoptions
(#7756 by @johnd0e)Class.extend
to not modify source props object (#6766 by @johnd0e)Browser.touch
touch devices detection (#7029 by @johnd0e)font-size
relative to the map container. (You can change the font size onleaflet-container
to adjust it if needed.) (#7800 by @Chandu-4444)❇️ API changes
DivOverlay
/Tooltip
interactive
(#7531, #7532 by @johnd0e)openOn
,close
,toggle
functions toDivOverlay
(#6639 by @johnd0e)DomEvent.off(el)
to remove all listeners (#7125 by @johnd0e)false
toUtil.formatNum
/toGeoJSON
(#7100 by @johnd0e)autoPanOnFocus
toMarker
(#8042 by @IvanSanchez)referrerPolicy
toTileLayer
(#7945 by @natevw)playsInline
toVideoOverlay
(#7928 by @Falke-Design)getCenter
toImageOverlay
(#7848 by @Falke-Design)tileabort
event when aTileLayer
load is cancelled (#6786 by @dstndstn)crossOrigin
toIcon
(#7298 by @syedmuhammadabid)✨ Improvements
will-change
CSS property on tile images (#7872 by @janjaap)GridLayer.onAdd
(#7570 by @johnd0e)panInside
(#7469 by @daverayment)TileLayer
URL (#7216 by @lubojr)Tooltip
bound toImageOverlay
(#7306 by @IvanSanchez)mousemove
through Canvas to map if it has no layers (#7809 by @johnd0e)Layer
toControl.Attribution
(#7764 by @johnd0e)vmlCreate()
so that it does not expose closure toTypeError
(#7279 by @darcyparker)Control.Layers
by not relying on Browserandroid
andtouch
properties (#7057 by @johnd0e)Tooltip
by not relying on Browsertouch
checks (#7535 by @johnd0e)Browser
mutable for easier automated testing (#7335 by @bozdoz)div
withspan
inControl.Layers
container to fix an HTML validation error (#7914 by @tmiaa)🙌 Accessibility
Marker
to default torole="button"
&alt="marker"
for an improved screen reader experience (#7895 by @tmiaa)role="button"
for appropriate semantics on the<a>
layers control (#7850 by @Malvoz)outline
on focus for keyboard events (#7259 by @jafin)leaflet-container
for keyboard users (#7996 by @Malvoz)font-size
units for resizable text (#7800 by @Chandu-4444):hover
styles to:focus
as well (#7274 by @Malvoz)🐞 Bug fixes
Marker
jumping position while zooming in certain cases (#7967 by @Falke-Design)Tooltip
while dragging the map (#7862 by @Falke-Design)Class
prototype (#7459 by @Falke-Design)Tooltip
optionspermanent
&sticky
to work together (#7563 by @Falke-Design)locate
event listener (#7813 by @Falke-Design)Tooltip
bindTooltip
to unbind existent tooltip (#7633 by @Falke-Design)if
condition, to add zoom limits for Layer (#7609 by @vcoppe)GridLayer
redraw tiles after changingmaxNativeZoom
(#6443 by @cherniavskii)Popup
keepInView
if the map needs to panned over a long distance (#7792 by @Falke-Design)add/removePointerListener
(#7808 by @johnd0e)mousedown
event calling after draggingCanvas
map (#7781 by @johnd0e)console.warn
pollution (#7748 by @johnd0e)contextmenu
event default-preventing when there are >1 target candidates (#7544 by @johnd0e)Popup
-tip from firing on map. (#7541 by @johnd0e)Path.setStyle
before adding the layer to the map (#6941 by @NielsHolt)BoxZoom
after cancel with ESC (#7597 by @Falke-Design)noConflict
(#7855 by @Falke-Design)latLngToCoords
andlatLngsToCoords
not accepting array form of lat/lngs (#7436, by @Relkfaw)📝 Docs
zoomend
event (#7460 by @xeruf)false
toprefix
ofControl.Attribution
(#7814 by @Falke-Design)LayerGroup
inherit fromInteractive Layer
(#7763 by @johnd0e)Map.panInside
documentation (#7397 by @daverayment)Renderer
documentation to clarifytolerance
option is forCanvas
only (#7515 by @Hippl-Eric)propagate
argument (#7103 by @riffaud)🔧 Workflow
plugins.md
into many files for easier maintenance (#7805 by @Falke-Design)npm run serve
to serve docs on localhost (#7973 by @Falke-Design)master
branch tomain
(#7921 by @jonkoops)leaflet-include.js
fromdebug
samples (#7776 by @Falke-Design)🧪 Tests
Internet Explorer 11
(#7741 by @jonkoops)FirefoxNoTouch
(#7736, #7742 by @johnd0e)PhantomJS
from test suite (#7660, #7724 by @jonkoops).near
and.nearLatLng
usage (#7820 by @johnd0e)captureTimeout
andbrowserSocketTimeout
(#7856 by @Falke-Design)DomEvent
with unit tests (by @stephenspol in CoverDomEvent
with unit tests Leaflet/Leaflet#8088)DomUtil
with unit tests (#7547, by @LGNorris)v1.7.1
Compare Source
Bug fixes
v1.7.0
Compare Source
API changes
VideoOverlay
now can take amuted
option (#7071 by @ronikar)featureGroup
factory method now takesoptions
, as theFeatureGroup
constructor (#7160 by @frogcat)Improvements
touchstart
/touchend
events (#7008 by @yneet)PointerEvents
-capable browsers inL.Browser
, and related changes toTap
,Drag
, andTouchZoom
handlers (#7010, (#7033, (#7036, (#7068, (#7195 by @johnd0e)Bug fixes
L.Browser
(#6930 by @Ivan-Perez)moveend
listener frommap.setMaxBounds
(#6958 by @simon04)bind
call in ESM environments (#6970 by @shintonik)closePopup
exists before calling it automatically (#6962 by @pke)layerGroup.hasLayer()
with wronglayerId
(#6998 by @johnd0e)click
filter targeting Android 4.x browsers (#7013 by @johnd0e)Bounds.overlaps()
andBounds.intersects()
(#7075 by @mondeja)maxNativeZoom === maxZoom
(#7094 by @johnd0e)GridLayer
's zoom-level loading algorithm (#7123 by @johnd0e)tooltipAnchor
behavior for different tooltip directions (#7155 by @Istador)Docs & Web Site
Polyline.addLatLng()
(#6924 by @life777)map.setMaxBounds()
(#7001 by @johnd0e)jekyll
when building docs (#7014 by @vncntcltt)divOverlay.getElement()
(#7111 by @mondeja)Marker.shadowPane
(#7135 by @mi-v)Layer.removeFrom()
regardingLayerGroup
s (by @ivansanchez)LatLngBounds.overlaps()
#7194 by @DerZade)v1.6.0
Compare Source
API changes
GeoJSON.resetStyle
- allow invocation without an argument (#6663 by joukewitteveen)markersInheritOptions
option toL.GeoJSON
(#6866 by ghybs)Improvements
oldLatLng
coordinates toL.CircleMarker
move
event (#6719 by errnesto)Bug fixes
L.Util.formatNum
(#6668 by cherniavskii)className
option inSVGOverlay
andVideoOverlay
(#6679 by IvanSanchez)mousehover
throttle onmouseout
(#6749 by IvanSanchez)L.Path.setStyle
(#6728 by TheRealTorreySmith)dblclick
event when both Pointer Events and Touch Events are available (#6855 by filcab)Marker
when icon is not present (#6794 by BenTalagan)Docs & Web Site
L.Marker
docs sections (#6871 by chloe-mc)v1.5.1
Compare Source
v1.5.0
Compare Source
API changes
keepAspectRatio
option toVideoOverlay
(#6038 by ronikar)keydown
andkeyup
events to map (#6421 by OrBin)shadowPane
option toMarker
(#6460 by alexfig)L.SVGOverlay
class (#6517 by Zsavajji)getIcon
method toMarker
(#6457 by OsamaShabrez)Improvements
DivIcon
html
option accept Element (#6571 by oscar-sensornet)GeoJSON._setLayerStyle
(#6616 by johnd0e)openPopup
andopenTooltip
code (#6613 by johnd0e)Bug fixes
Control.Layers
radio buttons when using multiple maps (#6483 by jjimenezshaw)L.Util.formatNum
rounding precision (#6587 by inkstak)Marker
without icon (#6610 by charlie67)dblclick
event relate to left mouse button (#6628 by IvanSanchez)Docs & Web Site
toGeoJSON
'sprecision
argument (#6375 by rkatka)Events.off
method docs (#6619 by lancebendo)Layer
example (#6636 by billygarrison)Development workflow
v1.4.0
Compare Source
API changes
Map.panInside
method (#6054 by daverayment)Improvements
_drawnLayers
object (#6324 by ud09)TileLayer.setUrl()
when URL does not change (#6313 by JackNeus)section
instead ofform
in layers control (#6380 by hundekoerper)DomUtil.getClass
function (#6366 by Schleuse)Bug fixes
bringToFront/Back()
(#6389 by perliedman)autoPan
option when popup content gets updated while a panning animation is running (#6365 by Schleuse)Docs & Web Site
<tr>
(#6334 by mgred)v1.3.4
Compare Source
Improvements
cursor: grab
style (#6281 by Malvoz)Bug fixes
GridLayer
intoTileLayer
(#6264 by IvanSanchez)Canvas
dashArray
option (#6277 by IvanSanchez)webkitTransform
property, which broke transformations on certain Webkit browsers (#6290 by tuckergordon)Docs & Web Site
zoomControl
map option (#6254 by IvanSanchez)ImageOverlay
docs (#6266 by jgravois)v1.3.3
Compare Source
Bug fixes
module
field frompackage.json
(#6239)v1.3.2
Compare Source
Improvements
use-credentials
CORS option toImageOverlay
andTileLayer
(#6016 by caleblogan) + unit tests (#6022 and #6027 by ghybs)L
in source code (#6047 and #6048 by ghybs)Canvas
dashArray
option + support array type (#6200 by McBen)Bug fixes
preferCanvas
option in all panes (#6019 by mjumbewu)tileload
event if tile has emptysrc
(#6025 by cherniavskii)Polygon
s with empty array ofLatLng
s (#6119 by BakuCity)Docs & Web Site
Map panes
example (#6018 by ghybs)closestLayerPoint
method (#6060 by mattdsteele)VideoOverlay.js
example docs (#6090 by zhuang-hao-ming)LatLng
docstring (#6138 by jieter)Browser.retina
explanation (#6203 by JLuc)ES6 / Rollup
Development workflow
node_modules
(#6028 by cherniavskii)jake
dependency and use NPM scripts instead (#5828 by cherniavskii)ssri
dependency to5.2.2
(#6086 by cherniavskii)getBoundsZoom
parameterinside
(#6192 by ghybs)v1.3.1
Compare Source
Bug fixes
L.TileLayer
regression, which caused incorrect tile URLs (#6006 by ghybs)v1.3.0
Compare Source
API changes
tolerance
option toL.Renderer
instead of hardcoded tolerance for touch devices (#5922 by Muscot).Improvements
autoPan
option toL.Marker
(#5651 by alenaksu)closeOnEscapeKey
option toL.Popup
(#5730 by Mickyfen17)tileerror
tests toL.GridLayer
spec (#5805 by msiadak)eachLayer
method for iterations over layers inL.LayerGroup
(#5809 by cherniavskii)Util.formatNum
default to 6 decimals (#5492 by fminuti)zoomlevelschange
event when callingsetMinZoom
&setMaxZoom
(#5230 by mynameisstephen)L.TileLayer
'sgetTileUrl
method (#5822 by broncha)L.LayerGroup
accept options (#5792 by iH8)typeof
check tocheckDeprecatedMixinEvents
(#5901 by murb)addTo
static function toL.Handler
class (#5930 by cherniavskii)L.ImageOverlay
acceptsImageElement
(#5948 by ronikar)Bug fixes
L.VideoOverlay
, which caused map crash in IE8 (#5731 by Dzwiedzminator and #5785 by cherniavskii)_tiles
cache when they're aborted (#5634 by oliverheilig)L.TileLayer
infinite error loop (#5783 by cherniavskii)this._map
inL.Marker
'supdate
method (#5736 by dnepromell)L.ImageOverlay
className
option (#5830 by cherniavskii)L.TileLayer.WMS
when using Polar stereographic (#5618 by scaddenp)GridLayer
's_tileZoom
toundefined
instead ofnull
(#5888 by iH8)L.Map
'smap.flyTo
method to respectnoMoveStart
option (#5923 by iPrytz)touchZoom
is disabled (#5952 by cherniavskii)L.SVG
to reset size on remove from map (#5966 by ghybs)L.Marker
to setalt
attribute for img-based Icons only (#5979 by msiadak)Docs & Web Site
PolyLine.closestLayerPoint
(#5701 by perliedman)DomEvent.stop
event type to docs (#5733 by theashyster)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.