All Versions
48
Latest Version
Avg Release Cycle
89 days
Latest Release
348 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.8.0 Changes
April 18, 2022β οΈ Breaking Changes
- π Improve reliability of
contextmenu
event simulation on mobile Safari by introducing a newTapHold
handler, replacing legacyTap
(#7026 by @johnd0e) - Reorganize
DivOverlay
/Popup
/Tooltip
APIs (#7540 by @johnd0e)- Move
Popup
related options fromDivOverlay
toPopup
(#7778 by @Falke-Design) - Change
Tooltip
class fromleaflet-clickable
toleaflet-interactive
(#7719 by @Falke-Design) Map.closeTooltip
now requires a layer as argument (#7533 by @johnd0e)
- Move
- π Improve error / argument handling for event listeners (#7518 by @johnd0e)
- π Improve reliability of touch events simulation on non-touch devices (
DomEvent.Pointer
) (#7059, #7084, #7415 by @johnd0e) - π Improve reliability of
dblclick
event simulation on touch devices (DomEvent.DoubleTap
) (#7027 by @johnd0e) - π Improve reliability of
disableClickPropagation
(#7439 by @johnd0e) - π Improve
Map
hasLayer()
andLayerGroup
hasLayer()
to require a layer as argument (#6999 by @johnd0e) - π Fix
Class.include
to not overwriteoptions
(#7756 by @johnd0e) - π Fix
Class.extend
to not modify source props object (#6766 by @johnd0e) - π Improve
Browser.touch
touch devices detection (#7029 by @johnd0e) - Get rid of legacy Android hacks (#7022 by @johnd0e)
- Allow fonts to respect users' browser settings by making the
font-size
relative to the map container. (You can change the font size onleaflet-container
to adjust it if needed.) (#7800 by @Chandu-4444)
βοΈ API changes
- π Make
DivOverlay
/Tooltip
interactive
(#7531, #7532 by @johnd0e) - β Add
openOn
,close
,toggle
functions toDivOverlay
(#6639 by @johnd0e) - π Introduce
DomEvent.off(el)
to remove all listeners (#7125 by @johnd0e) - π Allow preventing round-off errors by passing
false
toUtil.formatNum
/toGeoJSON
(#7100 by @johnd0e) - β Add
autoPanOnFocus
toMarker
(#8042 by @IvanSanchez) - β Add
referrerPolicy
toTileLayer
(#7945 by @natevw) - β Add
playsInline
toVideoOverlay
(#7928 by @Falke-Design) - β Add
getCenter
toImageOverlay
(#7848 by @Falke-Design) - Fire a
tileabort
event when aTileLayer
load is cancelled (#6786 by @dstndstn) - β Add
crossOrigin
toIcon
(#7298 by @syedmuhammadabid)
β¨ Improvements
- π Improve memory footprint by removing
will-change
CSS property on tile images (#7872 by @janjaap) - π Improve reliability of icons path detection heuristics (#7092 by @johnd0e)
- π Improve performance of adding tiled sources by avoiding excessive updates in
GridLayer.onAdd
(#7570 by @johnd0e) - π Improve handling of edge cases in
panInside
(#7469 by @daverayment) - Minify marker icon SVG (#7600 by @rala72)
- π Allow template keys with spaces in
TileLayer
URL (#7216 by @lubojr) - π Improve behavior of
Tooltip
bound toImageOverlay
(#7306 by @IvanSanchez) - β Remove the gap between Popup tip and content dialog (#7920 by @Malvoz)
- π Fire
mousemove
through Canvas to map if it has no layers (#7809 by @johnd0e) - β Add print styles to prevent printers from removing background-images in controls (#7851 by @Malvoz)
- π Move attribution code from
Layer
toControl.Attribution
(#7764 by @johnd0e) - π¨ Refactor
vmlCreate()
so that it does not expose closure toTypeError
(#7279 by @darcyparker) - π Improve reliability of
Control.Layers
by not relying on Browserandroid
andtouch
properties (#7057 by @johnd0e) - π Improve reliability of
Tooltip
by not relying on Browsertouch
checks (#7535 by @johnd0e) - β
Make
Browser
mutable for easier automated testing (#7335 by @bozdoz) - Replace
div
withspan
inControl.Layers
container to fix an HTML validation error (#7914 by @tmiaa) - β Add a Ukrainian flag to default attribution πΊπ¦ (by @mourner in https://github.com/Leaflet/Leaflet/pull/8109)
π Accessibility
- 0οΈβ£ Increase default font sizes and decrease attribution transparency for improved legibility (#8057, by @mourner)
- π Improve accessibility of popup close button (#7908, by @Malvoz)
- 0οΈβ£ Auto pan to markers on focus by default for improved keyboard operability (#8042 by @IvanSanchez)
- β Add accessibility section to plugins guide (#7277 by @Malvoz)
- β‘οΈ Update
Marker
to default torole="button"
&alt="marker"
for an improved screen reader experience (#7895 by @tmiaa) - Set
role="button"
for appropriate semantics on the<a>
layers control (#7850 by @Malvoz) - Generally enable outlines for keyboard users by not stripping
outline
on focus for keyboard events (#7259 by @jafin) - Enable outlines on
leaflet-container
for keyboard users (#7996 by @Malvoz) - Multiple enhancements to popup's close button (#7794 by @Falke-Design)
- π Use relative
font-size
units for resizable text (#7800 by @Chandu-4444) - π
Apply
:hover
styles to:focus
as well (#7274 by @Malvoz) - Hide the decorative attribution separator from screen readers (#7969 by @Malvoz)
- π Make the disabled state of zoom controls available to screen readers (#7280 by @akshataj96)
- Hide the +/- characters in zoom controls from screen readers to prevent erroneous announcements (#7795 by @Falke-Design)
π π Bug fixes
- π Fix vector drift when dragging and immediately zooming (by @manubb @johnd0e @mourner in https://github.com/Leaflet/Leaflet/pull/8103)
- β¬οΈ Reduce the occurrence of glitches on rapid zoom (by @mourner in https://github.com/Leaflet/Leaflet/pull/8102)
- π Fix
Marker
jumping position while zooming in certain cases (#7967 by @Falke-Design) - π Fix opening / closing
Tooltip
while dragging the map (#7862 by @Falke-Design) - Break the reference to the options of the
Class
prototype (#7459 by @Falke-Design) - π Improve
Tooltip
optionspermanent
&sticky
to work together (#7563 by @Falke-Design) - Check if map container is still connected with Leaflet in
locate
event listener (#7813 by @Falke-Design) - π Fix
Tooltip
bindTooltip
to unbind existent tooltip (#7633 by @Falke-Design) - Correct
if
condition, to add zoom limits for Layer (#7609 by @vcoppe) GridLayer
redraw tiles after changingmaxNativeZoom
(#6443 by @cherniavskii)- π Fix
Popup
keepInView
if the map needs to panned over a long distance (#7792 by @Falke-Design) - π Tolerate wrong event names in
add/removePointerListener
(#7808 by @johnd0e) - Reset width & padding to prevent cascading CSS from breaking tile rendering (#6843 by @Spudley)
- Fix
mousedown
event calling after draggingCanvas
map (#7781 by @johnd0e) - β¬ Decrease
console.warn
pollution (#7748 by @johnd0e) - π Fix
contextmenu
event default-preventing when there are >1 target candidates (#7544 by @johnd0e) - Prevent click on
Popup
-tip from firing on map. (#7541 by @johnd0e) - π Fix error by calling
Path.setStyle
before adding the layer to the map (#6941 by @NielsHolt) - Reset
BoxZoom
after cancel with ESC (#7597 by @Falke-Design) - π Fix
noConflict
(#7855 by @Falke-Design) - π Fix popup appearance when content is empty (#8136, by @ansh-ag)
- π Fix
latLngToCoords
andlatLngsToCoords
not accepting array form of lat/lngs (#7436, by @Relkfaw)
π π Docs
- β Add a new Leaflet accessibility tutorial (#8081, by @Malvoz)
- β¬οΈ Upgrade Code of Conduct to Contributor Covenant v2 and improve its visibility (#7984 by @mourner)
- π Lint examples (#7827 by @mourner)
- β‘οΈ Update usability in Docs (#7982, #7703, #7950, #7906, #7907, #7696, #7816, #7345, #7815, #7948, #7901 by @Falke-Design, @avioli, @Malvoz, @fulldecent, @saerdnaer, @MxDui)
- βοΈ Typos / Fixes in Docs, Samples, ... (#7263, #7284, #7339, #7349, #7381, #7371, #7485, #7380, #7578, #7758, #7602, #7857, #7860, #7336, #7819 by @timgates42, @IvanSanchez, @ipovos, @elfalem, @BakuCity, @simon04, @user073, @Dev-Steven, @vanillajonathan, @aquelle-cp, @matkoniecz, @Falke-Design)
- Clarify
zoomend
event (#7460 by @xeruf) - β Add
false
toprefix
ofControl.Attribution
(#7814 by @Falke-Design) LayerGroup
inherit fromInteractive Layer
(#7763 by @johnd0e)- π Improve
Map.panInside
documentation (#7397 by @daverayment) - π Update
Renderer
documentation to clarifytolerance
option is forCanvas
only (#7515 by @Hippl-Eric) - β Add documentation for Event-Listener
propagate
argument (#7103 by @riffaud) - π Fix an issue with top padding on non-API pages (#8083, by @wyankush)
π§ Workflow
- π§ Split
plugins.md
into many files for easier maintenance (#7805 by @Falke-Design) - β Add Bundlemon to watch bundle size (#7934, #7983, #7905 by @jonkoops)
- β Add
npm run serve
to serve docs on localhost (#7973 by @Falke-Design) - π Rename
master
branch tomain
(#7921 by @jonkoops) - Upload files to AWS even if the file-size is the same (#7853 by @jonkoops)
- β Remove
leaflet-include.js
fromdebug
samples (#7776 by @Falke-Design) - π Lint adjustments (#7676, #7743, #7757 by @jonkoops, @mourner)
- π Simplify release process (#7711, #7854, #7727, #8039 by @mourner)
- π Simplify docs update process on release (#7730 by @mourner)
- β‘οΈ Update dependencies and add Dependabot config (#7455, #7653, #7677, #7725 by @jonkoops)
- π· Split main workflow into multiple parallel jobs (#7710 by @jonkoops)
- π· Run CI on Github actions (#7691, #7654, #7702 by @jonkoops)
- β Continue running tests even if one fails (#7723 by @jonkoops)
- β Add https://github.com/Leaflet/Leaflet/labels/blocker check to release process (#8019 by @Malvoz)
- β Remove all references of Bower (#7831 by @jonkoops)
- β Add GitHub Actions dependency tracking with Dependabot (by @nathannaveen in https://github.com/Leaflet/Leaflet/pull/8104)
β π§ͺ Tests
- π Improve unit tests organization (#7852, by @Falke-Design)
- β
Run tests on
Internet Explorer 11
(#7741 by @jonkoops) - β
Run tests on
FirefoxNoTouch
(#7736, #7742 by @johnd0e) - β¬οΈ Drop
PhantomJS
from test suite (#7660, #7724 by @jonkoops) - Simplify
.near
and.nearLatLng
usage (#7820 by @johnd0e) - Enforce forbid-only rule in the continuous integration (#7448 by @johnd0e)
- π» Increase
captureTimeout
andbrowserSocketTimeout
(#7856 by @Falke-Design) - β Added / update tests (#7790, #7147, #7721, #7461, #7126, #7451, #7450, #7447, #7438 by @Falke-Design, @johnd0e, @phloose)
- β Added missing Test-Spec-Files to index.html (#7845 by @Falke-Design)
- β
Cover
DomEvent
with unit tests (by @stephenspol in https://github.com/Leaflet/Leaflet/pull/8088) - β
Cover
DomUtil
with unit tests (#7547, by @LGNorris)
- π Improve reliability of
-
v1.8.0-beta.0 Changes
β οΈ Breaking Changes
- π Improve reliability of
contextmenu
event simulation on mobile Safari by introducing a newTapHold
handler, replacing legacyTap
(#7026 by @johnd0e) - Reorganize
DivOverlay
/Popup
/Tooltip
APIs (#7540 by @johnd0e)- Move
Popup
related options fromDivOverlay
toPopup
(#7778 by @Falke-Design) - Change
Tooltip
class fromleaflet-clickable
toleaflet-interactive
(#7719 by @Falke-Design) Map.closeTooltip
now requires a layer as argument (#7533 by @johnd0e)
- Move
- π Improve error / argument handling for event listeners (#7518 by @johnd0e)
- π Improve reliability of touch events simulation on non-touch devices (
DomEvent.Pointer
) (#7059, #7084, #7415 by @johnd0e) - π Improve reliability of
dblclick
event simulation on touch devices (DomEvent.DoubleTap
) (#7027 by @johnd0e) - π Improve reliability of
disableClickPropagation
(#7439 by @johnd0e) - π Improve
Map
hasLayer()
andLayerGroup
hasLayer()
to require a layer as argument (#6999 by @johnd0e) - π Fix
Class.include
to not overwriteoptions
(#7756 by @johnd0e) - π Fix
Class.extend
to not modify source props object (#6766 by @johnd0e) - π Improve
Browser.touch
touch devices detection (#7029 by @johnd0e) - Get rid of legacy Android hacks (#7022 by @johnd0e)
βοΈ API changes
- π Make
DivOverlay
/Tooltip
interactive
(#7531, #7532 by @johnd0e) - β Add
openOn
,close
,toggle
functions toDivOverlay
(#6639 by @johnd0e) - π Introduce
DomEvent.off(el)
to remove all listeners (#7125 by @johnd0e) - π Allow preventing round-off errors by passing
false
toUtil.formatNum
/toGeoJSON
(#7100 by @johnd0e) - β Add
autoPanOnFocus
toMarker
(#8042 by @IvanSanchez) - β Add
referrerPolicy
toTileLayer
(#7945 by @natevw) - β Add
playsInline
toVideoOverlay
(#7928 by @Falke-Design) - β Add
getCenter
toImageOverlay
(#7848 by @Falke-Design) - Fire a
tileabort
event when aTileLayer
load is cancelled (#6786 by @dstndstn) - β Add
crossOrigin
toIcon
(#7298 by @syedmuhammadabid)
β¨ Improvements
- π Improve memory footprint by removing
will-change
CSS property on tile images (#7872 by @janjaap) - π Improve reliability of icons path detection heuristics (#7092 by @johnd0e)
- π Improve performance of adding tiled sources by avoiding excessive updates in
GridLayer.onAdd
(#7570 by @johnd0e) - π Improve handling of edge cases in
panInside
(#7469 by @daverayment) - Minify marker icon SVG (#7600 by @rala72)
- π Allow template keys with spaces in
TileLayer
URL (#7216 by @lubojr) - π Improve behavior of
Tooltip
bound toImageOverlay
(#7306 by @IvanSanchez) - β Remove the gap between Popup tip and content dialog (#7920 by @Malvoz)
- π Fire
mousemove
through Canvas to map if it has no layers (#7809 by @johnd0e) - β Add print styles to prevent printers from removing background-images in controls (#7851 by @Malvoz)
- π Move attribution code from
Layer
toControl.Attribution
(#7764 by @johnd0e) - π¨ Refactor
vmlCreate()
so that it does not expose closure toTypeError
(#7279 by @darcyparker) - π Improve reliability of
Control.Layers
by not relying on Browserandroid
andtouch
properties (#7057 by @johnd0e) - π Improve reliability of
Tooltip
by not relying on Browsertouch
checks (#7535 by @johnd0e) - β
Make
Browser
mutable for easier automated testing (#7335 by @bozdoz) - Replace
div
withspan
inControl.Layers
container to fix an HTML validation error (#7914 by @tmiaa)
π Accessibility
- 0οΈβ£ Auto pan to markers on focus by default for improved keyboard operability (#8042 by @IvanSanchez)
- β Add accessibility section to plugins guide (#7277 by @Malvoz)
- β‘οΈ Update
Marker
to default torole="button"
&alt="marker"
for an improved screen reader experience (#7895 by @tmiaa) - Set
role="button"
for appropriate semantics on the<a>
layers control (#7850 by @Malvoz) - Generally enable outlines for keyboard users by not stripping
outline
on focus for keyboard events (#7259 by @jafin) - Enable outlines on
leaflet-container
for keyboard users (#7996 by @Malvoz) - Multiple enhancements to popup's close button (#7794 by @Falke-Design)
- π Use relative
font-size
units for resizable text (#7800 by @Chandu-4444) - π
Apply
:hover
styles to:focus
as well (#7274 by @Malvoz) - Hide the decorative attribution separator from screen readers (#7969 by @Malvoz)
- π Make the disabled state of zoom controls available to screen readers (#7280 by @akshataj96)
- Hide the +/- characters in zoom controls from screen readers to prevent erroneous announcements (#7795 by @Falke-Design)
π π Bug fixes
- π Fix
Marker
jumping position while zooming in certain cases (#7967 by @Falke-Design) - π Fix opening / closing
Tooltip
while dragging the map (#7862 by @Falke-Design) - Break the reference to the options of the
Class
prototype (#7459 by @Falke-Design) - π Improve
Tooltip
optionspermanent
&sticky
to work together (#7563 by @Falke-Design) - Check if map container is still connected with Leaflet in
locate
event listener (#7813 by @Falke-Design) - π Fix
Tooltip
bindTooltip
to unbind existent tooltip (#7633 by @Falke-Design) - Correct
if
condition, to add zoom limits for Layer (#7609 by @vcoppe) GridLayer
redraw tiles after changingmaxNativeZoom
(#6443 by @cherniavskii)- π Fix
Popup
keepInView
if the map needs to panned over a long distance (#7792 by @Falke-Design) - π Tolerate wrong event names in
add/removePointerListener
(#7808 by @johnd0e) - Reset width & padding to prevent cascading CSS from breaking tile rendering (#6843 by @Spudley)
- Fix
mousedown
event calling after draggingCanvas
map (#7781 by @johnd0e) - β¬ Decrease
console.warn
pollution (#7748 by @johnd0e) - π Fix
contextmenu
event default-preventing when there are >1 target candidates (#7544 by @johnd0e) - Prevent click on
Popup
-tip from firing on map. (#7541 by @johnd0e) - π Fix error by calling
Path.setStyle
before adding the layer to the map (#6941 by @NielsHolt) - Reset
BoxZoom
after cancel with ESC (#7597 by @Falke-Design) - π Fix
noConflict
(#7855 by @Falke-Design)
π π Docs
- β¬οΈ Upgrade Code of Conduct to Contributor Covenant v2 and improve its visibility (#7984 by @mourner)
- π Lint examples (#7827 by @mourner)
- β‘οΈ Update usability in Docs (#7982, #7703, #7950, #7906, #7907, #7696, #7816, #7345, #7815, #7948, #7901 by @Falke-Design, @avioli, @Malvoz, @fulldecent, @saerdnaer, @MxDui)
- βοΈ Typos / Fixes in Docs, Samples, ... (#7263, #7284, #7339, #7349, #7381, #7371, #7485, #7380, #7578, #7758, #7602, #7857, #7860, #7336, #7819 by @timgates42, @IvanSanchez, @ipovos, @elfalem, @BakuCity, @simon04, @user073, @Dev-Steven, @vanillajonathan, @aquelle-cp, @matkoniecz, @Falke-Design)
- Clarify
zoomend
event (#7460 by @xeruf) - β Add
false
toprefix
ofControl.Attribution
(#7814 by @Falke-Design) LayerGroup
inherit fromInteractive Layer
(#7763 by @johnd0e)- π Improve
Map.panInside
documentation (#7397 by @daverayment) - π Update
Renderer
documentation to clarifytolerance
option is forCanvas
only (#7515 by @Hippl-Eric) - β Add documentation for Event-Listener
propagate
argument (#7103 by @riffaud)
π§ Workflow
- π§ Split
plugins.md
into many files for easier maintenance (#7805 by @Falke-Design) - β Add Bundlemon to watch bundle size (#7934, #7983, #7905 by @jonkoops)
- β Add
npm run serve
to serve docs on localhost (#7973 by @Falke-Design) - π Rename
master
branch tomain
(#7921 by @jonkoops) - Upload files to AWS even if the file-size is the same (#7853 by @jonkoops)
- β Remove
leaflet-include.js
fromdebug
samples (#7776 by @Falke-Design) - π Lint adjustments (#7676, #7743, #7757 by @jonkoops, @mourner)
- π Simplify release process (#7711, #7854, #7727, #8039 by @mourner)
- π Simplify docs update process on release (#7730 by @mourner)
- β‘οΈ Update dependencies and add Dependabot config (#7455, #7653, #7677, #7725 by @jonkoops)
- π· Split main workflow into multiple parallel jobs (#7710 by @jonkoops)
- π· Run CI on Github actions (#7691, #7654, #7702 by @jonkoops)
- β Continue running tests even if one fails (#7723 by @jonkoops)
- β Add https://github.com/Leaflet/Leaflet/labels/blocker check to release process (#8019 by @Malvoz)
- β Remove all references of Bower (#7831 by @jonkoops)
β π§ͺ Tests
- simplify
.near
and.nearLatLng
usage (#7820 by @johnd0e) - β
Run tests on
Internet Explorer 11
(#7741 by @jonkoops) - β
Run tests on
FirefoxNoTouch
(#7736, #7742 by @johnd0e) - β¬οΈ Drop
PhantomJS
from test suite (#7660, #7724 by @jonkoops) - Enforce forbid-only rule in the continuous integration (#7448 by @johnd0e)
- π» Increase
captureTimeout
andbrowserSocketTimeout
(#7856 by @Falke-Design) - β Added / update tests (#7790, #7147, #7721, #7461, #7126, #7451, #7450, #7447, #7438 by @Falke-Design, @johnd0e, @phloose)
- β Added missing Test-Spec-Files to index.html (#7845 by @Falke-Design)
- π Improve reliability of
-
v1.7.1 Changes
September 03, 2020π Bug fixes
- π Fix build toolchain to reflect uglifyjs upgrade from v2 to v3 (by @ivansanchez)
-
v1.7.0 Changes
September 03, 2020API changes
VideoOverlay
now can take amuted
option (#7071 by @ronikar)- The
featureGroup
factory method now takesoptions
, as theFeatureGroup
constructor (#7160 by @frogcat)
π Improvements
- π Use passive event listeners for
touchstart
/touchend
events (#7008 by @yneet) - π Better detection of
PointerEvents
-capable browsers inL.Browser
, and related changes toTap
,Drag
, andTouchZoom
handlers (#7010, (#7033, (#7036, (#7068, (#7195 by @johnd0e) - β Add more browser profiles for the automated tests (#7115 by @johnd0e)
π Bug fixes
- π Fix canvas renderer not clearing the canvas on some zoom transformations, was affecting opacity of items (#6915 by @chipta)
- π Fix detection of passive events in
L.Browser
(#6930 by @Ivan-Perez) - π Prefix MS-specific CSS style to prevent warnings (by @ivansanchez, kudos to @zachricha for #6960)
- π Clean up
moveend
listener frommap.setMaxBounds
(#6958 by @simon04) - π Fix wrong scope of
bind
call in ESM environments (#6970 by @shintonik) - Check that
closePopup
exists before calling it automatically (#6962 by @pke) - π Fix exception when calling
layerGroup.hasLayer()
with wronglayerId
(#6998 by @johnd0e) - β Remove
click
filter targeting Android 4.x browsers (#7013 by @johnd0e) - π Fix touch zoom handler context (#7036 by @johnd0e)
- β
Tests for
Bounds.overlaps()
andBounds.intersects()
(#7075 by @mondeja) - π Fix event propagation in a popup's container (#7091 by @johnd0e)
- π Fix tile flickering when
maxNativeZoom === maxZoom
(#7094 by @johnd0e) - π Fix
GridLayer
's zoom-level loading algorithm (#7123 by @johnd0e) - π Fix
tooltipAnchor
behavior for different tooltip directions (#7155 by @Istador)
π Docs & Web Site
- β‘οΈ Updated examples to use non-legacy Mapbox tiles, and related changes (#6905 by @riastrad) (#6922 by @danswick) (#6995 by @riastrad)
- π Fix documentation for
Polyline.addLatLng()
(#6924 by @life777) - CRS tutorial: change link for UQM tool to an archived version (by @ivansanchez)
- π Fixed minor spelling errors in documentation (#6850 by @flopp) (#6944 by @jieter)
- π Fixed typo in panes documentation (by #6939 by @R4M80MrX)
- π Fixed broken URL in quick-start example (#6982 by @ekbarber)
- π Fix documentation for
map.setMaxBounds()
(#7001 by @johnd0e) - π Fix tilt code in handler tutorial (#7014 by @vncntcltt)
- π Fix instructions for using
jekyll
when building docs (#7014 by @vncntcltt) - β‘οΈ Update WMS servers in WMS tutorial (#7014 by @vncntcltt)
- Website constrast changes and minor cleanup (by @mourner)
- π Fixed typo in WMS example (#7098 by @andreasnuesslein)
- π Fix documentation for
divOverlay.getElement()
(#7111 by @mondeja) - π Fix documentation for
Marker.shadowPane
(#7135 by @mi-v) - β‘οΈ Update URL about NPM in developer docs (#7161 by @iamtekson)
- π Fix documentation for
Layer.removeFrom()
regardingLayerGroup
s (by @ivansanchez) - π Fix documentation for
LatLngBounds.overlaps()
#7194 by @DerZade)
-
v1.6.0 Changes
November 17, 2019API changes
- π
GeoJSON.resetStyle
- allow invocation without an argument (#6663 by joukewitteveen) - β Add new
markersInheritOptions
option toL.GeoJSON
(#6866 by ghybs)
π Improvements
- π Use passive event listeners (#6694 by danielkorte)
- β Add
oldLatLng
coordinates toL.CircleMarker
move
event (#6719 by errnesto) - β Add tests (#6839, #6841 by ghybs)
- β Add test case to ensure scientific notation is formatted correctly (#6877 by desean1625)
π Bug fixes
- π Fix performance issue with
L.Util.formatNum
(#6668 by cherniavskii) - Respect
className
option inSVGOverlay
andVideoOverlay
(#6679 by IvanSanchez) - Cancel the canvas
mousehover
throttle onmouseout
(#6749 by IvanSanchez) - π
Check for style being passed in
L.Path.setStyle
(#6728 by TheRealTorreySmith) - π Fix
dblclick
event when both Pointer Events and Touch Events are available (#6855 by filcab) - Properly unbind animation proxy events when removing map (#6867 by ghybs)
- π Fix race condition in
Marker
when icon is not present (#6794 by BenTalagan)
π Docs & Web Site
- π
-
v1.5.1 Changes
May 08, 2019- π Fix module export regression (#6647 by cherniavskii)
-
v1.5.0 Changes
May 08, 2019API 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
-
v1.4.0 Changes
December 30, 2018API changes
- β Add new
Map.panInside
method (#6054 by daverayment)
π Improvements
- β Remove unused
_drawnLayers
object (#6324 by ud09) - Avoid unnecessary redrawing in
TileLayer.setUrl()
when URL does not change (#6313 by JackNeus) - π Use
section
instead ofform
in layers control (#6380 by hundekoerper) - β Add IE11 linked SVG elements support to
DomUtil.getClass
function (#6366 by Schleuse)
π Bug fixes
- Set internal flags at beginning of map initialization (#6362 by ghybs)
- Guard against layers no longer attached to a map in
bringToFront/Back()
(#6389 by perliedman) - π Fix
autoPan
option when popup content gets updated while a panning animation is running (#6365 by Schleuse) - Ignore dash arrays with non-numeric entries in canvas (#6387 by perliedman)
π Docs & Web Site
- β Remove additional
<tr>
(#6334 by mgred) - π Fix command to run test with karma options (#6363 by ghybs)
- β Add OSM logo to "Trusted by the best" section (#6360 by astv99)
- π Fix typos (#6398 by HarryMaher)
- π Make it clear zoomanim is not always fired on every frame (#6388 by perliedman)
- β Add copyright references to code examples (#6439 by jbelien)
- π Fix insecure content error (#6442 by tambry)
- β Remove incorrect Earth GIF (#6326 by Vincentdecursay)
- π Fix duplicated sentence in SVG section (#6448 by patrickdemers6)
- β Add new
-
v1.3.4 Changes
August 21, 2018π Improvements
- π Reset max-width and max-height styles for tiles in custom panes (#6255 by jerekshoe)
- β Add unprefixed
cursor: grab
style (#6281 by Malvoz) - β Remove legacy prefixed styles, add unprefixed styles (#6282 by Malvoz)
π Bug fixes
- π Move set/getAttribute('src') calls from
GridLayer
intoTileLayer
(#6264 by IvanSanchez) - π Support comma- or space-separated strings in
Canvas
dashArray
option (#6277 by IvanSanchez) - β Remove trailing commas to avoid crashes in some IE browsers (#6279 by helbling)
- π Fixed capitalization of
webkitTransform
property, which broke transformations on certain Webkit browsers (#6290 by tuckergordon)
π Docs & Web Site
- Document
zoomControl
map option (#6254 by IvanSanchez) - Explicitly note attribution obligation (#6261 by pietervdvn)
- π Minor fixes of
ImageOverlay
docs (#6266 by jgravois) - β Add Edge to the list of supported browsers (#6270 by matkoniecz)
- β Remove references to Leaflet UserVoice page (#6291 by zstadler)
- π Reword docstrings for draggable markers (#6296 by IvanSanchez)
-
v1.3.3 Changes
July 18, 2018π Bug fixes
- β Remove
module
field frompackage.json
to fix plugin compatibility issues (#6239)
- β Remove