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

    Function pxToTile

    • Convert a pixel coordinate to a tile x-y coordinate

      Parameters

      • px: VectorPoint

        the pixel

      • tileSize: number = 512

        in pixels

      Returns VectorPoint

      • the tile x-y