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
CircleMarker does not override setStyle() and therefore setStyle() only changes PathOptions.
But in the constructor the radius is part of the style.
Use case:
I am generating CircleMarkers from GeoJSON Points using pointToLayer.
When the user zooms in and out, I want to change the style of these CircleMarkers, in particular their color and radius. To do this, I call setStyle() on the generated GeoJSON Layer, but this does not change the radius of the CircleMarkers, only the color.