0
我試圖將選項添加到基於此頁面上我的谷歌地圖: https://developers.google.com/maps/documentation/javascript/reference#MapOptions谷歌地圖API選項 - 不登記
然而,僅落後:虛假的作品!你仍然可以雙擊,UI仍然存在。
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(-33.8688, 151.2195),
zoom: 13,
mapTypeId: google.maps.MapTypeId.ROADMAP,
draggable:false,
disableDoubleClickZoom:false,
disableDefaultUI:false,
keyboardShortcuts:false,
};
鏈接代碼: http://jsfiddle.net/qcPgL/4/
我在哪裏出了問題嗎?