Tiago Marques
Tiago Marques

Reputation: 3

LeafletJS: Is it possible to show an ImageOverlay over a VectorLayer?

When I call "img_overlay_layer.bringToFront()" method it only brings it to the top of overlay images layers. Is there any possibility of making an image overlay appear on top of vector layers?

I need the ability to show a pile like this (top to bottom):

Thank you in advance for your time and help.

Upvotes: 0

Views: 308

Answers (1)

IvanSanchez
IvanSanchez

Reputation: 19059

Use Leaflet's map panes feature in order to achieve precise separation and z-index ordering of your layers.

Upvotes: 1

Related Questions