diff options
author | Othmar Gsenger <otti@ffgraz.net> | 2013-11-12 20:37:47 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@ffgraz.net> | 2013-11-12 20:37:47 +0000 |
commit | 3b47c2a1f7fad8ad636aeee6e67d2305d93c236e (patch) | |
tree | 1abb592bec7fceb98c1014b865d927e9cf4d5ec7 | |
parent | 9f28da4440bfcea17490dc2f3a6ac900c762cfbd (diff) |
disable street view
-rw-r--r-- | map3.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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("<a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a>"); //##// var copyOGDGraz = new GCopyrightCollection("Open Government Data Graz"); |