Arc GISMap Image Layer
Creates an ArcGIS map image layer from a PortalItem representing an ArcGIS map service. The item's type should be PortalItemType.MapService.
Since
200.1.0
Parameters
item
A portal item of type PortalItemType.MapService.
See also
Creates an ArcGIS map image layer from the specified URI. 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 Layer.item. See PortalItem.PortalItem for the supported URL formats.
Since
200.1.0
Parameters
url
The URL to the endpoint of an ArcGIS map service or to an ArcGIS map service portal item.