Leaflet v1.0.2 Release Notes

Release Date: 2016-11-21 // over 7 years ago
  • ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix CSS for marker shadows when max-width is already set (by @brunob, #5046).
    • ๐Ÿ›  Fix canvas redraw when style updates fill and/or weight (by @perliedman, #5034).
    • Prevent canvas from firing multiple mouseover events for same layer (by @perliedman, #5033).
    • ๐Ÿ›  Fixed a race condition when removing and adding L.Canvas vectors during a zoom animation (by @ghybs) #5011.
    • ๐Ÿ›  Fix zoom animation of ImageOverlay when CRS's Y axis is flipped (by @perliedman), #4993.
    • ๐Ÿ›  Fix encoding/decoding of GeoJSON FeatureCollections (by @IvanSanchez), #5045.
    • ๐Ÿ›  Fix minZoom/maxZoom late inizialization (by @IvanSanchez), #4916.
    • ๐Ÿ›  Fix styling of custom SVG markers by making stricter CSS selectors (by @jwoyame) #4597.
    • ๐Ÿ›  Fix order of mouseover/mouseout events on overlapping L.Canvas layers (by @perliedman), #5090.
    • ๐Ÿ›  Fix drag behaviour when a draggable marker is removed in mid-drag (by @IvanSanchez, #5063.
    • ๐Ÿ›  Fix L.Control.Layers.collapse() on initially uncollapsed layer controls (by @perliedman), #5131.
    • ๐Ÿ›  Fix blurriness of L.Tooltip by rounding up pixel coordinates (by @ashmigelski), #5089.
    • ๐Ÿ›  Fix click events on overlapping geometries when using L.Canvas (by @perliedman), #5100.

    API changes

    • โž• Add a sortLayers option to L.Control.Layers (by @IvanSanchez, #4711.
    • Implement bringToFront and bringToBack when using L.Canvas, plus preventing other canvas glitches (by @perliedman), #5115.
    • โž• Add minNativeZoom option to L.TileLayers. (by @bb-juliogarcia), #5088.

    ๐Ÿ‘Œ Improvements