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
FeatureCollection
s (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 overlappingL.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 toL.Control.Layers
(by @IvanSanchez, #4711. - Implement
bringToFront
andbringToBack
when usingL.Canvas
, plus preventing other canvas glitches (by @perliedman), #5115. - โ Add
minNativeZoom
option toL.TileLayer
s. (by @bb-juliogarcia), #5088.
๐ Improvements
- ๐ Improve performance when adding lots of
L.Path
s by refactoring away event logic (by @IvanSanchez) #5054)]. - ๐ Several minor documentation improvements by @Jmuccigr, @serdarkacka, @erickzhao, @IvanSanchez, @perliedman, @joukewitteveen.
- Code reorganization: Extensions for
L.Marker
andL.Map
no longer have a separate file (by @mourner). - โ Removed a duplicated unit test (@yohanboniface).
- Accesibility improvements (ARIA/screenreader related) on map tiles (by @patrickarlt) #5092.
- ๐ Fix CSS for marker shadows when