mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix: do not redraw tilelayers each time a map property is changed (#2342)
This commit is contained in:
commit
92431d3b83
1 changed files with 1 additions and 1 deletions
|
@ -279,12 +279,12 @@ export const LeafletMap = BaseMap.extend({
|
|||
this.initControls()
|
||||
// Needs locate control and hash to exist
|
||||
this.initCenter()
|
||||
this.initTileLayers()
|
||||
this.renderUI()
|
||||
},
|
||||
|
||||
renderUI: function () {
|
||||
setOptions(this, this._umap.properties)
|
||||
this.initTileLayers()
|
||||
// Needs tilelayer to exist for minimap
|
||||
this.renderControls()
|
||||
this.handleLimitBounds()
|
||||
|
|
Loading…
Reference in a new issue