Hi all,

i have a problem with IE (strange thing)
I have a map with a kml layer and a overlayView with a lot of polygon.

I do the setMap of kmlLayer before that the overlayLayer but the kml
is painted over the other.
To change this i do something like this:

isKlmLoading = true;
kmlLayer.setMap(map);
var listener = g.event.addListener(kmlLayer, 'metadata_changed',
function(){
        isKlmLoading = false;
        showOverlay(map, zoom);
        g.event.removeListener(listener);
});

In showOverlay
if (!isKlmLoading)
        overlay.setMap(map);


It work with every browser but IE seem that sometimes is not firing
the metadata_changed event.
In every zoom change I need to change the kmllayer and the
overlaylayer. On load it work, and the the first time that i go to a
zoom, the kml is loaded but the event is not fired, the second time
that i go to the same zoom, the event is fired...
What can I do (forgettin IE is not a solution ;) )?

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