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
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 - 300.0
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
Context context

The Context the view is running in, through which it can access resources, themes, etc

IAttributeSet attr

The attributes of the AXML element declaring the view

Applies to

Platforms and versions
TargetVersions
.NET Android200.3 - 300.0
Xamarin.Android100.0 - 100.14
In this article
Provide feedback
Back to top Copyright © 2025 Esri.