On Jun 23, 1:10 pm, dwieeb <
dwi...@gmail.com> 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.
William - your solution works great for polygons. For some reason
when I'm loading my polyline KML files, the 'addListenerOnce' method
withing the setMapLayer function is not firing. Any ideas what's
going on with this? The KMLs themselves load fine when executed
normally, except for the cursed lack of zIndex control for them of
course.