resetStyle calls resetFeatureStyle on every feature in the layer. This ends up causing a huge amount of extra calls since it calls since the happens N * N times.
This PR simply changes this to call resetFeatureStyle directly for the specific feature.
This should resolve #1340 which is a result of an error I made in #1304.
redraw
.resetStyle
resetStyle
callsresetFeatureStyle
on every feature in the layer. This ends up causing a huge amount of extra calls since it calls since the happensN * N
times.This PR simply changes this to call
resetFeatureStyle
directly for the specific feature.