ImageFrame

constructor(uri: String)

Creates an ImageFrame containing the image defined by the provided uri. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URI can be a local file path or an HTTP path to an image.

Since

200.1.0

Parameters

uri

A URI that identifies a local or online image source.


constructor(uri: String, extent: Envelope)

Creates an ImageFrame containing the image identified by the uri for display at the specified geographic extent. If a spatial reference is not defined for the extent, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URI can be a local file path or an HTTP path to an image.

Since

200.1.0

Parameters

uri

A URI that identifies a local or online image source.

extent

The geographic extent at which the image is displayed.


constructor(uri: String, quadrilateral: Polygon)

Creates an ImageFrame using the uri of an image and a four-point polygon representing the corners of an image. If a spatial reference is not defined for the polygon, it is assumed to be the same as the scene. If the spatial reference of the extent is different from that of the scene, then the image would fail to render. If the provided polygon doesn't contain exactly four points, the image frame will fail to load. Supported image formats are GeoTIFF, TIFF, JPEG, and PNG. The URL can be a local file path or an HTTP path to an image.

Since

200.1.0

Parameters

uri

A URI that identifies a local or online image source.

quadrilateral

A polygon consisting of four points that represent each corner of the image.