mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix: make sure to redraw tile after a .umap import
Broken since 20b2290d00
This commit is contained in:
parent
4070da392a
commit
bf2ed185db
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue