Reputation: 101
I need to change the style so that when I select a polygon from my layer it doesn't have the blue line as it is in this image. Does anyone know where I make this change with Openlayers?
Upvotes: 0
Views: 1337
Reputation: 3463
I assume you are using the Select
interaction - it has a style
parameter as described in the docs:
https://openlayers.org/en/latest/apidoc/module-ol_interaction_Select-Select.html
There is also an example for this:
https://openlayers.org/en/latest/examples/select-features.html
Upvotes: 1