I have county polygons in GeoJSON format. Obviously, some of the counties share an edge.
When a county is hovered over, the stroke and fill change to a red color.
The problem is that the stroke of some of the polygons is covered by the one next to it.
Is there a way to reorder the features so that the feature that is hovered over moves to the top?
I've seen that there's a
bringToFront method, but that is for a layer, not a feature.