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

    Function splitTile

    • Type Parameters

      • M = Record<string, unknown>
      • D extends Properties = Properties
      • P extends Properties = Properties

      Parameters

      • tile: Tile<M, D, P>

        the tile to split

      • buffer: number = 0.0625

        the buffer around the tile for lines and polygons

      Returns TileChildren<M, D, P>

      • the tile's children split into 4 sub-tiles