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

    Function idGetVertices

    • Returns the four vertices of the cell. Vertices are returned in CCW order (lower left, lower right, upper right, upper left in the UV plane). The points returned by getVertices are pointNd.

      Parameters

      • id: bigint

        the S2CellID

      Returns Vertices

      the k-th vertex of the cell