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

mininmap is displayed over the leaflet layer menu #122

Open
sfeakes opened this issue Jan 10, 2017 · 3 comments
Open

mininmap is displayed over the leaflet layer menu #122

sfeakes opened this issue Jan 10, 2017 · 3 comments
Labels

Comments

@sfeakes
Copy link

sfeakes commented Jan 10, 2017

As can be seen in the below example
https://jsfiddle.net/bh201jaj/
When the minimap is at the bottom of the display (ie can't be lowered in the Y index), the default behavior is for it to be shown over the top of the standard Leaflet layer control menu. I assume this is incorrect and it should be under the leaflet dropdown menu so people can select items.
Any idea on how to change this?

@robpvn
Copy link
Contributor

robpvn commented Jan 11, 2017

True, it shouldn't behave like that. The easiest workaround is to minimise the minimap with the toggle so that you can access the menu, but of course that doesn't actually solve the problem. I think we'll probably have to write some css for the minimap that makes sure it's behind the layer-control on the Z-axis, whatever depth the layer control is at.

@robpvn robpvn added the bug label Jan 11, 2017
@madeinspace
Copy link

Has this been fixed? I'm on 3.6.0 and I'm having the exact same problem with tooltip

@robpvn
Copy link
Contributor

robpvn commented Aug 16, 2018

Nope, it hasn't been fixed yet but it shouldn't be too hard to figure out the CSS stuff if you want to have a crack at it. Sorry about the late response!

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

3 participants