Map.MoveToRegion 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.
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
- 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
Implements
Exceptions
Thrown when mapSpan is null.