Hi! I have a bunch of markers that each represent a pingable object. They all have a neutral color. And when I ping them a reply colors them green and a timeout colors them red.
As it is now neutral markers have an undefined zIndex letting the API handle that. And I set all green markers' zIndex to 0 and all the red ones' to 1. This is an effective way to get the red ones infront of the green ones. But not infront of the neutral ones. As I understand the default zIndex of a marker is calculated out of the latitude. So a marker at latitude 60 will have a zIndex of lets say 60. I know this isn't the correct algortihm because I tried setting green markers to 181 and red to 182 as this would place the markers infront all - but it didn't. Does anybody know what the highest calculaten zIndex for a marker is so that I can just add 1 to that number and be sure that marker is infron of all other markers? TIA! , MacGoose -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
