fromAssetId
suspend fun fromAssetId(assetId: Int, options: IonImageryProvider.ConstructorOptions? = definedExternally): IonImageryProvider(source)
Creates a provider for tiled imagery using the Cesium ion REST API.
const imageryLayer = ImageryLayer.fromProviderAsync(IonImageryProvider.fromAssetId(3812));
viewer.imageryLayers.add(imageryLayer);
Content copied to clipboard
Return
A promise which resolves to the created IonImageryProvider.
Parameters
assetId
An ion imagery asset ID.
options
Object describing initialization options.