如何在 HERE SDK 中获取 Turn By Turn 指令

How to get Turn By Turn Instruction in HERE SDK

我想像图片一样显示导航的转弯指令

我曾尝试添加 LaneInfoListener,但没有任何显示 此功能是否包含在 HERE SDK 中或需要使用来自 getNextManeuver() 的数据 我可以知道如何获得它吗?

按照HERE SDK的说明,第一种方法应该是你的问题。

从那里您只需操纵路线 variables/problems(交通、红绿灯、环岛、道路问题等...)来决定需要采取的最佳行动。

看看这个

public static final enumeration Maneuver.Action

Represents values describing the possible actions of a Maneuver.

From: https://developer.here.com/mobile-sdks/documentation/android/topics_api_nlp/com-here-android-mpa-routing-maneuver.html

SDK com.here.android.routing.Maneuver class 提供构建指令所需的所有片段。我们不提供构建完整句子的本地化,因为那是特定于应用程序的逻辑。该图标仅用于演示,不提供。请创建一些视觉资产以映射机动转弯类型。