How can I make the mapview rotation-aware: make the mapview rotate when I rotate my device?
Solved! Go to Solution.
The mapView will switch between portrait and landscape once you rotate the device.
If you are looking for something more fluid, then you can use the Map Rotation | ArcGIS for Developers sample which shows how to rotate using a pinch gesture. You can also use LocationDisplayManager.AutoPanMode NAVIGATION which will rotate the map to align it with the direction of travel.
The mapView will switch between portrait and landscape once you rotate the device.
If you are looking for something more fluid, then you can use the Map Rotation | ArcGIS for Developers sample which shows how to rotate using a pinch gesture. You can also use LocationDisplayManager.AutoPanMode NAVIGATION which will rotate the map to align it with the direction of travel.
Thanks a lot for the valuable input Artemis. It worked perfectly with me!