fromUrl
suspend fun fromUrl(url: Resource, options: BingMapsImageryProvider.ConstructorOptions): BingMapsImageryProvider(source)
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
});
Content copied to clipboard
Return
A promise that resolves to the created BingMapsImageryProvider
Parameters
url
The url of the Bing Maps server hosting the imagery.
See also
suspend fun fromUrl(url: String, options: BingMapsImageryProvider.ConstructorOptions): BingMapsImageryProvider(source)