以下用到基本Google Maps API 的部份就不再詳細解說。 ... panTo是平滑移動、setCenter是直接改變地圖中心. this.map.panTo(searchCenter);.
確定! 回上一頁