ArcGISSceneLayer

constructor(item: Item)

Creates an ArcGIS scene layer from a PortalItem representing an ArcGIS scene service. The item's type should be PortalItemType.SceneService.

Since

200.1.0

Parameters

item

A portal item of type PortalItemType.SceneService.

See also

PortalItem.PortalItem

(String)


constructor(uri: String)

Creates an ArcGIS scene layer from the specified URI. If the specified URI is a portal item URL, the item's type should be PortalItemType.SceneService. The underlying PortalItem can be accessed through Layer.item.

Since

200.1.0

Parameters

uri

The URL of an ArcGIS scene service, an ArcGIS scene service portal item, or a scene layer package (.slpk) file.

See also

PortalItem.PortalItem

(String)