Module: ol/style/AtlasManager

ol/style/AtlasManager


Classes

AtlasManager

Type Definitions

AtlasManagerInfo{Object}

Provides information for an image inside an atlas manager. offsetX and offsetY is the position of the image inside the atlas image image and the position of the hit-detection image inside the hit-detection atlas image hitImage.

Properties:
Name Type Description
offsetX number
offsetY number
image HTMLCanvasElement
hitImage HTMLCanvasElement

Options{Object}

Properties:
Name Type Argument Default Description
initialSize number <optional>
256

The size in pixels of the first atlas image.

maxSize number <optional>

The maximum size in pixels of atlas images. Default is webgl/MAX_TEXTURE_SIZE or 2048 if WebGL is not supported.

space number <optional>
1

The space in pixels between images.