gis-tools-ts - v0.6.0
    Preparing search index...

    Interface TileGrid

    An export of the data as a grid

    interface TileGrid {
        data: number[] | RGBA[];
        name: string;
        size: number;
    }

    Hierarchy

    • Properties
      • TileGrid
    Index

    Properties

    Properties

    data: number[] | RGBA[]

    flattened array of number or RGBA. The size of the array is gridSize * gridSize Access the position as gridSize * y + x

    name: string

    name of the layer

    size: number

    size of the grid including the buffer