This example shows how to arrange the visibility order of markers by clicking them. Zoom in and out to overlap markers and try re-arranging them.

Code

This example uses marker's z-index value to set its rendering order.