fromUrl

Creates an ImageryProvider which provides tiled imagery using the Bing Maps Imagery REST API.

const bing = await BingMapsImageryProvider.fromUrl(
"https://dev.virtualearth.net", {
key: "get-yours-at-https://www.bingmapsportal.com/",
mapStyle: BingMapsStyle.AERIAL
});

Return

A promise that resolves to the created BingMapsImageryProvider

Parameters

url

The url of the Bing Maps server hosting the imagery.

See also