AnsweredAssumed Answered

Rotation changes map extent

Question asked by bojan.bukovicgdi-net-esridist Employee on Mar 13, 2012
Latest reply on Mar 14, 2012 by dking-esristaff

Here is my problem: I have a mapView and screen rotation changes the map extent. mapView is defined in main.xml layout file without initial extent. After zooming and panning and when screen rotation occurs, the map is displayed in its full extent. I do not know what did I miss. I also tried with initial extent defined in the layout file and then the map is always displayed in its initial extent after screen rotation. Can someone help me how to preserve map's extent on screen rotation?
I' ve already checked ESRI android examples which behave as expected (map extent is preserved on rotation) and I did not find the key difference in the configuration, code or map reference.

Thank you very much for any help!

Kind regards