MapController
Controls general map properties. It also provides two helper methods which can do a conversion between a Point on the screen and its GeoPoint counterpart.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Converts a Point on the MapView to a position on the map. Returns Result with GeoPoint or InvalidPointException when cannot obtain a coordinate from the given point. It can occur when the point is not on the map.
Converts a position on the map into the MapView point.
Applies a frame rate cap on the map renderer. It can be useful for scenarios where the map is not fully visible to the user hence there is no need to render it with its full performance.
Sets map language as IETF language tag.
Sets padding on the map. For the map, the padding means a safe area of the MapView which does not receive any input from the user. The safe area can be useful for some sections of the user interface displaying UI components like buttons, sliders etc.
Properties
Provides the Result that contains VisibleRegion or InvalidRegionException, where VisibleRegion is currently visible region. If the map is completely zoomed out, this property will return four GeoPoints, which are combination of min/max latitude and longitude ranges. InvalidRegionException is returned if some of four coordinates is invalid and it is not possible to obtain a coordinate.