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-01-14 (世界標準時間)。"],[[["The Google Navigation SDK enables developers to easily integrate turn-by-turn navigation into their apps using pre-built UI elements similar to the Google Maps app."],["Developers can customize aspects of the Google navigation experience like color schemes, camera views, and guidance information, but for full control, a custom navigation experience is recommended."],["The Google navigation experience involves a three-step flow: starting navigation by defining the destination, active navigation with real-time guidance, and stopping navigation upon arrival."],["The Navigation SDK offers various options for modifying the navigation UI, such as showing or hiding elements, adjusting traffic and speed limit information, and customizing the map and camera."]]],[]]