Navigation SDK 提供多種方式,可將導航體驗整合至應用程式。本頁說明 Google 導航體驗,以及與 Navigation SDK 中其他導航體驗的差異。
什麼是 Google 導覽體驗?
Google 導覽體驗是指使用 Navigation SDK 嵌入行車路線導航體驗,並採用 Google 提供的 UI 元素和視覺效果,與 Google 地圖應用程式中的導覽體驗類似。在應用程式中嵌入 Google 導覽體驗時,您不必從頭建構導覽體驗,但仍可修改部分體驗。此外,如果您需要比 Google 導航體驗提供的更多自訂選項,可以從 Navigation SDK 要求行車路線導航動態饋給,然後提供及管理自己的 UI 元素。
啟用導覽。應用程式進入主動導航模式後,就會使用裝置位置資訊維持主動導引。您可以設定對用途有意義的事件監聽器,例如路線變更和抵達目的地的剩餘時間。在導航期間,Navigation SDK 會提供與 Google 地圖應用程式類似的 UI 元件。舉例來說,導航體驗會顯示標準 Google 地圖圖層,以及轉彎指引資訊卡、路況圖層、替代路線和速限等視覺資訊。
[[["容易理解","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-09-10 (世界標準時間)。"],[[["\u003cp\u003eThe Navigation SDK offers the Google navigation experience, providing a pre-built, customizable turn-by-turn navigation feature similar to Google Maps.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can initiate, manage, and conclude navigation using the Navigation SDK, controlling aspects like destination setting and event handling.\u003c/p\u003e\n"],["\u003cp\u003eWhile utilizing the Google navigation experience, developers have the flexibility to customize UI elements such as color schemes, camera views, and turn guidance displays.\u003c/p\u003e\n"],["\u003cp\u003eFor advanced customization beyond the provided options, developers can opt for a custom navigation experience by requesting a turn-by-turn navigation feed and building their own UI.\u003c/p\u003e\n"]]],[],null,[]]