Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description cacheSizenumber <optional>
2048 Cache size.
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.
OpenLayers