Navigation SDK 提供了多种将导航体验集成到应用中的不同方法。本页介绍了 Google 导航体验是什么,以及它与 Navigation SDK 中提供的其他导航体验有何不同。
什么是 Google 导航体验?
Google 导航体验是指使用 Navigation SDK 嵌入使用 Google 提供的界面元素和视觉效果的精细导航体验,类似于 Google 地图应用中的导航体验。将 Google 导航体验嵌入到应用中时,您无需从头构建导航体验,但仍可以修改部分体验。或者,如果您需要的 Google 导航体验无法提供的更高级别的自定义功能,则可以从 Navigation SDK 请求精细导航 Feed,然后提供和管理自己的界面元素。
正在导航。当应用进入实时导航模式后,它会使用设备位置信息来保持实时导航。您可以配置对您的用例有意义的事件监听器,例如路线变化和到达目的地所剩时间。在导航期间,Navigation SDK 会提供与 Google 地图应用中类似的界面组件。例如,导航体验会显示标准 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"]],["最后更新时间 (UTC):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."]]],[]]