WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface WebMapTileConfig

    Internet map tile layer configuration

    interface WebMapTileConfig {
        tileCrs: "gcj02" | "wgs84";
        tileUrl: string | string[];
        tileSize?: number;
        tileMaxZoom?: number;
        tileRetina?: number;
        tileShards?: string;
        tileToken?: string | string[];
        tileFlipY?: boolean;
        mapbounds: string;
        srs?: string;
        fourParameterBefore?: string;
        fourParameterAfter?: string;
        preloadBuffer?: number;
        maxConcurrent?: number;
        cacheSize?: number;
    }
    Index

    Properties

    tileCrs: "gcj02" | "wgs84"

    Internet map coordinate type: gcj02 (Gaode) or wgs84 (Tianditu)

    tileUrl: string | string[]

    Tile URL template(s) for the internet map provider

    tileSize?: number

    Tile pixel size, default 256

    tileMaxZoom?: number

    Max zoom level of the internet map, default 18

    tileRetina?: number

    Tile retina factor

    tileShards?: string

    Shard placeholder values (comma-separated)

    tileToken?: string | string[]

    Token(s) for tile providers like Tianditu

    tileFlipY?: boolean

    Whether to flip Y axis

    mapbounds: string

    CAD map bounds string "minx,miny,maxx,maxy"

    srs?: string

    CAD EPSG code for auto-overlay mode (e.g. "EPSG:4509")

    fourParameterBefore?: string

    Four parameter transform before coordinate conversion

    fourParameterAfter?: string

    Four parameter transform after coordinate conversion

    preloadBuffer?: number

    Preload buffer in tiles, default 1

    maxConcurrent?: number

    Max concurrent tile requests, default 6

    cacheSize?: number

    LRU cache size (number of textures), default 200