此处地图导航-留下痕迹 [英] Here maps navigation - trace left behind

查看:49
本文介绍了此处地图导航-留下痕迹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Here映射sdk用作导航解决方案,到目前为止,一切都很好,但有一点不便. 在导航模式下,我看到了如何在3D模式下围绕当前位置渲染计算出的路线,以及当前位置如何正确显示在地图上(在onPositionUpdated回调中接收到).但是,如果我缩小地图或只是向上滑动以查看整个路线,就会看到剩下的路线部分仍在地图上可见. 我希望对每个新的gps位置重新计算路线,并从新接收的gps位置开始绘制到目标点.

I'm using Here maps sdk as a navigation solution, all good so far except for this little inconvenient. While in navigation mode, I see how the calculated route gets rendered around current position in 3D mode, and the current position properly displayed on the map (received in onPositionUpdated callback). But if I zoom out the map or just swipe it up to see the whole route, I see how the part of the route left behind is still visible on the map. I expected to have the route recalculated with every new gps position, and drawn starting from the newly received gps position to the destination point.

此问题与当前位置不在路线之外的情况无关(我知道可以通过RerouteListener解决).

This issue doesn't refer to the case where current position goes outside the route (which I know it can be solved with RerouteListener).

推荐答案

您希望地图上绘制的路线随着用户行驶路线而逐渐缩小吗?如果是这样,此功能称为路由消耗",目前不支持.

Do you expect the route drawn on the map incrementally shrinks as the user travels the route? If so, this feature is called route eat-up and is currently not supported.

当前是将来版本的功能.

Currently a feature for a future release.

这篇关于此处地图导航-留下痕迹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆