Tommy B
Posts: 0
Joined: Sat Sep 15, 2012 3:39 am

Set Google Map to default to Satellite View with displayed

First off, thanks for the info.once again your support is awesome.

I started searching the support site for another google map question and came across this.

codemap.gmap.mapTypeId = google.maps.MapTypeId.SATELLITE;/code

So I have this on my "Success" javascript and it is working great.

precode
var map = Appery('googlemap_65');
var getlat = Appery ('latLbl').text();
var getlong = Appery ('longLbl').text();

map.options['latitude'] = getlat;
map.options['longitude'] = getlong;
map.gmap.mapTypeId = google.maps.MapTypeId.SATELLITE;
map.refresh();
/code/pre

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Set Google Map to default to Satellite View with displayed

Tommy, thank you for sharing that! :)

Return to “Issues”