Skip to content

Commit f4313d4

Browse files
authored
Merge pull request #101117 from rbrundritt/patch-7
Update quick-android-map.md
2 parents 57f70da + 8444055 commit f4313d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/azure-maps/quick-android-map.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ Android Studio will take a few seconds to build the application. After the build
391391
392392
:::image type="content" source="media/quick-android-map/quickstart-android-map.png" alt-text="A screenshot showing Azure Maps in an Android application.":::
393393
394+
> [!TIP]
395+
> By default, Android reloads the activity when the orientation changes or the keyboard is hidden. This results in the map state being reset (reload the map which resets the view and reloads data to initial state). To prevent this from happening, add the following to the mainfest: `android:configChanges="orientation|keyboardHidden"`. This will stop the activity from reloading and instead call `onConfigurationChanged()` when the orientation has changed or the keyboard is hidden.
396+
394397
## Clean up resources
395398
396399
>[!WARNING]

0 commit comments

Comments
 (0)