MVFv3 API Documentation
    Preparing search index...

    Type Alias TilesetExtensionSchema

    The Tileset extension adds a single property to the root of the bundle, tileset, which is a TilesetCollection object.

    This describes the default outdoor tileset, plus any other alternates configured.

    type TilesetExtensionSchema = {
        tileset: {
            default: { key: string; name: string; url: string };
            others?: { key: string; name: string; url: string }[];
        };
    }
    Index

    Properties

    Properties

    tileset: {
        default: { key: string; name: string; url: string };
        others?: { key: string; name: string; url: string }[];
    }

    Type declaration

    • default: { key: string; name: string; url: string }

      The default tileset style, which should be used.

      • key: string

        Unique identifier for the tileset style.

      • name: string

        Display name of the tileset style.

      • url: string

        URL of the tileset style. This should be a JSON file matching the MapLibre style specification.

    • Optionalothers?: { key: string; name: string; url: string }[]

      Additional tileset styles that can be used.