Bug fixes
- Fix build toolchain to reflect uglifyjs upgrade from v2 to v3 (by @ivansanchez)
1.7.0 (2020-09-03)
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)