Merge pull request #1201 from umap-project/bump-leaflet
Bump Leaflet to 1.9.4
This commit is contained in:
commit
adb325bb79
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
"csv2geojson": "5.1.1",
|
||||
"dompurify": "^3.0.3",
|
||||
"georsstogeojson": "^0.1.0",
|
||||
"leaflet": "1.3.4",
|
||||
"leaflet": "1.9.4",
|
||||
"leaflet-contextmenu": "^1.4.0",
|
||||
"leaflet-editable": "^1.2.0",
|
||||
"leaflet-editinosm": "0.2.3",
|
||||
|
|
|
@ -1060,7 +1060,7 @@ L.U.DataLayer = L.Evented.extend({
|
|||
},
|
||||
|
||||
isVisible: function () {
|
||||
return this.map.hasLayer(this.layer)
|
||||
return this.layer && this.map.hasLayer(this.layer)
|
||||
},
|
||||
|
||||
canBrowse: function () {
|
||||
|
|
Loading…
Reference in a new issue