Classes
Type Definitions
-
BingMapsImageryMetadataResponse{Object}
-
Properties:
Name Type Description statusCodenumber The response status code
statusDescriptionstring The response status description
authenticationResultCodestring The authentication result code
resourceSetsArray<ResourceSet> The array of resource sets
-
CoverageArea{Object}
-
Properties:
Name Type Description zoomMinnumber The minimum zoom
zoomMaxnumber The maximum zoom
bboxArray.<number> The coverage bounding box
-
ImageryProvider{Object}
-
Properties:
Name Type Description coverageAreasArray<CoverageArea> The coverage areas
attributionstring | undefined The attribution
-
Options{Object}
-
Properties:
Name Type Description cacheSizenumber | undefined Deprecated. Use the cacheSize option on the layer instead.
hidpiboolean
(defaults to false)If
truehidpi tiles will be requested.culturestring
(defaults to 'en-us')Culture code.
keystring Bing Maps API key. Get yours at https://www.bingmapsportal.com/.
imagerySetstring Type of imagery.
interpolateboolean
(defaults to true)Use interpolated values when resampling. By default, linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
maxZoomnumber
(defaults to 21)Max zoom. Default is what's advertized by the BingMaps service.
reprojectionErrorThresholdnumber
(defaults to 0.5)Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance, but decrease precision.
tileLoadFunctionLoadFunction | undefined Optional function to load a tile given a URL. The default is
function(imageTile, src) { imageTile.getImage().src = src; };wrapXboolean
(defaults to true)Whether to wrap the world horizontally.
transitionnumber | undefined Duration of the opacity transition for rendering. To disable the opacity transition, pass
transition: 0.zDirectionnumber | NearestDirectionFunction
(defaults to 0)Choose whether to use tiles with a higher or lower zoom level when between integer zoom levels. See
getZForResolution.placeholderTilesboolean | undefined Whether to show BingMaps placeholder tiles when zoomed past the maximum level provided in an area. When
false, requests beyond the maximum zoom level will return no tile. Whentrue, the placeholder tile will be returned. When not set, the default behaviour of the imagery set takes place, which is unique for each imagery set in BingMaps. -
Resource{Object}
-
Properties:
Name Type Description imageHeightnumber The image height
imageWidthnumber The image width
zoomMinnumber The minimum zoom level
zoomMaxnumber The maximum zoom level
imageUrlstring The image URL
imageUrlSubdomainsArray.<string> The image URL subdomains for rotation
imageryProvidersArray<ImageryProvider> | undefined The array of ImageryProviders
-
ResourceSet{Object}
-
Properties:
Name Type Description resourcesArray<Resource> Resources.