Description
Current Maps code makes it impossible to set desired region of map before the map is shown.
Calling MoveToRegion causes the app to animate from Maui island every time the view is opened which makes pretty incovenient UI.
It is possible to write custom handler to mitigate this behavior, but current implementation makes it hard to achieve same goal on Android and iOS.
The support for centering map is currently added to Android and iOS, but it's never exposed via interface.
Or
Add possibility to set the initial region (VisibleRegion) other than Maui when creating map from XAML.
Public API Changes
interface IMap
{
old:
void MoveToRegion(MapSpan region);
new:
void MoveToRegion(MapSpan region, bool animated);
}
Intended Use-Case
Possibility to set region on map before page is fully loaded so the user does not see initial animation.
Description
Current Maps code makes it impossible to set desired region of map before the map is shown.
Calling MoveToRegion causes the app to animate from Maui island every time the view is opened which makes pretty incovenient UI.
It is possible to write custom handler to mitigate this behavior, but current implementation makes it hard to achieve same goal on Android and iOS.
The support for centering map is currently added to Android and iOS, but it's never exposed via interface.
Or
Add possibility to set the initial region (VisibleRegion) other than Maui when creating map from XAML.
Public API Changes
Intended Use-Case
Possibility to set region on map before page is fully loaded so the user does not see initial animation.