Show / Hide Table of Contents

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
TargetVersions
.NET Android200.3 - 200.8
Xamarin.Android100.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
TargetVersions
.NET Android200.3 - 200.8
Xamarin.Android100.0 - 100.14
In This Article
Back to top Copyright © 2022 Esri.