Here map 3.3. How to get current user position street name?

 ̄綄美尐妖づ 提交于 2019-12-13 00:34:22

问题


I am using android HERE sdk 3.3.0. I've find current location by using PositioningManager then onPositionUpdated triggered

 public void onPositionUpdated(PositioningManager.LocationMethod method,GeoPosition position,boolean isMapMatched)
 {
     map.setCenter(position.getCoordinate(),Map.Animation.NONE);
 }

After this method I want to get street name which user stand. how can i get that?


回答1:


Please call PositioningManager#getRoadElement(), it will return the current map matched street name.



来源:https://stackoverflow.com/questions/41298630/here-map-3-3-how-to-get-current-user-position-street-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!