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

Custom styles for map spots #1565

Closed
AndyBaird opened this issue Feb 21, 2025 · 3 comments
Closed

Custom styles for map spots #1565

AndyBaird opened this issue Feb 21, 2025 · 3 comments
Labels

Comments

@AndyBaird
Copy link

Describe the feature

Our use case for the map requires us to be able to change the z-index of the spots on the map. I was thinking the best approach might be to have a generic style property added to spotStyle so any custom inline styles could be applied.

Alternatives you've considered

No response

Additional context

v. 5.12

@mistic100
Copy link
Owner

mistic100 commented Feb 22, 2025

Could you give an example ?

The map is a canvas, elements cannot be styled with CSS.

@mistic100
Copy link
Owner

I can add a zIndex option if that's ok for you.

@AndyBaird
Copy link
Author

Yes, adding the Z-index would work for our use case, thanks!

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