Just noticed you creating a v1 GMap object
var map = new GMap(document.getElementById("map"));
really should be GMap2
GMap is just provided for compatiblity. Shouldnt really use it, it
might not be totally compatible.
On Mon, Feb 27, 2012 at 4:56 PM, GeoChallenger <[email protected]> wrote:
> Thanks for the reply Barry.
>
> After removing the second two lines though, the default map type is still
> not changed to the terrain layer.
>
> Any other thoughts?
>
> Thanks Again.
>
>
>
>
> On Monday, February 27, 2012 10:46:17 AM UTC-6, barryhunter wrote:
>>
>> You set it correctly, then set it wrongly
>>
>> map.addMapType(G_PHYSICAL_MAP);
>> map.setMapType(G_PHYSICAL_MAP);
>> maptype = 'G_PHYSICAL_MAP';
>> map.setMapType(maptype);
>>
>> You only need the first two lines, not the second two.
>>
>>
>> On Mon, Feb 27, 2012 at 3:13 PM, GeoChallenger wrote:
>> >
>> > I have tried several different things that I have read from the forums
>> > and tutorials to get the default view to show up as the Terrain. I am still
>> > not able to get it to work correctly. I have gotten the Terrain button to
>> > work correctly, but am having troubles adjusting to a terrain as the
>> > default
>> > type.
>> >
>> > Here is the link: http://gradyandchrista.com/mapXmlTabsDirections.html
>> >
>> > Any help would be GREATLY appreciated.
>> >
>> > Thanks for your time.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Google Maps API V2" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/google-maps-api/-/PZ_w9xsPM5cJ.
>> > 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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API V2" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-api/-/LsIObF9T8BgJ.
>
> 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.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.