Leaflet v1.5.0 Release Notes
Release Date: 2019-05-08 // almost 5 years ago-
API changes
- ➕ Add
keepAspectRatio
option toVideoOverlay
(#6038 by ronikar) - ➕ Add support for
keydown
andkeyup
events to map (#6421 by OrBin) - ➕ Add
shadowPane
option toMarker
(#6460 by alexfig) - ➕ Add
L.SVGOverlay
class (#6517 by Zsavajji) - ➕ Add
getIcon
method toMarker
(#6457 by OsamaShabrez)
👌 Improvements
- ⚡️ Update attribution link to HTTPS (#6593 by WillSelway)
- 👉 Make
DivIcon
html
option accept Element (#6571 by oscar-sensornet) - 💅 Microoptimize
GeoJSON._setLayerStyle
(#6616 by johnd0e) - Reuse
openPopup
andopenTooltip
code (#6613 by johnd0e)
🐛 Bug fixes
- 🛠 Fix
Control.Layers
radio buttons when using multiple maps (#6483 by jjimenezshaw) - 🚚 Explicitly remove controls from the map on map unload (#6488 by IvanSanchez)
- 🛠 Fixed a bug where mouseover on Canvas-rendered polylines acted inconsistently (#6516 by IvanSanchez)
- Prevent tiles highlighting in IE11 (#6570 by VictorVelarde)
- 🛠 Fix
L.Util.formatNum
rounding precision (#6587 by inkstak) - 🛠 Fix crash, when setting opacity on
Marker
without icon (#6610 by charlie67) - 👉 Make synthetic
dblclick
event relate to left mouse button (#6628 by IvanSanchez)
📄 Docs & Web Site
- 📄 Minor spelling corrections in Docs/Tutorials (#6464 by ilyankou)
- Document
toGeoJSON
'sprecision
argument (#6375 by rkatka) - ➕ Add background color CSS declaration (#6614 by milesflo)
- 📄 Clarify
Events.off
method docs (#6619 by lancebendo) - 🛠 Fix
Layer
example (#6636 by billygarrison)
Development workflow
- ➕ Add