PointCloudLayer.withUri constructor

PointCloudLayer.withUri(
  1. Uri uri
)

Creates a point cloud layer with the specified service or package 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 URL to a SceneServer REST endpoint or the path to a Scene Layer Package (.slpk) file.