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):2024-12-22。"],[[["The Navigation SDK offers the Google navigation experience, providing a pre-built, customizable turn-by-turn navigation feature similar to Google Maps."],["Developers can initiate, manage, and conclude navigation using the Navigation SDK, controlling aspects like destination setting and event handling."],["While utilizing the Google navigation experience, developers have the flexibility to customize UI elements such as color schemes, camera views, and turn guidance displays."],["For 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."]]],[]]