Module: ol/source/Stamen

ol/source/Stamen


Classes

Stamen

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
cacheSize number <optional>
2048

Cache size.

layer string

Layer name.

minZoom number <optional>

Minimum zoom.

maxZoom number <optional>

Maximum zoom.

reprojectionErrorThreshold number <optional>
0.5

Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance, but decrease precision.

tileLoadFunction module:ol/Tile~LoadFunction <optional>

Optional function to load a tile given a URL. The default is

function(imageTile, src) {
  imageTile.getImage().src = src;
};
url string <optional>

URL template. Must include {x}, {y} or {-y}, and {z} placeholders.

wrapX boolean <optional>
true

Whether to wrap the world horizontally.