Show / Hide Table of Contents

Constructor ArcGISMapImageLayer

ArcGISMapImageLayer(Uri)

Initializes a new instance of the ArcGISMapImageLayer class with the specified URI.

Declaration
public ArcGISMapImageLayer(Uri source)
Parameters
Type Name Description
System.Uri source

The service URI.

Remarks

If the specified URI is a map service URL, the MapServer must have "Single Fused Map Cache" set to false in its ArcGIS REST Services Directory. If the specified URI is a portal item URL, the underlying PortalItem is created and can be accessed through Item.

Exceptions
Type Condition
System.ArgumentNullException

source

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Buffer list: Generate multiple individual buffers or a single unioned buffer around multiple points.
Change sublayer renderer: Apply a renderer to a sublayer.
Change time extent: Filter data in layers by applying a time extent to a MapView.

ArcGISMapImageLayer(Item)

Initializes a new instance of the ArcGISMapImageLayer class from the specified PortalItem.

Declaration
public ArcGISMapImageLayer(Item item)
Parameters
Type Name Description
Item item

The PortalItem from which to create the ArcGISMapImageLayer.

Remarks

The item's type should be MapService. The PortalItem will be accessible through the Item property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.