interface TileData {
    _id: string;
    texture: TextureData;
    width: number;
    height: number;
    x: number;
    y: number;
    elevation: number;
    sort: number;
    rotation: number;
    alpha: number;
    hidden: boolean;
    locked: boolean;
    occlusion: TileOcclusionData;
    video: TileVideoData;
    flags: object;
}

Properties

_id: string

The _id which uniquely identifies this Tile embedded document

texture: TextureData

An image or video texture which this tile displays.

width: number

The pixel width of the tile

height: number

The pixel height of the tile

x: number

The x-coordinate position of the top-left corner of the tile

y: number

The y-coordinate position of the top-left corner of the tile

elevation: number

The elevation of the tile

sort: number

The z-index ordering of this tile relative to its siblings

rotation: number

The angle of rotation for the tile between 0 and 360

alpha: number

The tile opacity

hidden: boolean

Is the tile currently hidden?

locked: boolean

Is the tile currently locked?

The tile's occlusion settings

The tile's video settings

flags: object

An object of optional key/value flags