Share via


Map Constructors

Definition

Overloads

Map()

Initializes a new instance of the Map class with a region.

Map(MapSpan)

Initializes a new instance of the Map class with a region.

Map()

Source:
Map.cs
Source:
Map.cs

Initializes a new instance of the Map class with a region.

public:
 Map();
public Map ();
Public Sub New ()

Applies to

Map(MapSpan)

Source:
Map.cs
Source:
Map.cs

Initializes a new instance of the Map class with a region.

public:
 Map(Microsoft::Maui::Maps::MapSpan ^ region);
public Map (Microsoft.Maui.Maps.MapSpan region);
new Microsoft.Maui.Controls.Maps.Map : Microsoft.Maui.Maps.MapSpan -> Microsoft.Maui.Controls.Maps.Map
Public Sub New (region As MapSpan)

Parameters

region
MapSpan

The region that should be initially shown by the map.

Applies to