ArcGISTiledLayer

constructor(item: Item)

Creates an ArcGIS tiled layer from a com.arcgismaps.mapping.PortalItem representing an ArcGIS map service. The item's type should be com.arcgismaps.portal.PortalItemType.MapService.

Since

200.1.0

Parameters

See also


constructor(tileCache: TileCache)

Creates an ArcGIS Tiled Layer object from a local cache of previously rendered map tiles.

Since

200.1.0

Parameters

tileCache

A tile cache.


constructor(uri: String)

Creates an ArcGIS tiled layer from the specified URI. If the specified URI is a map service URL, the MapServer must have "Single Fused Map Cache" set to true in its ArcGIS REST Services Directory. If the specified URI is a portal item URL, the underlying com.arcgismaps.mapping.PortalItem is created and can be accessed through Layer.item. See com.arcgismaps.mapping.PortalItem.PortalItem for the supported URL formats.

Since

200.1.0

Parameters

uri

The URL to the REST endpoint of an ArcGIS map service or ArcGIS map service portal item, or the path to a local tile package(.tpk/.tpkx).

See also

LayerTileEvent
PortalItem
PortalItem.PortalItem

(String)