I am creating a Google Maps website with markers placed on a map. Markers overlap several times, so I want to be able to interactively display specific ones on the front marker.
I can use setZIndex () for this. But I need to know the initial max zindex of all tokens. getZIndex () is useless, as it does not seem to return anything unless you already called setZIndex ().
It would be tempting to say that โjust start with a very large numberโ, but I believe that Google uses latitude or something to calculate the initial zIndex, so can the maximum zindex vary? Make this scheme risky.
Does anyone know what the maximum starting zIndex will be for N markers in Google Maps V3?
z-index google-maps-api-3 google-maps-markers
spiderplant0
source share