1

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?

RHA
  • 3,677
  • 4
  • 25
  • 48
Siarhei
  • 2,358
  • 3
  • 27
  • 63

1 Answers1

1

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

David Leong
  • 1,662
  • 1
  • 11
  • 7
  • Hi, i've tried this one. When i got coordinates i would like to display name, but it returns empty name in my case (but i saw street name's on the map) – Siarhei Jan 17 '17 at 14:10
  • 1
    How about after waiting and moving a bit. The map matcher may not have locked or found a match for the position yet. – David Leong Jan 17 '17 at 22:10