API REFERENCE

TilemapDatum

The TilemapDatum type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface TilemapDatum {
  readonly x: number;
  readonly y: number;
  readonly name?: string;
  readonly label?: string;
  readonly value?: number;
  readonly color?: string;
  readonly id?: string | number;
  readonly visible?: boolean;
}