Improvements
- Add
use-credentials
CORS option toImageOverlay
andTileLayer
(#6016 by caleblogan) + unit tests (#6022 and #6027 by ghybs) - Clean up references to global
L
in source code (#6047 and #6048 by ghybs) - Allow reset of
Canvas
dashArray
option + support array type (#6200 by McBen)
Bug fixes
- Respect the
preferCanvas
option in all panes (#6019 by mjumbewu) - Do not fire
tileload
event if tile has emptysrc
(#6025 by cherniavskii) - Fix race condition when removing canvas before it has rendered (#6033 by louMoxy)
- Fix memory leak in canvas renderer (#6117 by aj8k)
- Fix dragging for CSS scaled map (#6055 by ghybs)
- Handle
Polygon
s with empty array ofLatLng
s (#6119 by BakuCity) - Fix view bounds calculation in geolocation event handler (#6140 by wladich)
- Fix error removing map and resizing window at the same time (#6160 by danzel)
- Stop pan key event when pan animation is in progress (#6231 by cherniavskii)
Docs & Web Site
- Use more explicit tiles in
Map panes
example (#6018 by ghybs) - Document parameter of
closestLayerPoint
method (#6060 by mattdsteele) - Update year ranges (#6076 by BakuCity)
- Use https everywhere for OSM links (#6082 by rzoller)
- Fix typo in
VideoOverlay.js
example docs (#6090 by zhuang-hao-ming) - Fix typo in
LatLng
docstring (#6138 by jieter) - Use https everywhere and get rid of mixed content warnings (#6151 by theel0ja)
- More accurate
Browser.retina
explanation (#6203 by JLuc) - Use link to official RFC 7946 GeoJSON spec (#6211 by ghybs)
ES6 / Rollup
- Add ES module build (#6021 by Rich-Harris)
Development workflow
- Move external dependencies to
node_modules
(#6028 by cherniavskii) - Remove
jake
dependency and use NPM scripts instead (#5828 by cherniavskii) - Update
ssri
dependency to5.2.2
(#6086 by cherniavskii) - Set div width for
getBoundsZoom
parameterinside
(#6192 by ghybs) - Fix unit tests for graphical browsers (#6199 and #6202 by ghybs)
- Run tests in Firefox graphical browser as part of CI (#5831 by cherniavskii)