Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description attributions
AttributionLike | undefined Attributions.
attributionsCollapsible
boolean
(defaults to true)Attributions are collapsible.
cacheSize
number | undefined Deprecated. Use the cacheSize option on the layer instead.
projection
ProjectionLike | undefined Projection.
state
State | undefined State.
tileGrid
TileGrid | undefined TileGrid.
tileLoadFunction
LoadFunction TileLoadFunction.
tilePixelRatio
number | undefined TilePixelRatio.
tileUrlFunction
UrlFunction | undefined Deprecated. Use an ImageTile source and provide a function for the url option instead.
url
string | undefined Url.
urls
Array.<string> | undefined Urls.
wrapX
boolean
(defaults to true)WrapX.
transition
number | undefined Transition.
key
string | undefined Key.
zDirection
number | NearestDirectionFunction
(defaults to 0)ZDirection.
interpolate
boolean
(defaults to false)Use interpolated values when resampling. By default, the nearest neighbor is used when resampling.