resetStyle method

GeoJson resetStyle([
  1. Layer? layer
])

Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events. If layer is omitted, the style of all features in the current layer is reset.

Implementation

external GeoJson resetStyle([Layer? layer]);