You can dynamically change the z-order of the layers on the map to make the layers important to your
use case visible on top of other layers.
Sample use case : You placed images on the map in your app but your users can bring the route
and the road network on top of the images to see what the route looks like in detail.
Images
let layersImages = currentStyle.getLayersByRegex("img-id.*")