s2maps-gpu - v0.18.0
    Preparing search index...

    Type Alias SourceMetadata

    SourceMetadata: OptionalizedTileMetadata & ClusterOptions & TileStoreOptions & {
        data?: JSONCollection;
        interval?: number;
        json?: string;
        path?: string;
        size?: number;
        sourceName?: string;
    }

    All source input objects contain these shapes

    Type declaration

    • Optionaldata?: JSONCollection

      If you want to directly inject the geojson or s2json data

    • Optionalinterval?: number

      The time interval in milliseconds each frame is. Used by sensor sources.

    • Optionaljson?: string

      Other build engines place layer data inside a json string

    • Optionalpath?: string

      Sometimes provided for to have easier access to fetch the source data

    • Optionalsize?: number

      The size of the tile in pixels if some form of raster data

    • OptionalsourceName?: string

      Specify the name of the source in order to access it. This is useful if you want to make requests without first having to request the metadata