ArcGISMapImageLayer.withItem constructor

ArcGISMapImageLayer.withItem(
  1. Item item
)

Creates an ArcGIS map image layer from a PortalItem representing an ArcGIS map service.

The item's type should be PortalItemType.mapService.

Parameters: