From 3b47c2a1f7fad8ad636aeee6e67d2305d93c236e Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 12 Nov 2013 20:37:47 +0000 Subject: disable street view --- map3.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'map3.js') diff --git a/map3.js b/map3.js index eff52d1..f1060eb 100644 --- a/map3.js +++ b/map3.js @@ -24,6 +24,7 @@ function initialize(lat, lng, res) { var mapOptions = { center: new google.maps.LatLng(lat, lng), zoom: res, + streetViewControl: false, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { mapTypeIds: [google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.HYBRID , google.maps.MapTypeId.SATELLITE , google.maps.MapTypeId.TERRAIN ], @@ -32,6 +33,7 @@ function initialize(lat, lng, res) { }; map = new google.maps.Map(document.getElementById("map"), mapOptions); +//##// deaktiviert 2013112 goole maps api v3 incompatibel //##// map.disableDoubleClickZoom(); //##// map.enableScrollWheelZoom(); @@ -40,7 +42,6 @@ function initialize(lat, lng, res) { //##// map.addMapType(G_PHYSICAL_MAP); // map.setMapType(G_HYBRID_MAP); -//##// deaktiviert 2013112 goole maps api v3 incompatibel //##// // openStreetMap //##// var copyOSM = new GCopyrightCollection("OpenStreetMap"); //##// var copyOGDGraz = new GCopyrightCollection("Open Government Data Graz"); -- cgit v1.2.1