Do not close panel when switching tilelayer

fix #190
This commit is contained in:
Yohan Boniface 2023-08-10 07:10:27 +02:00
parent 8758c0dc65
commit e8f9ed5a9d

View file

@ -1216,7 +1216,6 @@ L.U.TileLayerControl = L.Control.extend({
'click',
function () {
this.map.selectTileLayer(tilelayer)
this.map.ui.closePanel()
if (options && options.callback) options.callback(tilelayer)
},
this