Leaflet v1.7.0 Release Notes
Release Date: 2020-09-03 // over 3 years ago-
API changes
VideoOverlay
now can take amuted
option (#7071 by @ronikar)- The
featureGroup
factory method now takesoptions
, as theFeatureGroup
constructor (#7160 by @frogcat)
๐ Improvements
- ๐ Use passive event listeners for
touchstart
/touchend
events (#7008 by @yneet) - ๐ Better detection of
PointerEvents
-capable browsers inL.Browser
, and related changes toTap
,Drag
, andTouchZoom
handlers (#7010, (#7033, (#7036, (#7068, (#7195 by @johnd0e) - โ Add more browser profiles for the automated tests (#7115 by @johnd0e)
๐ Bug fixes
- ๐ Fix canvas renderer not clearing the canvas on some zoom transformations, was affecting opacity of items (#6915 by @chipta)
- ๐ Fix detection of passive events in
L.Browser
(#6930 by @Ivan-Perez) - ๐ Prefix MS-specific CSS style to prevent warnings (by @ivansanchez, kudos to @zachricha for #6960)
- ๐ Clean up
moveend
listener frommap.setMaxBounds
(#6958 by @simon04) - ๐ Fix wrong scope of
bind
call in ESM environments (#6970 by @shintonik) - Check that
closePopup
exists before calling it automatically (#6962 by @pke) - ๐ Fix exception when calling
layerGroup.hasLayer()
with wronglayerId
(#6998 by @johnd0e) - โ Remove
click
filter targeting Android 4.x browsers (#7013 by @johnd0e) - ๐ Fix touch zoom handler context (#7036 by @johnd0e)
- โ
Tests for
Bounds.overlaps()
andBounds.intersects()
(#7075 by @mondeja) - ๐ Fix event propagation in a popup's container (#7091 by @johnd0e)
- ๐ Fix tile flickering when
maxNativeZoom === maxZoom
(#7094 by @johnd0e) - ๐ Fix
GridLayer
's zoom-level loading algorithm (#7123 by @johnd0e) - ๐ Fix
tooltipAnchor
behavior for different tooltip directions (#7155 by @Istador)
๐ Docs & Web Site
- โก๏ธ Updated examples to use non-legacy Mapbox tiles, and related changes (#6905 by @riastrad) (#6922 by @danswick) (#6995 by @riastrad)
- ๐ Fix documentation for
Polyline.addLatLng()
(#6924 by @life777) - CRS tutorial: change link for UQM tool to an archived version (by @ivansanchez)
- ๐ Fixed minor spelling errors in documentation (#6850 by @flopp) (#6944 by @jieter)
- ๐ Fixed typo in panes documentation (by #6939 by @R4M80MrX)
- ๐ Fixed broken URL in quick-start example (#6982 by @ekbarber)
- ๐ Fix documentation for
map.setMaxBounds()
(#7001 by @johnd0e) - ๐ Fix tilt code in handler tutorial (#7014 by @vncntcltt)
- ๐ Fix instructions for using
jekyll
when building docs (#7014 by @vncntcltt) - โก๏ธ Update WMS servers in WMS tutorial (#7014 by @vncntcltt)
- Website constrast changes and minor cleanup (by @mourner)
- ๐ Fixed typo in WMS example (#7098 by @andreasnuesslein)
- ๐ Fix documentation for
divOverlay.getElement()
(#7111 by @mondeja) - ๐ Fix documentation for
Marker.shadowPane
(#7135 by @mi-v) - โก๏ธ Update URL about NPM in developer docs (#7161 by @iamtekson)
- ๐ Fix documentation for
Layer.removeFrom()
regardingLayerGroup
s (by @ivansanchez) - ๐ Fix documentation for
LatLngBounds.overlaps()
#7194 by @DerZade)