createWithImageAndExtent

Creates an ImageFrame containing the image 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 view. If the spatial reference of the extent is different from that of the map or scene, then the image would fail to render. Supported image formats are TIFF, GeoTIFF, ICO, BMP, GIF, JPEG, and PNG. Animated GIF is not supported. This method invokes Bitmap.compress and may be long running.

Return

A new instance of ImageFrame

Since

200.1.0

Parameters

image

An image to display in the frame.

extent

The geographic extent at which the image is displayed.