I am working on a project that requires dynamic adding/removing/reordering of map layers. It seems that layers are always rendered in the order they are added. Dynamically changing the order on-the-fly does not cause the map to re-render to reflect the new order.
Is there a way to manually force a re-render of the map? Or to set the z-index of the layer?
I am working on a project that requires dynamic adding/removing/reordering of map layers. It seems that layers are always rendered in the order they are added. Dynamically changing the order on-the-fly does not cause the map to re-render to reflect the new order.
Is there a way to manually force a re-render of the map? Or to set the z-index of the layer?