wip: do not try to redraw cluserized marker

This commit is contained in:
Yohan Boniface 2024-07-26 15:45:51 +02:00
parent 565f6d87b6
commit 1bbdaa4c90

View file

@ -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 () {