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 |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |