mirror of
https://github.com/umap-project/umap.git
synced 2025-05-01 04:22:24 +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 () {
|
_redraw: function () {
|
||||||
this._initIcon()
|
// May no be on the map when in a cluster.
|
||||||
this.update()
|
if (this._map) {
|
||||||
|
this._initIcon()
|
||||||
|
this.update()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getCenter: function () {
|
getCenter: function () {
|
||||||
|
|
Loading…
Reference in a new issue