Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icon other than blue circle for cluster selected feature #1101

Open
jeff-rossi-di opened this issue Sep 4, 2024 · 1 comment
Open

icon other than blue circle for cluster selected feature #1101

jeff-rossi-di opened this issue Sep 4, 2024 · 1 comment
Labels

Comments

@jeff-rossi-di
Copy link

I have been trying to override the default behavior with no success

I have image icons with selected versions and would like to display the selected icon in place of the blue dot

@Viglino
Copy link
Owner

Viglino commented Sep 16, 2024

The SelectCluster interaction is a subclass of Openlayers Select interaction and you can use a style options to define the style of the features when selected.
See: https://openlayers.org/en/latest/apidoc/module-ol_interaction_Select.html
See example: https://viglino.github.io/ol-ext/examples/map/map.clustering.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants