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.<module:ol/source/BingMaps~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 Argument Description coverageAreasArray.<module:ol/source/BingMaps~CoverageArea> The coverage areas
attributionstring <optional>
The attribution
-
Options{Object}
-
Properties:
Name Type Argument Default Description cacheSizenumber <optional>
Tile cache size. The default depends on the screen size. Will be ignored if too small.
hidpiboolean <optional>
false If
truehidpi tiles will be requested.culturestring <optional>
'en-us' Culture code.
keystring Bing Maps API key. Get yours at http://www.bingmapsportal.com/.
imagerySetstring Type of imagery.
maxZoomnumber <optional>
21 Max zoom. Default is what's advertized by the BingMaps service.
reprojectionErrorThresholdnumber <optional>
0.5 Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance, but decrease precision.
tileLoadFunctionmodule:ol/Tile~LoadFunction <optional>
Optional function to load a tile given a URL. The default is
function(imageTile, src) { imageTile.getImage().src = src; };wrapXboolean <optional>
true Whether to wrap the world horizontally.
transitionnumber <optional>
Duration of the opacity transition for rendering. To disable the opacity transition, pass
transition: 0. -
Resource{Object}
-
Properties:
Name Type Argument 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.<module:ol/source/BingMaps~ImageryProvider> <optional>
The array of ImageryProviders
-
ResourceSet{Object}
-
Properties:
Name Type Description resourcesArray.<module:ol/source/BingMaps~Resource>
OpenLayers