Wasn't it gmap_Mika who wrote:
>Thank you Mike! But i've got one more question.. why can't i use here
>{zIndexProcess:myFunction} an integer value in place of "myFunction"?
>can i try for example {zIndexProcess: 10} ?
Well Google could have written a zindex system that takes an integer,
but that would be useless if you want to mix your zindex controlled
markers with ordinary markers, which have a huge range of zindex values.
The actual zindex range of varies between API versions, so don't try to
code directly. Do use GOverlay.getZIndex() if you want to know what
z-index the API would have used.
function importanceOrder (marker,b) {
return GOverlay.getZIndex(marker.getPoint().lat()) +
marker.importance*1000000;
}
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---