fromUrl
suspend fun fromUrl(url: Resource, options: SingleTileImageryProvider.Companion.fromUrlOptions? = definedExternally): SingleTileImageryProvider(source)
Creates a provider for a single, top-level imagery tile. The single image is assumed to use a
const provider = await SingleTileImageryProvider.fromUrl("https://yoururl.com/image.png");
Content copied to clipboard
Return
The resolved SingleTileImageryProvider.
Parameters
url
The url for the tile
options
Object describing initialization options.
See also
suspend fun fromUrl(url: String, options: SingleTileImageryProvider.Companion.fromUrlOptions? = definedExternally): SingleTileImageryProvider(source)