Leaflet v1.0.3 Release Notes
Release Date: 2017-01-23 // about 7 years ago-
๐ Bug fixes
- Avoid extra
L.Canvas
redraws on several scenarios (by @perliedman, #5250, also thanks to @manubb for investigation and PR). - ๐ Fix behaviour of
dblclick
events in Chrome 55 due toPointerEvent
s (by @IvanSanchez, #5185, #5248, #5268). - ๐ Fix a dangling comma making IE8 fail to parse the code (by @batje, #5270).
- ๐ Backport event handling fixes from #5054 into
L.SVG.VML
for IE8 (by @IvanSanchez, #5215). - ๐ Fix a race condition when closing popups during their
popupopen
event (by @hagai26, #5202). - ๐ Fix
getBoundsZoom
return value on CRSs with a flipped axis (by @computerlove, #5204). - Avoid infinite loops when the
errorTileUrl
of aL.TileLayer
returns 404 (by @IvanSanchez, #5177). - โ Remove erroneous initialization of unused event listeners (by @Brikky, #5160).
- ๐ Fix rounding of
L.Canvas
redraw areas to avoid artifacts during partial updates (by @Ernie23, #5148). - ๐ Fix
isPopupOpen()
behaviour ofL.Layer
when no popup is bound to a layer (by @gvangool, #5106). - โ Add a sanity check in
LatLngBounds.contains()
to allow for non-instantiatedLatLng
objects (by @IvanSanchez, #5135). - ๐ Fix collapsing of
L.Control.Layers
when thecollapse
option isfalse
(by @perliedman, #5131).
API changes
- โ Added a new
WrapLatLngBounds
method toL.CRS
, to fix an issue withmaxBounds
ofGridLayer
s (by @IvanSanchez, #5185, also thanks to @DiogoMCampos for investigation). L.Map.getSize()
will now return0
instead ofNaN
in non-graphical environments (by @ughitsaaron, #5209).
๐ Improvements
- ๐ Several minor documentation improvements by @IvanSanchez, @jieter, @alonsogarciapablo, @jasonoverland, @danzel, @ghybs, @Ralf8686, @geoloep
- โ Add an
alt
attribute to the<img>
s of marker shadows (by @topicus, #5259).
- Avoid extra