Thanks, good job Andrew. Here is the fixed map (with both hybrid and terrain buttons):
http://travelworldvideos.googlepages.com/home#MyGoogleMap Just 1 new line of code was needed to be added. Changed this: map.addControl(new GMapTypeControl()); into this: map.addControl(new GMapTypeControl()); map.addMapType(G_PHYSICAL_MAP); Bon Voyage !!! TWV. On Aug 10, 2:50 pm, Andrew Leach <[email protected]> wrote: > On Aug 10, 7:42 pm, travelworldvideos <[email protected]> > wrote: > > > > > My site coded map has the Hybrid button, but the marked map has the > > Terrain button. Is there anyway to mess around with my API code to get > > same button scheme like the marked map, so the 2 are synced up, as far > > as the UI goes? Was not sure where to search to get a reading > > reference for this. > > Terrain is G_PHYSICAL_MAP; add that map type and you get the > button.http://code.google.com/apis/maps/documentation/reference.html#GMapTyp... > > The Satellite/Hybrid hierarchy is > GHierarchicalMapTypeControl():http://code.google.com/apis/maps/documentation/reference.html#GHierar... > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
