I am using here maps for Turn-by-Turn Navigation in Android. I want to set the orientation of the marker in Navigation with the device orientation, in other words, I want to put device orientation info into here maps.
Eg. My destination is towards east but I am facing west so Navigation should tell me to take 'U' turn and then proceed instead of start moving the pointer.
So is there any api in Nokia here maps which does this or here maps does this inside the sdk while initializing Navigation.
答案 0 :(得分:1)
HERE MapMarker
API不提供直接执行此操作的功能。 MapMarker
默认行为是自动定位,以便标记图像始终面向"向上"在屏幕上(地图)。目前无法覆盖此行为。
您可以尝试的一件事是根据您的要求轮播您要添加到Image
的实际MapMarker
,并使用轮换的MapMarker
更新Image
。< / p>