On Nov 8, 7:06 am, rlk27 <[email protected]> wrote: > Is there any calculation to get the zIndex based on the coordinates? Any > example or link would be appreciated.
I do it in most of my maps. See these examples ported to v3 from Mike Williams' v2 tutorial: http://www.geocodezip.com/v3_MW_example_map1.html http://www.geocodezip.com/v3_MW_example_map2.html They do this: zIndex: Math.round(latlng.lat()*-100000)<<5 -- Larry -- 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.
