Constructor MapView
MapView(Context)
Initializes a new instance of the MapView class.
Declaration
public MapView(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The Context the view is running in, through which it can access resources, themes, etc |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.3 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
MapView(Context, IAttributeSet)
Initializes a new instance of the MapView class.
Declaration
public MapView(Context context, IAttributeSet attr)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | The Context the view is running in, through which it can access resources, themes, etc |
Android.Util.IAttributeSet | attr | The attributes of the AXML element declaring the view |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.3 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |