Skip to content

How to set "layer height"/"Z index" of markers and layers? #76

Answered by dimfeld
myrkvi asked this question in Q&A
Discussion options

You must be logged in to vote

Hm I got it to work at https://github.com/dimfeld/svelte-maplibre/blob/master/src/routes/tests/marker-z-index/%2Bpage.svelte.

Note that it doesn't work if the z-index is applied to the element inside the Marker; it has to be applied on the Marker/MarkerLayer components themselves.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@dimfeld
Comment options

@myrkvi
Comment options

@dimfeld
Comment options

Answer selected by myrkvi
@myrkvi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants