Map.MoveToRegion(MapSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adjusts the viewport of the map control to view the specified region.
public:
virtual void MoveToRegion(Microsoft::Maui::Maps::MapSpan ^ mapSpan);
public void MoveToRegion (Microsoft.Maui.Maps.MapSpan mapSpan);
abstract member MoveToRegion : Microsoft.Maui.Maps.MapSpan -> unit
override this.MoveToRegion : Microsoft.Maui.Maps.MapSpan -> unit
Public Sub MoveToRegion (mapSpan As MapSpan)
Parameters
Implements
Exceptions
Thrown when mapSpan
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.