From e8f9ed5a9dd35ea724b2ac425351a49dfca03d77 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 10 Aug 2023 07:10:27 +0200 Subject: [PATCH] Do not close panel when switching tilelayer fix #190 --- umap/static/umap/js/umap.controls.js | 1 - 1 file changed, 1 deletion(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 0c1bc9c1..f87a2279 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -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