mirror of
https://github.com/umap-project/umap.git
synced 2025-04-30 20:12:37 +02:00
wip: do not try to redraw cluserized marker
This commit is contained in:
parent
565f6d87b6
commit
1bbdaa4c90
1 changed files with 5 additions and 2 deletions
|
@ -205,8 +205,11 @@ export const LeafletMarker = Marker.extend({
|
|||
},
|
||||
|
||||
_redraw: function () {
|
||||
this._initIcon()
|
||||
this.update()
|
||||
// May no be on the map when in a cluster.
|
||||
if (this._map) {
|
||||
this._initIcon()
|
||||
this.update()
|
||||
}
|
||||
},
|
||||
|
||||
getCenter: function () {
|
||||
|
|
Loading…
Reference in a new issue