到這", opts); // 建立357171澳门开什么民间高手信息窗口對象infoWindow.disableAutoPan();marker.openInfoWindow(infoWindow);map.centerAndZoom(thisPoint,zoomParam);}//公交線路查詢function bus_end(){ var nowaddress = document.getElementById("point_end_show").value;nowaddress = nowaddress ? nowaddress : document.getElementById("point_end").value;document.getElementById("point_end_box").innerHTML = '正為您獲得香港今天开马多少号公交線路,請稍後...';//map.centerAndZoom(thisPoint, 14); var driving = new BMap.TransitRoute(map, { renderOptions: {map: map, panel: "results", autoViewport: true} }); driving.setPolicy(BMAP_TRANSIT_POLICY_LEAST_WALKING);driving.setSearchCompleteCallback(function(results){if(results.getNumPlans()==0){alert('抱愧2020年澳门正版资料大全香香,沒法2020年澳门正版资料大全香香查詢到公交線路,請填具體終點地址');}});driving.setPageCapacity(5);driving.setResultsHtmlSetCallback(function(){show_thendrive();if(scrollObj)scrollObj.refresh();});driving.search(nowaddress, thisPoint); }//自駕線路查詢function drive_end(){ var nowaddress = document.getElementById("point_end_show").value; nowaddress = nowaddress ? nowaddress : document.getElementById("point_end").value;document.getElementById("point_end_box").innerHTML = '正為您獲得自駕車線路,請稍後...';//map.centerAndZoom(thisPoint, 14); var driving = new BMap.DrivingRoute(map, {renderOptions: {map: map, panel: "results", autoViewport: true}});driving.setSearchCompleteCallback(function(results){if(results.taxiFare==null){alert('抱愧香港今天开马多少号,暫無自駕線路香港今天开马多少号可供參考,請填具體終點地址');}else{//alert("打車總費用為:"+results.taxiFare.day.totalFare+"元");}});driving.setResultsHtmlSetCallback(function(){show_thendrive();if(scrollObj)scrollObj.refresh();});driving.search(nowaddress, thisPoint); }function show_thendrive(){document.getElementById("showRoute").style.display = 'none';document.getElementById("results_box").style.display = 'block';if(frameElement.height == frameElementMinHeight)Controlonclick();}function hide_thendrive(isclose){if(isclose)document.getElementById("showRoute").style.display = 'block';document.getElementById("results_box").style.display = 'none';}function GetCityName(result){var cityName = result.name;//map.setCenter(cityName);document.getElementById("point_end").value = cityName; }if (window.BMap){var GetMyCity = new BMap.LocalCity();GetMyCity.get(GetCityName);}