Leaflet v1.7.0 Release Notes

Release Date: 2020-09-03 // over 3 years ago
  • API changes

    • VideoOverlay now can take a muted option (#7071 by @ronikar)
    • The featureGroup factory method now takes options, as the FeatureGroup constructor (#7160 by @frogcat)

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘‰ Use passive event listeners for touchstart/touchend events (#7008 by @yneet)
    • ๐Ÿ‘ Better detection of PointerEvents-capable browsers in L.Browser, and related changes to Tap, Drag, and TouchZoom 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 from map.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 wrong layerId (#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() and Bounds.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