On Jun 17, 8:53 pm, William <[email protected]> wrote: > 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.
Okay, so it is as simple (and ugly) as making some logic that will always display the layers in the correct order, even after the user show/hides them. I wish there was a better way. I think I can make this work though, thanks guys. -- 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.
