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

    Interface Metadata

    S2 TileJSON Metadata

    Metadata describing a collection of S2 or WM tiles and how to access them.

    interface Metadata {
        attribution?: string;
        attributions?: Attributions;
        bounds?: BBox;
        center?: [lon: number, lat: number, zoom: number];
        centerpoint?: Center;
        data?: string[];
        description?: string;
        encoding?: Encoding;
        extension: string;
        faces: Face[];
        fillzoom?: number;
        grids?: string[];
        layers: LayersMetaData;
        legend?: string;
        maxzoom: number;
        minzoom: number;
        name?: string;
        s2bounds?: S2Bounds;
        s2tilejson: string;
        scheme?: Scheme;
        template?: string;
        tilejson?: string;
        tiles?: string[];
        tilestats?: TileStatsMetadata;
        type: SourceType;
        vector_layers: VectorLayer[];
        version?: string;
        wmbounds?: WMBounds;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Allow additional properties

    Index

    Properties

    attribution?: string

    Attribution string.

    attributions?: Attributions

    { ['human readable string']: 'href' }

    bounds?: BBox

    Floating point bounding box array [west, south, east, north].

    center?: [lon: number, lat: number, zoom: number]

    Center coordinate array [longitude, latitude, zoom].

    centerpoint?: Center

    The center of the tileset

    data?: string[]

    Array of data source URLs.

    description?: string

    The description of the tileset

    encoding?: Encoding

    The encoding of the tileset

    extension: string

    The extension when requesting a tile

    faces: Face[]

    List of faces that have tileset

    fillzoom?: number

    Fill zoom level. Must be between 0 and 30.

    grids?: string[]

    Array of UTFGrid URL templates.

    Track layer metadata

    legend?: string

    Legend of the tileset.

    maxzoom: number

    maxzoom at which to request tiles. [default=27]

    minzoom: number

    minzoom at which to request tiles. [default=0]

    name?: string

    The name of the tileset

    s2bounds?: S2Bounds

    S2 Tile fetching bounds. Helpful to not make unecessary requests for tiles we know don't exist

    s2tilejson: string

    The version of the s2-tilejson spec

    scheme?: Scheme

    The scheme of the tileset

    template?: string

    Template for interactivity.

    tilejson?: string

    Version of the TileJSON spec used. Matches the pattern: \d+\.\d+\.\d+\w?[\w\d]*.

    tiles?: string[]

    Array of tile URL templates.

    tilestats?: TileStatsMetadata

    Track tile stats for each face and total overall

    The type of the tileset

    vector_layers: VectorLayer[]

    track basic layer metadata

    version?: string

    The version of the tileset. Matches the pattern: \d+\.\d+\.\d+\w?[\w\d]*.

    wmbounds?: WMBounds

    WM Tile fetching bounds. Helpful to not make unecessary requests for tiles we know don't exist