MapControl.MapControl Constructors
Initializes a new instance of one of the MapControl classes.
Overload List
Name | Description | |
---|---|---|
Public method | MapControl() | Initializes a new instance of the Windows Forms MapControl class. |
Public method | MapControl(Android.Content.Context context) | Initializes a new instance of the .NET MapControl class on Android. |
Public method | MapControl(Android.Content.Context context, Android.Util.IAttributeSet attributes) | Initializes a new instance of the .NET MapControl class on Android. |
Public method | MapControl() | Initializes a new instance of the WPF MapControl class. |
Public method | MapView() | Initializes a new instance of the .NET MAUI MapControl class. |
MapControl()
Initializes a new instance of the Windows Forms MapControl class.Syntax
public MapControl ()
MapControl(Android.Content.Context context)
Initializes a new instance of the .NET MapControl class on Android.Syntax
public MapControl (
Android.Content.Context context
)
Parameters
context
Type: Android.Content.Context
MapControl(Android.Content.Context context, Android.Util.IAttributeSet attributes)
Initializes a new instance of the .NET MapControl class on Android.Syntax
public MapControl (
Android.Content.Context context,
Android.Util.IAttributeSet attributes
)
Parameters
context
Type: Android.Content.Context
attributes
Type: Android.Util.IAttributeSet
MapControl()
Initializes a new instance of the WPF MapControl class.Syntax
public MapControl ()
MapView()
Initializes a new instance of the .NET MAUI MapControl class.Syntax
public MapView ()
Platforms
Windows, Linux, Android