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

Style for bbox rectangle of overviewMap #2262

Open
guidoheckmann opened this issue Feb 7, 2022 · 2 comments
Open

Style for bbox rectangle of overviewMap #2262

guidoheckmann opened this issue Feb 7, 2022 · 2 comments

Comments

@guidoheckmann
Copy link

I have just a question: How can I define a style for a non default look of the bbox rectangle of overviewMap? I would like to give it another color, opacity and border stroke. Found nothing useful in the docs except that you have to give a style name to the style attribute of !overviewMap.
Kind regards, help would be great!
Guido

@sbrunner
Copy link
Member

sbrunner commented Feb 7, 2022

Here you have an example:


I think that you can also put the style directly in the config file.

@guidoheckmann
Copy link
Author

Hi Stéphane, this does it!
Thanks and kind regards
Guido

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

No branches or pull requests

2 participants