You could listen for the "maptypechanged" event. Keep a global variable to remember what the previous map type was.
When "maptypechanged" triggers, if the remembered map type was G_SATELLITE_3D_MAP then reinitialize your custom controls. Then store the map.getCurrentMapType() in your PreviousMapType variable. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
