s2-tilejson - v1.13.0
    Preparing search index...

    Function toMetadata

    • If you're not sure which tilejson you are reading (Mapbox's spec or S2's spec), you can treat the input as either and ensure the output is the same

      Parameters

      • metadatas: Metadatas

        the S2 TileJSON or Mapbox TileJSON

      Returns Metadata

      • S2 TileJSON