Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Maps JavaScript API 中的 Places
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
總覽
Maps JavaScript API 提供多種選項,可將 Google 的地點資料整合至應用程式。
地點類別
Place 類別是地點的正式 API 表示法,用於 Places Library。透過 Place 類別,您可以透過智慧搜尋功能,為使用者提供詳細的位置資料,並根據需求自訂搜尋功能。地點服務的資料是現實世界最準確、最新且最全面的地點模型之一。
Places UI Kit
Places UI Kit 是操作簡單、可自訂的低成本元件程式庫,可讓您在應用程式中導入熟悉且值得信賴的 Google 地圖使用者體驗。Places UI Kit 元素位於 Places 程式庫和 Elevation 程式庫。
地點介面集服務 (舊版)
Maps JavaScript API 的 Places Library 包含舊版 Places 服務的方法和資料,這些方法和資料已由 Place 類別取代。如需相關指南,請參閱「遷移至 Places (新版)」,瞭解如何遷移應用程式,改用 Places 程式庫中的 Place 類別。
地點類別arrow_drop_down
「地點」類別提供 API,方便您使用 Places Library,並支援 Promise 等新型使用模式。您可以使用 Place 類別在應用程式中建立位置資訊感知功能,並透過智慧搜尋功能 (可根據需求自訂),向使用者提供詳細的位置資訊資料。地點服務提供的資料是現實世界最準確、最新且全面的地點模型之一。
使用 Maps JavaScript API 功能arrow_drop_down
使用 Maps JavaScript API 服務arrow_drop_down
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-03-04 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-03-04 (世界標準時間)。"],[],[]]