Hello,
I would like to integrate the wikipedia and panoramio Overlays into my
Googlemaps, but i need the possibility to turn this overlays on and
off by clicking in the map. Up to now I realized this by creating a
new maptype for these overlays and than set up an eventHandler for the
MapTypeChanged event that checks if the choosen maptype is the overlay
maptype and than activate the overlays.

The reason for this is that as far as I know overlays can only be
added to a map by the map.addOverlay() function.

Has anyone here an idea how this problem can be solved in a more
elegant way because this way does not always work properly and does
not look very pretty.

thanks,
Heiko Teiken
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to