Anonymous1 Anonymous1 - 1 year ago 145
Android Question

Android - don't refresh Google Maps v2 on rotation

When I rotate my device, Google Maps v2 refreshes. How do I prevent this refresh from occurring? I'm adding the map dynamically in a tab of a SherlockFragment.

Answer Source

I fixed the problem by adding to the Activity in AndroidManifest.xml:


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download