My custom map implementation was working fine until this morning.

        map = new GMap2(document.getElementById("map"), {mapTypes:
[]});

Now I can't create a new GMap2 object with an empty mapTypes[]
array.   What gives?

        Error: map is undefined

I try to remove all GMapTypes and G_SATELLITE_MAP won't go away.

        map = new GMap2(document.getElementById("map"));

        map.removeMapType(G_NORMAL_MAP);
        map.removeMapType(G_HYBRID_MAP);
        map.removeMapType(G_SATELLITE_MAP);
        map.removeMapType(G_PHYSICAL_MAP);

 Anyone care to define my ignorance when dealing with the mapTypes[]
array?   Why did my implementation work up until today?  Was something
deprecated?

 I have a custom mapTypes Array with my own menu options.  I just want
to get rid of the default GMapTypes.


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