BuildingSceneLayer.withUri constructor

BuildingSceneLayer.withUri(
  1. Uri uri
)

Creates a building scene layer object with the URI.

If the specified URI is a portal item URL (see PortalItem.withUri for the supported URL formats), the underlying PortalItem will be created and accessible through Layer.item.

Parameters:

  • uri — The URI to a service, scene layer package, or portal item.