Maps JavaScript API 當地特色資料庫是一種簡單又靈活的使用者介面小工具,可向使用者顯示指定地點附近重要的觀光景點。當地特色資料庫由互動式地圖組成,側邊面板內含一個由相片圖庫組成的地點選擇器。您可以根據類型篩選地點清單、提供步行路線,以及自訂小工具的外觀。
當地特色資料庫載入時,地圖會填入附近地點的標記,地點選擇器則會顯示各個地點的相片。使用者點擊標記或地點相片時,當地特色資料庫會顯示更多有關所選地點的資訊。
下例顯示沒有任何自訂項目的基本當地特色資料庫地圖:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-20 UTC.