diff --git a/umap/static/umap/js/modules/umap.js b/umap/static/umap/js/modules/umap.js index 68a325d2..ffee4ed0 100644 --- a/umap/static/umap/js/modules/umap.js +++ b/umap/static/umap/js/modules/umap.js @@ -1554,7 +1554,8 @@ export default class Umap extends ServerStored { dataLayer.fromUmapGeoJSON(geojson) } - this._leafletMap.renderUI() + // Do a whole render + this.render(['name', 'tilelayer', 'limitBounds']) this.eachDataLayer((datalayer) => { if (mustReindex) datalayer.reindex() datalayer.redraw()