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

ol.Overlay: let the user manage z-index #8056

Closed
levinzz opened this issue Apr 4, 2018 · 1 comment
Closed

ol.Overlay: let the user manage z-index #8056

levinzz opened this issue Apr 4, 2018 · 1 comment

Comments

@levinzz
Copy link

levinzz commented Apr 4, 2018

I'm creating popups on a map using ol.Overlay. When I click on a popup, I want it to get to the front (z-index above other popups z-index). I manage the z-indexes myself within the application and update z-index values when needed.

However, I found currently no way to update an ol.Overlay z-index using its API.

My current workaround is through complex DOM manipulation but I feel this is really a hack.

@fredj
Copy link
Member

fredj commented Jun 18, 2018

This kind of feature should be handled in application code, not in OpenLayers

@fredj fredj closed this as completed Jun 18, 2018
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