Select to view content in your preferred language

Maintain map rotation for driving directions on ArcGIS Runtime for Andriod

2587
1
07-01-2015 06:02 PM
선헌__Seon-heon_Lee_이
Emerging Contributor

ArcGIS Runtime SDK for Andriod use to LocationDisplayManager class to display location on driving on the car. The LocationDisplayManager.AutoPanMode set NAVIGATION mode.

We would like to stay on the direction with rotated map.But when the vehicle stops, the map rotation to the true north.

Is there a way to stay on the direction, not returning to the true north? Or it is limitation or enhancement of Android API?

0 Kudos
1 Reply
WillCrick
Deactivated User

This is not currently possible. To achieve this you would have to write code to detect when the vehicle is stationary using the sensors that are important to you and turn off navigation mode momentarily. However, you would then also have to set the rotation of the map.

Do you really want the map to suddenly change to be North up even if the car was previously heading south? Is there another problem you are trying to avoid?

thanks

Will

0 Kudos