Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface TileLayerOptions

    interface TileLayerOptions {
        tileHeight: number;
        tileWidth: number;
        url: {
            fileName: string;
            params?: Record<string, unknown>;
            servers: string[];
        };
    }
    Index

    Properties

    tileHeight: number

    The tile image height

    tileWidth: number

    The tile image width

    url: { fileName: string; params?: Record<string, unknown>; servers: string[] }

    Details for the tile server url

    Type Declaration

    • fileName: string

      The file pattern for the tiles, usually similar to tiles/${z}/${x}/${y} or tiles/${z}/${x}/${y}.png

    • Optionalparams?: Record<string, unknown>

      Optional URL params to append to the tile URL after the fileName

    • servers: string[]

      An array of tile server base paths, with no appending / Requests for tiles will be distributed between the servers in the array