I too found that when toggling a layer off and on, the display stacking 
order was lost.
The answer was to turn all layers off and redisplay the toggle on layers. 
(leaving out the toggled off layers)
Even this did not work correctly as Google had cached the KML layer tiles 
which kept throwing out the order
when I reloaded them.

I had to add a random parameter to the KML url string each time the layers 
were redisplayed.
This worked and they would always display in the correct order, although 
it's a fairly slow workaround as we are avoiding the cached tiles.
A native z-index solution for this would be greatly appreciated.

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