所以我在使用自定义图block的Googlemap上遇到了问题,但我设法将其简化为以下示例。以simpleexampleGoogleprovidewithcontrols我添加了行map.enableScrollWheelZoom();这给了我简单的HTML:GoogleMapsJavaScriptAPIExample:Controlsfunctioninitialize(){if(GBrowserIsCompatible()){varmap=newGMap2(document.getElementById("map_canvas"))map.setCenter(newGLatLng(
所以我在使用自定义图block的Googlemap上遇到了问题,但我设法将其简化为以下示例。以simpleexampleGoogleprovidewithcontrols我添加了行map.enableScrollWheelZoom();这给了我简单的HTML:GoogleMapsJavaScriptAPIExample:Controlsfunctioninitialize(){if(GBrowserIsCompatible()){varmap=newGMap2(document.getElementById("map_canvas"))map.setCenter(newGLatLng(