On Jun 17, 2:34 am, dwieeb <[email protected]> wrote:
>
> Is there a way I can order these layers via some z-index property of
> the KmlLayers object?
>
they are displayed as one tile layer, and to control the display
order, you need to call setMap() in the correct order.  Because
setMap() is asynchronous, you need to have code to ensure the next
layer is added after the previous one is ready.  I found that the
'defaultviewport_changed' event can be used for this.  See the
following example for 4 layers:

http://www.william-map.com/20100617/1/map.htm

...

-- 
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.

Reply via email to