You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, it looks like this can be sometimes be achieved by removing and re-adding the circle, e.g.,
circle.remove();
circle.options.editable = false;
circle._updateCircle(); // <-- this re-initializes internal values of the circle
circle.addTo(map);
I can't say for certain if the above is always a safe approach. It is likely safer to just re-create the circle entirely instead of doing the above (e.g., create a copyCircle function).
Its good if support dynamic options like fillcolor / editable will change dynamically.
#feature_request
The text was updated successfully, but these errors were encountered: