fromUrl
suspend fun fromUrl(url: Resource, options: ArcGisMapServerImageryProvider.ConstructorOptions? = definedExternally): ArcGisMapServerImageryProvider(source)
Creates an ImageryProvider which provides tiled imagery hosted by an ArcGIS MapServer. By default, the server's pre-cached tiles are used, if available.
const esri = await ArcGisMapServerImageryProvider.fromUrl(
"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
);
Content copied to clipboard
Return
A promise that resolves to the created ArcGisMapServerImageryProvider.
Parameters
url
The URL of the ArcGIS MapServer service.
options
Object describing initialization options.
See also
suspend fun fromUrl(url: String, options: ArcGisMapServerImageryProvider.ConstructorOptions? = definedExternally): ArcGisMapServerImageryProvider(source)