ArcGISSceneLayer.withUri constructor

ArcGISSceneLayer.withUri(
  1. Uri uri
)

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.

Parameters:

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