0

Google released an update to v3 of the gmap api which enables streetview by default. This change explicitly disables it.

This commit is contained in:
Gregory Short
2010-10-11 23:41:59 -05:00
parent a4c0e786a1
commit 33b6230bab

View File

@@ -205,6 +205,7 @@
navigationControl: true, navigationControl: true,
scaleControl: false, scaleControl: false,
mapTypeControl: false, mapTypeControl: false,
streetViewControl: false,
mapTypeId: 'mcmap' mapTypeId: 'mcmap'
}; };
map = new google.maps.Map(document.getElementById("mcmap"), mapOptions); map = new google.maps.Map(document.getElementById("mcmap"), mapOptions);