fromUrl

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"
);

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