Function fromS2JSONFeature

  • Convert an S2JSON feature to a base feature

    Parameters

    • feature: VectorFeatures

      An S2JSON feature

    • extent: number

      the extent of the vector layer

    Returns BaseVectorFeature

    • A base feature to help build a vector tile