Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
9be733e
DomEvent: use passive for touchmove (instead of touchend) (#7060)
Apr 10, 2020
09da971
Update mocha to ^7 (#7082)
Apr 10, 2020
41706c0
Popup: fix event propagation to popup._container (#7091)
Apr 14, 2020
0fd2f43
Fix tiles flickering when maxNativeZoom === maxZoom (and same with mi…
Apr 16, 2020
984fedd
VideoOverlay feature: Enable to load muted video (#7071)
Apr 16, 2020
1ae785b
Docs: Fix tiny typo - WMTS vs WTMS (#7098)
andreasnuesslein Apr 17, 2020
19da013
Fix DivOverlay.getElement function documentation (#7111)
mondeja Apr 29, 2020
e7a5c6f
Add more browser profiles and fix some tests (#7115)
May 4, 2020
ec35ab5
GridLayer: fix _updateLevels and _removeTilesAtZoom (#7123)
May 4, 2020
9b0d7c2
Update dev dependencies, fix most of vulnerabilities (#7133)
May 18, 2020
838587d
L.Marker shadowPane doc fix (#7135)
mi-v May 19, 2020
5b30f7d
fix tooltipAnchor behavior for different directions (#7155)
Istador May 24, 2020
1d09819
Update FeatureGroup's factory method (#7160)
frogcat May 25, 2020
25f7bbb
docs: update URL about NPM in plugin developer guide (#7161)
iamtekson May 28, 2020
e8c28b9
docstrings: Layer's removeFrom works on LayerGroups too
IvanSanchez Jun 11, 2020
14b1985
docstrings: fix parameters for LatLngBounds.overlaps (#7194)
DerZade Jul 2, 2020
9644fcf
Get rid of some legacy IE-related pointer quirks. (#7195)
Jul 6, 2020
71f7378
plugins list: rm ⭐ from geoman description
IvanSanchez Jul 14, 2020
dd83210
plugins: Add Leaflet.BigImage (#7214)
pasichnykvasyl Jul 20, 2020
26410f6
updated Leaflet.BeautifyMarkers plugin github url (#7247)
masajid390 Aug 31, 2020
81133a4
New plugin: Leaflet.ArrowCircle (#7249)
coyotesqrl Sep 3, 2020
4f32a5e
Release 1.7.1 (#7252)
IvanSanchez Sep 4, 2020
33d011c
Plugins: Add Leaflet.Legend (#7257)
ptma Sep 7, 2020
68ef9ea
fix (Keyboard): Allow WCAG21 focus visible criteria for keyboard navi…
jafin Sep 8, 2020
6b90df7
Fix excessive click in desktop Safari (#7260)
Sep 8, 2020
dda26ba
Disable tap handler by default, except in mobile Safari (#7267)
Sep 11, 2020
1b9b8e1
Plugins: Update leaflet-lasso description (#7276)
zakjan Sep 15, 2020
7ddf222
Upgrade Leafdoc to 2.2.1; redo docs for 1.7.1 (#7263)
IvanSanchez Sep 15, 2020
575e551
Refactor vmlCreate() so that it does not expose closure to `TypeError…
darcyparker Sep 17, 2020
38e04e3
docs: Fix simple typo, somplicity -> simplicity (#7284)
timgates42 Sep 21, 2020
835440c
Plugins: Add Leaflet.TileLayer.GLOperations (#7291)
thor85 Sep 24, 2020
1aed2e6
Plugins: add leaflet-point-animator, leaflet-temporal-geojson (#7292)
danwild Sep 24, 2020
bdd7ebf
Introduced accessibility in zoom and Layer control (#7280)
akshataj96 Sep 25, 2020
4ca41e7
Add Leaflet Timeline Control (#7295)
zimmicz Oct 1, 2020
e8c706d
feat: Image crossorigin option added in L.icon (#7298)
syedmuhammadabid Oct 1, 2020
bfe7c68
Plugins: Added LocationIQ leaflet geocoder (#7299)
drupeshUnwired Oct 2, 2020
bc918d4
Fix: Tooltips can rely on parent layer getBounds() too, so they work …
IvanSanchez Oct 6, 2020
1ca9e44
Plugins: add leaflet-topography (#7323)
slutske22 Nov 12, 2020
f22422a
Restore docs/reference-1.5.1.html (#7336)
simon04 Nov 13, 2020
92ff0a1
TileLayer feature: add space to character regex for template to allow…
lubojr Nov 18, 2020
e66948d
docstrings: typo in Events.js (#7339)
ipovos Nov 19, 2020
e76f97c
docstrings: align overlay and shadow panes order (#7349)
elfalem Nov 25, 2020
a6881dc
Plugins: add L.Highlight (#7363)
mmaciejkowalski Dec 8, 2020
c0bf09b
fix outdated osm attribution texts + url (#7345)
saerdnaer Dec 8, 2020
7db94fd
docstrings: Replace shortened url (#7381)
BakuCity Dec 14, 2020
436430d
It's almost 2021 (#7371)
simon04 Jan 14, 2021
cb90037
DomEventSpec.js: add tests (#7438)
Feb 8, 2021
9330d75
Map.TouchZoomSpec.js: refactor (#7447)
Feb 8, 2021
94a5618
mocha: enforce forbid-only rule in the continuous integration (#7448)
Feb 8, 2021
fdcb54d
Fix typos in GridLayerSpec.js (#7450)
Feb 8, 2021
1653f97
Fix map spec (#7451)
Feb 8, 2021
620bc3e
Update dev dependencies (#7455)
Feb 8, 2021
234e00b
docs(plugins): add leaflet-rails gem integration (#7470)
ghybs Feb 14, 2021
73e13ce
Update panInside (#7469)
daverayment Mar 5, 2021
f27c182
plugins: simple WMTS plugin (#7471)
alcalin Mar 5, 2021
21b27a0
Updated URL for Zoomify Plugin (#7473)
mnaglak Mar 5, 2021
32ea41b
Fix typo (#7485)
user073 Mar 5, 2021
0f904a5
Plugins: Add L.ImageOverlay.Arrugator
IvanSanchez Mar 14, 2021
81dc248
L.GridLayer/onAdd: avoid excessive _update call (#7570)
Jun 10, 2021
1ec39cf
BoxZoom: Reset _moved flag after cancel with ESC (#7597)
Falke-Design Jul 1, 2021
331333a
plugins: fix bad html tag, update OpenCage URL (#7617)
freyfogle Jul 6, 2021
9aafb0d
Fixed Maintainer of RouteBoxer plugin (#7635)
StephanGeorg Aug 18, 2021
604d922
Add a Dependabot configuration to keep dependencies up-to-date (#7653)
jonkoops Sep 6, 2021
90b5f58
remove Dependabot for now (too aggressive)
mourner Sep 6, 2021
2f70965
Run CI on Github actions (#7654)
jonkoops Sep 6, 2021
4db7513
update some dependencies
mourner Sep 6, 2021
17dc1f3
try downgrading sinon to fix CI
mourner Sep 6, 2021
d6d6051
Run tests on browsers instead of PhantomJS (#7660)
jonkoops Sep 6, 2021
90fb75a
Upload artifacts from CI (#7691)
jonkoops Oct 19, 2021
68c9447
Fix two urls ("Page not found") (#7700)
KristjanESPERANTO Oct 19, 2021
7d9b2f7
Drop Travis in favor of Github Actions (#7702)
jonkoops Oct 26, 2021
4e3f8dd
fix typos in plugins.md (#7647)
saintmalik Oct 28, 2021
0a1d18b
Update plugins.md (#6641)
mwasil Oct 28, 2021
b480178
Add Leaflet.TileLayer.HERE to plugins (#7179)
wandersoncs Oct 29, 2021
671c7c8
Use "map" as HTML element id everywhere (#7696)
fulldecent Oct 29, 2021
1b89c0a
Add scripts in 'build' directory to linting config (#7676)
jonkoops Oct 29, 2021
77ffc18
Capitalized 'Options' in 'Control Options' (#7380)
Dev-Steven Oct 29, 2021
3746690
Change JS to JavaScript (#7578)
vanillajonathan Oct 29, 2021
2eb73c4
Fix Path.setStyle bug (replacing #6671) (#6941)
NielsHolt Oct 29, 2021
d3fbd05
Split main workflow into multiple parallel jobs (#7710)
jonkoops Oct 29, 2021
72b525f
try escaping secrets
mourner Oct 29, 2021
234f7ab
Check for secrets before trying to deploy (#7711)
mourner Oct 29, 2021
da32372
Upgrade to latest version of Rollup (#7677)
jonkoops Oct 29, 2021
f9936af
upgrade deps further
mourner Oct 29, 2021
991116c
Clarify zoomend event (#7460)
xeruf Oct 29, 2021
df49a94
Update plugins.md (#7665)
fil-ili Oct 29, 2021
5516f8a
Add L.Donut to Plugins (#7714)
Falke-Design Oct 30, 2021
d8b851e
Prevent click on popup tip from firing on map. (#7541)
Nov 1, 2021
12ac953
Tooltip: make Map.openTooltip to consider `interactive` option (like …
Nov 1, 2021
e0af258
Tooltip: stop relying on Browser `touch` property (#7535)
Nov 1, 2021
404e1b9
Control.Layers: stop relying on Browser `android` and `touch` propert…
Nov 1, 2021
0ae68f4
Correct Browser.touch (and more related changes) (#7029)
Nov 1, 2021
4c590a2
Map: fix contextmenu default-preventing when there are >1 target cand…
Nov 1, 2021
4106ad1
Map/closeTooltip: make argument not optional (#7533)
Nov 1, 2021
ef928c5
DomEventSpec.js: add more tests (#7126)
Nov 1, 2021
a4a11f5
Handle touchcancel separately from touchend (#7084)
Nov 1, 2021
f018e2d
Fix tests failing in IE (#7461)
Nov 1, 2021
61eb5f1
DivOverlay/Popup/Tooltip refactoring and fixes (#7540)
Nov 1, 2021
7ef9ae9
Change Tooltip class from leaflet-clickable to leaflet-interactive (#…
Falke-Design Nov 1, 2021
ab2806a
new plugin "leaflet-geoserver-request" (#7180)
iamtekson Nov 1, 2021
ec74616
Adding "Open User Map" WordPress Plugin (#7690)
100wunder Nov 1, 2021
9216e08
Added leaflet-route-print to plugin list (#7663)
hersle Nov 1, 2021
030387b
Added a new plugin to Mouse Coordinates (#7065)
edihasaj Nov 1, 2021
3ada314
TileLayer: fire a 'tileabort' event when a tile load is cancelled (#6…
dstndstn Nov 1, 2021
e87ed0c
More reliable disableClickPropagation (#7439)
Nov 1, 2021
fe040de
Fix just merged #7439 (#7720)
Nov 1, 2021
7b9b4a3
Reimplement DoubleTap simulation in more simple and reliable way (#7027)
Nov 1, 2021
83d23b9
Add test case for #7439 (#7721)
Nov 1, 2021
eccbd95
Leaflet.Notifications plugin (#7619)
Terrorartist Nov 1, 2021
e66f1dd
Add AutoGraticule and FreieTonne plugins to docs (#7423)
cdauth Nov 1, 2021
06e075f
Added plugin for one finger zoom (#7553)
petoc Nov 1, 2021
a3b9c09
leaflet-geojson-vt plugin added (#7626)
iamtekson Nov 1, 2021
34dbcfb
new plugins: Leaflet.glify, Leaflet.glify.layer (#7534)
danwild Nov 1, 2021
8cfe1c3
Drop PhantomJS from test suite (#7724)
jonkoops Nov 1, 2021
88cf633
Update dependencies to latest version and add Dependabot config (#7725)
jonkoops Nov 1, 2021
5b457c2
update package lock
mourner Nov 1, 2021
e3fde98
Continue running tests even if one fails (#7723)
jonkoops Nov 1, 2021
0388959
New plugin: Leaflet.MousePosition.ts (#7623)
YuukiToriyama Nov 2, 2021
7bccf7e
simplify release process (#7727)
mourner Nov 2, 2021
5f24da5
fix download link, close #7667
mourner Nov 2, 2021
bb04e95
simplify download page
mourner Nov 2, 2021
9f9c549
simplify docs update process on release (#7730)
mourner Nov 2, 2021
cfcff71
DomEvent.Pointer: simplify and cover by tests (#7415)
Nov 3, 2021
f2d625f
DomEvent.Pointer: process touch events only (#7059)
Nov 3, 2021
69f73ed
Get rid of android legacy hacks (#7022)
Nov 3, 2021
cc9f327
Allow to prevent round-off errors, caused by formatNum (#7100)
Nov 3, 2021
7b15104
Avoid modifying source props object in Class.extend (#6766)
Nov 3, 2021
bcc6730
cleanup marker.svg (#7600)
rala72 Nov 3, 2021
541a0f1
Tests: remove non-functional Firefox setting (#7736)
Nov 4, 2021
9e7bf9e
Add Leaflet.CenterMarker to list of plugins (#7312)
heyman Nov 4, 2021
7029c2c
Bump karma from 6.3.6 to 6.3.7 (#7737)
dependabot[bot] Nov 4, 2021
5d4307e
Bump karma-firefox-launcher from 2.1.1 to 2.1.2 (#7738)
dependabot[bot] Nov 4, 2021
d17ac0c
Bump sinon from 11.1.2 to 12.0.0 (#7739)
dependabot[bot] Nov 4, 2021
9e43099
Bump uglify-js from 3.14.2 to 3.14.3
dependabot[bot] Nov 4, 2021
38c330d
simplify workflow config
mourner Nov 4, 2021
89f9970
Fixup #7736 (#7742)
Nov 4, 2021
1703e93
Fix indentation issues in Karma config (#7743)
jonkoops Nov 4, 2021
7f47b29
Plugins.md - Leaflet.Control.Select added to the list of plugins (#7050)
adammertel Nov 5, 2021
36d4858
Evented: protect from common errors (+tests) (#7518)
Nov 5, 2021
9e03bc5
Restore DomEvent.off(el) functionality when calling with one arg (#7125)
Nov 5, 2021
5b9458e
Change undefined argument handling in Layer/hasLayer() and LayerGroup…
Nov 5, 2021
4c1a396
Bump prosthetic-hand from 1.3.1 to 1.4.0
dependabot[bot] Nov 5, 2021
adfafbb
Added plugin Leaflet.AnimatedSearchBox to plugins.md (#7053)
luka1199 Nov 6, 2021
b4a1556
Run tests on Internet Explorer 11 (#7741)
jonkoops Nov 6, 2021
4ec3c5f
Fixup #7518 (#7748)
Nov 6, 2021
257ca09
Bump eslint from 8.1.0 to 8.2.0 (#7747)
dependabot[bot] Nov 6, 2021
59d2cb8
Bump karma from 6.3.7 to 6.3.8
dependabot[bot] Nov 8, 2021
572f4f7
New plugin: Leaflet.Autocomplete (#7236)
tomickigrzegorz Nov 8, 2021
98fb4ab
Lint all files unless explicitly ignored (#7757)
jonkoops Nov 8, 2021
315e4d7
Class.include: keep parent options (#7756)
Nov 8, 2021
d03a2d0
Minor typos (#7758)
riunn Nov 9, 2021
93ebeb7
plugin: leaflet-layervisibility (#7484)
phloose Nov 9, 2021
5bae38b
Adding Leaflet control Routetoaddress (#6500)
astridx Nov 11, 2021
daeb86b
New Plugin: Azure Maps basemap provider (#7408)
rbrundritt Nov 11, 2021
c1e6751
L.Control.Attribution: encapsulate some code from L.Layer (#7764)
Nov 11, 2021
b61dad1
Make docs headings sticky (#7703)
avioli Nov 11, 2021
2c10506
add a redirect from /reference-1.7.1.html
mourner Nov 11, 2021
7cb3c0e
Tests for L.GeoJSON static functions (#7147)
phloose Nov 11, 2021
a37f029
simplify. update description - geojson is popular (#7602)
matkoniecz Nov 11, 2021
b52961a
Add Leaflet.HighlightableLayers and Leaflet.DraggableLines plugins to…
cdauth Nov 15, 2021
bda4004
Bump rollup from 2.59.0 to 2.60.0 (#7785)
dependabot[bot] Nov 15, 2021
dd1ab61
Fixup #7068 and add test (#7781)
Nov 15, 2021
3466cbb
Reset width & padding to prevent cascading CSS from breaking image re…
Spudley Nov 16, 2021
a0efd49
Fix current error in the maser (SVG width: auto in IE) (#7793)
Falke-Design Nov 22, 2021
f1d8644
Bump rollup from 2.60.0 to 2.60.1
dependabot[bot] Nov 22, 2021
2488cfc
Bump eslint from 8.2.0 to 8.3.0
dependabot[bot] Nov 22, 2021
9f0a622
Bump karma from 6.3.8 to 6.3.9
dependabot[bot] Nov 22, 2021
4a28283
add new in plugin lists (#7631)
stefanocudini Nov 23, 2021
dd975a6
Add leaflet-place-groups-picker to plugins list (#7412)
damianc Nov 23, 2021
913e0e9
Update plugins.md with my own plugin (#7392)
rhlt Nov 23, 2021
ba81536
Adding leaflet-area-select to the plugin list (#7367)
keul Nov 23, 2021
ef3e4f0
Update plugins.md (#6547)
ATran31 Nov 23, 2021
3716721
Added GeoRasterLayer Plugin (#6534)
DanielJDufour Nov 23, 2021
0b603ea
Add Leaflet.NonTiledLayers to plugins (#7802)
jonkoops Nov 23, 2021
f4d8f10
Update plugins.md (Leaflet.Signposts) (#7786)
williamlow Nov 23, 2021
5eca469
add/removePointerListener: tolerate wrong event names (#7808)
Nov 25, 2021
8eb9ac2
Converted Plugins.md to single files (jekyll) (#7805)
Falke-Design Nov 25, 2021
842dd30
Remove leaflet-include.js (#7776)
Falke-Design Nov 25, 2021
2eec198
Add fallbacks to font-size (#7800)
Chandu-4444 Nov 25, 2021
c6c82f0
Add keepInView test (#7790)
Falke-Design Nov 25, 2021
1180e7e
Accessibility popup close button (#7794)
Falke-Design Nov 25, 2021
4dadf84
Fix Popup keepInView if the map needs to panned over a long distance …
Falke-Design Nov 25, 2021
6db8d22
Add aria-hidden to the +/- characters of zoom controls (#7795)
Falke-Design Nov 25, 2021
649eaf3
Add documentation for Event Listens Propagate argument. Fixes Leaflet…
riffaud Nov 26, 2021
8fbb149
Update Renderer documentation to clarify tolerance option Canvas only…
Hippl-Eric Nov 26, 2021
25fce16
ignore built docs when running eslint
mourner Nov 26, 2021
18389fb
Improve panInside documentation (#7397)
daverayment Nov 26, 2021
38c0c55
Fix #7439 for mousemove (#7809)
Nov 26, 2021
05fa580
New TapHold handler instead of legacy Tap (#7026)
Nov 26, 2021
2e86387
[GridLayer] redraw tiles properly after changing maxNativeZoom (#6443)
cherniavskii Nov 26, 2021
1e7f273
Simplifiy examples (#7816)
Falke-Design Nov 26, 2021
0a61e90
Tests: simplify .near and .nearLatlng usage (#7820)
Nov 27, 2021
326211d
add linting to examples (WIP)
mourner Nov 29, 2021
31259a9
revert linting examples (accidentally pushed to master)
mourner Nov 29, 2021
80279dd
Lint examples (#7827)
mourner Nov 29, 2021
27f4964
Update zoom buttons documentation text (#7815)
Falke-Design Nov 30, 2021
39c7ea6
Create leaflet-coloricon.md (#7812)
shevekk Dec 1, 2021
2476975
makes L.Browser mutable (#7335)
bozdoz Dec 2, 2021
e8b87ea
bindTooltip should unbind existent tooltip (#7633)
Falke-Design Dec 2, 2021
e7d5a37
Locate - locationfound: Add check if map container has leaflet_id / i…
Falke-Design Dec 2, 2021
4b2946c
Correct condition to add zoom limits for Layer (#7609)
vcoppe Dec 2, 2021
30d91b1
Fix Bug: permanent & sticky tooltip (#7563)
Falke-Design Dec 2, 2021
a340c08
Break the reference to the options of the Class prototype (#7459)
Falke-Design Dec 2, 2021
d00a8b2
Added clarification (#7819)
riunn Dec 2, 2021
8531ede
bump license formatting hoping that GH picks it up now
mourner Dec 3, 2021
a921fdd
Remove all references of Bower (#7831)
jonkoops Dec 3, 2021
a6d6d51
leaflet.zoomfs compatibility (#7832)
brunob Dec 3, 2021
fc9c716
Update plugins compat & demos (#7834)
brunob Dec 3, 2021
a1342a1
add demo url for the plugin (#7833)
brunob Dec 3, 2021
80b2685
Better icon image path detection (#7092)
Dec 5, 2021
7dcc3de
Bump rollup from 2.60.1 to 2.60.2 (#7838)
dependabot[bot] Dec 6, 2021
1e1987e
Bump eslint from 8.3.0 to 8.4.0 (#7837)
dependabot[bot] Dec 6, 2021
e3719a3
Bump uglify-js from 3.14.3 to 3.14.4 (#7836)
dependabot[bot] Dec 6, 2021
f3f28c3
Upload files to AWS even if the file-size is the same (#7853)
jonkoops Dec 10, 2021
06f76d4
Added missing tests to index.html (#7845)
Falke-Design Dec 10, 2021
afe38e0
Add `getCenter` to ImageOverlay (#7848)
Falke-Design Dec 10, 2021
acffb7e
Set `role=button` on the Layer control (#7850)
Malvoz Dec 10, 2021
a9d7c4f
Add print styles to prevent printers from removing background-images …
Malvoz Dec 10, 2021
009748a
Change http to https of https://leafletjs.com (#7857)
Falke-Design Dec 12, 2021
08b39b0
Bump eslint from 8.4.0 to 8.4.1
dependabot[bot] Dec 13, 2021
dc17bd8
Bump rollup from 2.60.2 to 2.61.1
dependabot[bot] Dec 13, 2021
982042c
Bump uglify-js from 3.14.4 to 3.14.5
dependabot[bot] Dec 13, 2021
d86ad49
Publish package to NPM when pushing tag (#7854)
jonkoops Dec 13, 2021
7e938af
Increase captureTimeout and browserSocketTimeout (#7856)
Falke-Design Dec 13, 2021
e9fc60c
Fixup #7544 (#7861)
Dec 13, 2021
26ba65a
Fix opening / closing tooltip while dragging map (#7862)
Falke-Design Dec 15, 2021
abf16d5
Update the doc of DivOverlay (#7778)
Falke-Design Dec 16, 2021
911f578
Replace http with https (#7860)
Falke-Design Dec 16, 2021
d7bf36c
Bump eslint from 8.4.1 to 8.5.0 (#7873)
dependabot[bot] Dec 20, 2021
1d3e3a0
Remove will-change (#7872)
Dec 20, 2021
c9f8650
Add drustack/Leaflet.ResetView to plugins (#7874)
hswong3i Dec 22, 2021
d52d2fa
Add drustack/Leaflet.SyncView to plugins (#7875)
hswong3i Dec 22, 2021
ab9c909
Bump rollup from 2.61.1 to 2.62.0
dependabot[bot] Dec 27, 2021
de29669
Add django-leaflet in frameworks-build-systems documentation. (#7885)
Gagaro Jan 3, 2022
e9bc859
Bump eslint from 8.5.0 to 8.6.0
dependabot[bot] Jan 3, 2022
e0c92a3
Add Leaflet Geoapify Address Search plugin (#7896)
geoapify Jan 10, 2022
10d0031
Update marker: role=button, alt=marker (#7895)
tmiaa Jan 10, 2022
64d8866
Bump rollup from 2.62.0 to 2.63.0 (#7897)
dependabot[bot] Jan 10, 2022
32783c9
Bump karma from 6.3.9 to 6.3.10 (#7898)
dependabot[bot] Jan 10, 2022
2e205bf
Improve site accesibility (#7901)
MxDui Jan 13, 2022
142ffde
Fix issues in the layout (#7906)
Falke-Design Jan 13, 2022
ee71642
Update LICENSE to 2022 and automate on website (#7907)
Falke-Design Jan 14, 2022
47eab07
Bump karma from 6.3.10 to 6.3.11
dependabot[bot] Jan 17, 2022
06ac977
Bump mocha from 9.1.3 to 9.1.4
dependabot[bot] Jan 17, 2022
8d0f926
Bump rollup from 2.63.0 to 2.64.0
dependabot[bot] Jan 17, 2022
103c361
Bump eslint from 8.6.0 to 8.7.0
dependabot[bot] Jan 17, 2022
ba7fdb9
Remove gap between `leaflet-popup-tip-container` and `leaflet-popup-c…
Malvoz Jan 19, 2022
4d63087
Add bundlemon to watch bundle size (#7905)
jonkoops Jan 19, 2022
f3f27b0
Fixing noConflict and merge rollup-config (#7855)
Falke-Design Jan 19, 2022
fb0b2a1
Refactor Popup/Tooltip to use common code from DivOverlay (#6639)
Jan 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .bundlemonrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"baseDir": "dist",
"files": [
{
"path": "leaflet.js"
}
],
"reportOutput": [
[
"github",
{
"checkRun": true,
"commitStatus": true,
"prComment": false
}
]
]
}
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
open-pull-requests-limit: 999
rebase-strategy: disabled
schedule:
interval: weekly
ignore:
- dependency-name: eslint-config-mourner
update-types: ["version-update:semver-major"]
- dependency-name: sinon
update-types: ["version-update:semver-major"]
149 changes: 149 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
name: CI
on: [push, pull_request]
env:
NODE_VERSION: 16
jobs:
setup:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019]
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
check-latest: true
cache: npm

- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: npm ci

- name: Build project
run: npm run build
env:
NODE_ENV: ${{ startsWith(github.ref, 'refs/tags/v') && 'release' || '' }}

- name: Cache setup
uses: actions/cache@v2
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}

run:
needs: setup
runs-on: ubuntu-latest
strategy:
matrix:
command: [lint, bundlemon]
steps:
- name: Restore setup
uses: actions/cache@v2
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- name: Run ${{ matrix.command }} task
run: npm run ${{ matrix.command }}
env:
BUNDLEMON_PROJECT_ID: 61e0545915f6c3000980d0ed
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

test:
needs: setup
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
include:
- browser: Chrome1280x1024
- browser: FirefoxTouch
- browser: FirefoxNoTouch
- browser: IE
os: windows-2019
- browser: IE10
os: windows-2019
steps:
- name: Restore setup
uses: actions/cache@v2
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}

- name: Run tests on ${{ matrix.browser }}
run: npm test -- --browsers ${{ matrix.browser }}

publish-artifacts:
needs: setup
if: github.repository_owner == 'Leaflet' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
steps:
- name: Restore setup
uses: actions/cache@v2
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}

- name: Compress artifacts
working-directory: dist
run: zip -r leaflet.zip .

- name: Determine directory for artifacts
id: artifacts-directory
run: |
VERSION=$(git tag --points-at HEAD)
echo "::set-output name=path::content/leaflet/${VERSION:-master}"

- name: Publish artifacts
uses: jakejarvis/s3-sync-action@v0.5.1
with:
args: --acl public-read --delete --exact-timestamps
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: dist
DEST_DIR: ${{ steps.artifacts-directory.outputs.path }}

publish-npm:
needs: setup
if: github.repository_owner == 'Leaflet' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Restore setup
uses: actions/cache@v2
with:
path: ./*
key: ${{ runner.os }}-${{ github.sha }}

- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: https://registry.npmjs.org

- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ dist/reference.html
coverage/
*.js.html
.mailmap
bower.json
component.json
debug/local/
Gemfile.lock
package-lock.json
yarn.lock
*.log
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

90 changes: 88 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,92 @@ Leaflet Changelog

(all changes without author notice are by [@mourner](https://github.com/mourner))

## 1.7.1 (2020-09-04)

### Bug fixes

* Fix build toolchain to reflect uglifyjs upgrade from v2 to v3 (by [@ivansanchez](https://github.com/ivansanchez))

## 1.7.0 (2020-09-03)

### API changes

* `VideoOverlay` now can take a `muted` option ([#7071](https://github.com/Leaflet/Leaflet/pull/7071) by [@ronikar](https://github.com/ronikar))
* The `featureGroup` factory method now takes `options`, as the `FeatureGroup` constructor ([#7160](https://github.com/Leaflet/Leaflet/pull/7160) by [@frogcat](https://github.com/frogcat))

### Improvements

* Use passive event listeners for `touchstart`/`touchend` events ([#7008](https://github.com/Leaflet/Leaflet/pull/7008) by [@yneet](https://github.com/yneet))
* Better detection of `PointerEvents`-capable browsers in `L.Browser`, and related changes to `Tap`, `Drag`, and `TouchZoom` handlers ([#7010](https://github.com/Leaflet/Leaflet/pull/7010), ([#7033](https://github.com/Leaflet/Leaflet/pull/7041), ([#7036](https://github.com/Leaflet/Leaflet/pull/7036), ([#7068](https://github.com/Leaflet/Leaflet/pull/7068), ([#7195](https://github.com/Leaflet/Leaflet/pull/7195) by [@johnd0e](https://github.com/johnd0e))
* Add more browser profiles for the automated tests ([#7115](https://github.com/Leaflet/Leaflet/pull/7115) by [@johnd0e](https://github.com/johnd0e))

### Bug fixes

* Fix canvas renderer not clearing the canvas on some zoom transformations, was affecting opacity of items ([#6915](https://github.com/Leaflet/Leaflet/pull/6915) by [@chipta](https://github.com/chipta))
* Fix detection of passive events in `L.Browser` ([#6930](https://github.com/Leaflet/Leaflet/pull/6930) by [@Ivan-Perez](https://github.com/Ivan-Perez))
* Prefix MS-specific CSS style to prevent warnings (by [@ivansanchez](https://github.com/ivansanchez), kudos to [@zachricha](https://github.com/zachricha) for [#6960](https://github.com/Leaflet/Leaflet/pull/6960))
* Clean up `moveend` listener from `map.setMaxBounds` ([#6958](https://github.com/Leaflet/Leaflet/pull/6958) by [@simon04](https://github.com/simon04))
* Fix wrong scope of `bind` call in ESM environments ([#6970](https://github.com/Leaflet/Leaflet/pull/6970) by [@shintonik](https://github.com/shintonik))
* Check that `closePopup` exists before calling it automatically ([#6962](https://github.com/Leaflet/Leaflet/pull/6962) by [@pke](https://github.com/pke))
* Fix exception when calling `layerGroup.hasLayer()` with wrong `layerId` ([#6998](https://github.com/Leaflet/Leaflet/pull/6998) by [@johnd0e](https://github.com/johnd0e))
* Remove `click` filter targeting Android 4.x browsers ([#7013](https://github.com/Leaflet/Leaflet/pull/7013) by [@johnd0e](https://github.com/johnd0e))
* Fix touch zoom handler context ([#7036](https://github.com/Leaflet/Leaflet/pull/7036) by [@johnd0e](https://github.com/johnd0e))
* Tests for `Bounds.overlaps()` and `Bounds.intersects()` ([#7075](https://github.com/Leaflet/Leaflet/pull/7075) by [@mondeja](https://github.com/mondeja))
* Fix event propagation in a popup's container ([#7091](https://github.com/Leaflet/Leaflet/pull/7091) by [@johnd0e](https://github.com/johnd0e))
* Fix tile flickering when `maxNativeZoom === maxZoom` ([#7094](https://github.com/Leaflet/Leaflet/pull/7094) by [@johnd0e](https://github.com/johnd0e))
* Fix `GridLayer`'s zoom-level loading algorithm ([#7123](https://github.com/Leaflet/Leaflet/pull/7123) by [@johnd0e](https://github.com/johnd0e))
* Fix `tooltipAnchor` behavior for different tooltip directions ([#7155](https://github.com/Leaflet/Leaflet/pull/7155) by [@Istador](https://github.com/Istador))

### Docs & Web Site

* Updated examples to use non-legacy Mapbox tiles, and related changes ([#6905](https://github.com/Leaflet/Leaflet/pull/6905) by [@riastrad](https://github.com/riastrad)) ([#6922](https://github.com/Leaflet/Leaflet/pull/6922) by [@danswick](https://github.com/danswick)) ([#6995](https://github.com/Leaflet/Leaflet/pull/6995) by [@riastrad](https://github.com/riastrad))
* Fix documentation for `Polyline.addLatLng()` ([#6924](https://github.com/Leaflet/Leaflet/pull/6924) by [@life777](https://github.com/life777))
* CRS tutorial: change link for UQM tool to an archived version (by [@ivansanchez](https://github.com/ivansanchez))
* Fixed minor spelling errors in documentation ([#6850](https://github.com/Leaflet/Leaflet/pull/6850) by [@flopp](https://github.com/flopp)) ([#6944](https://github.com/Leaflet/Leaflet/pull/6944) by [@jieter](https://github.com/jieter))
* Fixed typo in panes documentation (by [#6939](https://github.com/Leaflet/Leaflet/pull/6939) by [@R4M80MrX](https://github.com/R4M80MrX))
* Fixed broken URL in quick-start example ([#6982](https://github.com/Leaflet/Leaflet/pull/6982) by [@ekbarber](https://github.com/ekbarber))
* Fix documentation for `map.setMaxBounds()` ([#7001](https://github.com/Leaflet/Leaflet/pull/7001) by [@johnd0e](https://github.com/johnd0e))
* Fix tilt code in handler tutorial ([#7014](https://github.com/Leaflet/Leaflet/pull/7014) by [@vncntcltt](https://github.com/vncntcltt))
* Fix instructions for using `jekyll` when building docs ([#7014](https://github.com/Leaflet/Leaflet/pull/7014) by [@vncntcltt](https://github.com/vncntcltt))
* Update WMS servers in WMS tutorial ([#7014](https://github.com/Leaflet/Leaflet/pull/7014) by [@vncntcltt](https://github.com/vncntcltt))
* Website constrast changes and minor cleanup (by [@mourner](https://github.com/mourner))
* Fixed typo in WMS example ([#7098](https://github.com/Leaflet/Leaflet/pull/7098) by [@andreasnuesslein](https://github.com/andreasnuesslein))
* Fix documentation for `divOverlay.getElement()` ([#7111](https://github.com/Leaflet/Leaflet/pull/7111) by [@mondeja](https://github.com/mondeja))
* Fix documentation for `Marker.shadowPane` ([#7135](https://github.com/Leaflet/Leaflet/pull/7135) by [@mi-v](https://github.com/mi-v))
* Update URL about NPM in developer docs ([#7161](https://github.com/Leaflet/Leaflet/pull/7161) by [@iamtekson](https://github.com/iamtekson))
* Fix documentation for `Layer.removeFrom()` regarding `LayerGroup`s (by [@ivansanchez](https://github.com/ivansanchez))
* Fix documentation for `LatLngBounds.overlaps()` [#7194](https://github.com/Leaflet/Leaflet/pull/7194) by [@DerZade](https://github.com/DerZade))

## 1.6.0 (2019-11-17)

### API changes

* `GeoJSON.resetStyle` - allow invocation without an argument ([#6663](https://github.com/Leaflet/Leaflet/pull/6663) by [joukewitteveen](https://github.com/joukewitteveen))
* Add new `markersInheritOptions` option to `L.GeoJSON` ([#6866](https://github.com/Leaflet/Leaflet/pull/6866) by [ghybs](https://github.com/ghybs))

### Improvements

* Use passive event listeners ([#6694](https://github.com/Leaflet/Leaflet/pull/6694) by [danielkorte](https://github.com/danielkorte))
* Add `oldLatLng` coordinates to `L.CircleMarker` `move` event ([#6719](https://github.com/Leaflet/Leaflet/pull/6719) by [errnesto](https://github.com/errnesto))
* Add tests ([#6839](https://github.com/Leaflet/Leaflet/pull/6839), [#6841](https://github.com/Leaflet/Leaflet/pull/6841) by [ghybs](https://github.com/ghybs))
* Add test case to ensure scientific notation is formatted correctly ([#6877](https://github.com/Leaflet/Leaflet/pull/6877) by [desean1625](https://github.com/desean1625))

### Bug fixes
* Fix performance issue with `L.Util.formatNum` ([#6668](https://github.com/Leaflet/Leaflet/pull/6668) by [cherniavskii](https://github.com/cherniavskii))
* Respect `className` option in `SVGOverlay` and `VideoOverlay` ([#6679](https://github.com/Leaflet/Leaflet/pull/6679) by [IvanSanchez](https://github.com/IvanSanchez))
* Cancel the canvas `mousehover` throttle on `mouseout` ([#6749](https://github.com/Leaflet/Leaflet/pull/6749) by [IvanSanchez](https://github.com/IvanSanchez))
* Check for style being passed in `L.Path.setStyle` ([#6728](https://github.com/Leaflet/Leaflet/pull/6728) by [TheRealTorreySmith](https://github.com/TheRealTorreySmith))
* Fix `dblclick` event when both Pointer Events and Touch Events are available ([#6855](https://github.com/Leaflet/Leaflet/pull/6855) by [filcab](https://github.com/filcab))
* Properly unbind animation proxy events when removing map ([#6867](https://github.com/Leaflet/Leaflet/pull/6867) by [ghybs](https://github.com/ghybs))
* Fix race condition in `Marker` when icon is not present ([#6794](https://github.com/Leaflet/Leaflet/pull/6794) by [BenTalagan](https://github.com/BenTalagan))

### Docs & Web Site

* Update SvgOverlay code example ([#6658](https://github.com/Leaflet/Leaflet/pull/6658) by [cherniavskii](https://github.com/cherniavskii))
* Fix mobile locate accuracy snippet ([#6693](https://github.com/Leaflet/Leaflet/pull/6693) by [ghybs](https://github.com/ghybs))
* Fix broken accordions ([#6770](https://github.com/Leaflet/Leaflet/pull/6770) by [mbachner](https://github.com/mbachner))
* Fix misleading `L.Marker` docs sections ([#6871](https://github.com/Leaflet/Leaflet/pull/6871) by [chloe-mc](https://github.com/chloe-mc))

## 1.5.1 (2019-05-08)
* Fix module export regression ([#6647](https://github.com/Leaflet/Leaflet/pull/6647) by [cherniavskii](https://github.com/cherniavskii))

Expand Down Expand Up @@ -805,7 +891,7 @@ Animation code in Leaflet had undergone a major rewrite (main PR: [#2382](https:
* Fixed `Map` `panInsideBounds` to accept array-form bounds (by [@RLRR](https://github.com/RLRR)). [#3489](https://github.com/Leaflet/Leaflet/pull/3489)
* Fixed marker draggable state to persist when removing and adding back to the map (by [@IvanSanchez](https://github.com/IvanSanchez)). [#3488](https://github.com/Leaflet/Leaflet/pull/3488)
* Fixed inertia not working when parallel to axis (by [@rikvanmechelen](https://github.com/rikvanmechelen)). [#3432](https://github.com/Leaflet/Leaflet/issues/3432)
* Fixed images and SVG inside popups having max-width property overriden (by [@yohanboniface](https://github.com/yohanboniface)). [#3452](https://github.com/Leaflet/Leaflet/pull/3452)
* Fixed images and SVG inside popups having max-width property overridden (by [@yohanboniface](https://github.com/yohanboniface)). [#3452](https://github.com/Leaflet/Leaflet/pull/3452)
* Fixed cursors when dragging is disabled (by [@juliensoret](https://github.com/juliensoret)). [#3219](https://github.com/Leaflet/Leaflet/issues/3219) [#3233](https://github.com/Leaflet/Leaflet/pull/3233)
* Fixed `LatLng` `wrap` to not drop altitude (by [@IvanSanchez](https://github.com/IvanSanchez)). [#3420](https://github.com/Leaflet/Leaflet/issues/3420)
* Fixed Firefox for Android not being detected as mobile (by [@IvanSanchez](https://github.com/IvanSanchez)). [#3419](https://github.com/Leaflet/Leaflet/pull/3419)
Expand Down Expand Up @@ -1103,7 +1189,7 @@ Note tha we skipped 0.7.6 version for which we accidentally published a broken b

### Dev Workflow improvements

* Leaflet builds (*.js files in the `dist` folder) were removed from the repo and are now done automatically on each commit for `master` and `stable` branches by [Travis CI](travis-ci.org/Leaflet/Leaflet). The download links are on the [Leafet download page](http://leafletjs.com/download.html).
* Leaflet builds (*.js files in the `dist` folder) were removed from the repo and are now done automatically on each commit for `master` and `stable` branches by [Travis CI](travis-ci.org/Leaflet/Leaflet). The download links are on the [Leaflet download page](http://leafletjs.com/download.html).

## 0.6.2 (2013-06-28)

Expand Down
14 changes: 6 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,13 @@ on rebuilding the bundles whenever any source file changes.

## Running the Tests

To run the tests from the command line,
install [PhantomJS](http://phantomjs.org/) (and make sure it's in your `PATH`),
then run:
To run the tests from the command line, install [Google Chrome](https://www.google.com/chrome/) then run:

```
npm test
```

To run all the tests in actual browsers at the same time, you can do:
To run the tests in other browsers at the same time, you can do:

```
npm test -- -- --browsers Firefox,Chrome,Safari,IE
Expand All @@ -153,10 +151,10 @@ If you need to make edits in a local repository to see how it looks in the proce
1. [Install Ruby](http://www.ruby-lang.org/en/) if you don't have it yet.
2. Run `gem install jekyll`.
3. Enter the directory where you cloned the Leaflet repository
4. Run `bundle install`
5. Make sure you are in the `master` branch by running `git checkout master`
6. Enter the documentation subdirectory by running `cd docs`
7. Run `jekyll serve --watch`.
4. Make sure you are in the `master` branch by running `git checkout master`
5. Enter the documentation subdirectory by running `cd docs`
6. Run `bundle install`
7. Run `jekyll serve --watch` (if you have a Gem::LoadError error run `bundle exec jekyll serve --watch` instead)
8. Open `localhost:4000` in your web browser.

Now any file changes will be updated when you reload pages automatically.
Expand Down
2 changes: 0 additions & 2 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,3 @@ updated automatically on each commit to the repo.

We removed the built versions from the repository because it's a chore to build and commit them manually on each change,
and it often complicates merging branches and managing contributions.

There's a common complaint that Leaflet can't be used with [Bower](http://bower.io/) because of that, but we'll resolve the issue soon.
Loading