简体   繁体   English

位置标记在重新路由HERE Maps Premium SDK之前一直走错路线

[英]position marker keeps going on false route before rerouting HERE maps premium sdk

is it possible on here android sdk to force positioning marker to stop before calculating new route? android sdk是否有可能在计算新路线之前强制定位标记停止?

we tested this case which other navigations their marker stops then continue on new route but here positioning marker indepentently moving along a wrong path even the car turned to another street. 我们测试了这种情况,其他导航器的标记停下来,然后继续沿新路线行驶,但在此情况下,即使汽车转向了另一条街道,标记也会独立地沿着错误的路径移动。

You are probably looking for this API. 您可能正在寻找此API。 NavigationManager#setMapUpdateMode . NavigationManager#setMapUpdateMode It takes an enum MapUpdateMode . 它需要一个枚举MapUpdateMode If you use POSITION or POSITION_ANIMATION it should do what you are suggesting. 如果您使用POSITION或POSITION_ANIMATION,它应该按照您的建议进行操作。

This feature is called map matached navigation with extrapolation. 此功能称为带有外推法的地图匹配导航。 The extrapolation is what is causing the marker to keep moving. 外推是导致标记继续移动的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM