Map.MoveToRegion Method

Definition

Overloads

Name Description
MoveToRegion(MapSpan, Boolean)

Adjusts the viewport of the map control to view the specified region, with control over animation.

MoveToRegion(MapSpan)

Adjusts the viewport of the map control to view the specified region.

MoveToRegion(MapSpan, Boolean)

Source:
Map.cs

Adjusts the viewport of the map control to view the specified region, with control over animation.

public:
 void MoveToRegion(Microsoft::Maui::Maps::MapSpan ^ mapSpan, bool animated);
public void MoveToRegion(Microsoft.Maui.Maps.MapSpan mapSpan, bool animated);
member this.MoveToRegion : Microsoft.Maui.Maps.MapSpan * bool -> unit
Public Sub MoveToRegion (mapSpan As MapSpan, animated As Boolean)

Parameters

mapSpan
MapSpan

A MapSpan object containing details on what region should be shown.

animated
Boolean

Whether the transition should be animated.

Exceptions

Thrown when mapSpan is null.

Applies to

MoveToRegion(MapSpan)

Source:
Map.cs
Source:
Map.cs
Source:
Map.cs
Source:
Map.cs

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);
public void MoveToRegion(Microsoft.Maui.Maps.MapSpan mapSpan);
abstract member MoveToRegion : Microsoft.Maui.Maps.MapSpan -> unit
override this.MoveToRegion : Microsoft.Maui.Maps.MapSpan -> unit
member this.MoveToRegion : Microsoft.Maui.Maps.MapSpan -> unit
Public Sub MoveToRegion (mapSpan As MapSpan)

Parameters

mapSpan
MapSpan

A MapSpan object containing details on what region should be shown.

Implements

Exceptions

Thrown when mapSpan is null.

Applies to