總覽
Maps JavaScript API 是用戶端網頁 API,可讓您建立地圖來顯示世界各地的位置、加入自訂圖像、動畫和互動式自訂資料層,以及在 Maps JavaScript API 中使用 Places API 建立位置感知功能。使用 Maps JavaScript API,您可以:
- 製作 2D 和 3D 地圖,顯示世界各地的位置。
- 在地圖上新增可自訂的標記,指出特定位置。
- 使用 Places Library 取得超過 2 億個地點的位置資料。
- 自訂地圖樣式和顏色。
- 新增自己的互動式自訂資料層。
- 顯示行政界線,並提供互動功能。
- 在地圖中加入自訂 2D 和 3D 圖形及動畫內容。
後續步驟
使用 Maps JavaScript API 功能arrow_drop_down
使用 Maps JavaScript API 服務arrow_drop_down
使用 Maps JavaScript API 程式庫arrow_drop_down
查看地圖功能範例程式碼
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-09 (世界標準時間)。
[null,null,["上次更新時間:2025-07-09 (世界標準時間)。"],[[["The Maps JavaScript API lets you create interactive, customizable maps for websites, incorporating 2D and 3D views, markers, and custom data."],["Developers can leverage the Places Library for location data, style maps to their liking, and display administrative boundaries."],["A suite of services such as Directions, Distance Matrix, and Street View, along with libraries like Drawing and Geometry, further enhance functionality."],["Users can easily set up their projects using provided guides on Cloud project setup, API keys, loading the API, and adding maps to web pages."],["Google provides comprehensive documentation with tutorials, examples, and resources for various features, services, and libraries."]]],[]]