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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user