Description of a thumbnail, which can be either a full image or part of a tile map.

interface Thumbnail {
    tileHeight?: number;
    tileWidth?: number;
    tileX?: number;
    tileY?: number;
    url: string;
}

Hierarchy (view full)

Properties

tileHeight?: number

Height of a tile in case the thumbnail is part of tile map.

tileWidth?: number

Width of a tile in case the thumbnail is part of tile map.

tileX?: number

Horizontal offset within the tile map in case the thumbnail is part of tile map.

tileY?: number

Vertical offset within the tile map in case the thumbnail is part of tile map.

url: string

The url of the thumbnail image.

Generated using TypeDoc