Merge pull request #1252 from umap-project/tilelayer-panel
Do not close panel when switching tilelayer
This commit is contained in:
commit
92fbc0a81c
1 changed files with 0 additions and 1 deletions
|
@ -1219,7 +1219,6 @@ L.U.TileLayerControl = L.Control.extend({
|
||||||
'click',
|
'click',
|
||||||
function () {
|
function () {
|
||||||
this.map.selectTileLayer(tilelayer)
|
this.map.selectTileLayer(tilelayer)
|
||||||
this.map.ui.closePanel()
|
|
||||||
if (options && options.callback) options.callback(tilelayer)
|
if (options && options.callback) options.callback(tilelayer)
|
||||||
},
|
},
|
||||||
this
|
this
|
||||||
|
|
Loading…
Reference in a new issue