您可以使用標記在地圖上顯示單一位置。本指南將說明如何使用進階標記。您可以運用進階標記,建立及自訂效能卓越的標記,並製作可回應 DOM 點擊事件和鍵盤輸入的標記。如果需要進一步自訂,進階標記支援使用自訂 HTML 和 CSS,包括建立完全自訂的標記。您可以在 3D 應用程式中利用進階標記,設定顯示標記的海拔高度。光柵地圖和向量地圖都支援進階標記 (但光柵地圖無法使用部分功能)。使用進階標記時,必須提供地圖 ID (可使用 DEMO_MAP_ID)。
[[["容易理解","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"]],["上次更新時間:2025-01-14 (世界標準時間)。"],[[["Advanced markers offer highly performant and customizable options for displaying single locations on Google Maps, including custom HTML and CSS for unique designs."],["They are accessible, responding to DOM click events and keyboard input for enhanced user interaction."],["Customization options include changing color, scale, icon image, and creating custom HTML markers with interactive elements and animations."],["Altitude control is available for 3D applications, enabling precise marker placement in three-dimensional spaces, although this feature is limited to vector maps."],["Advanced markers are compatible with both raster and vector maps, requiring a map ID for implementation, and offer improved performance compared to legacy markers."]]],[]]