withUri static method

ArcGISScene? withUri(
  1. Uri uri
)

Creates a scene with the URL to a web scene.

If the specified URL is a portal item URL, the underlying PortalItem is created and can be accessed through GeoModel.item. The URL may be a direct URL to web scene JSON content or the URL of a portal item.

Examples of supported URL formats:

Parameters:

  • uri — URI of the web scene on ArcGIS Online or ArcGIS Enterprise portal.