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

    Interface TileRequest

    瓦片加载请求

    interface TileRequest {
        key: string;
        coord: TileCoord;
        url: string;
        priority: number;
        onLoaded?: (texture: Texture) => void;
        onError?: (error: Error) => void;
        onCancelled?: () => void;
    }
    Index

    Properties

    key: string

    瓦片唯一key

    coord: TileCoord

    瓦片坐标

    url: string

    WMS请求URL

    priority: number

    优先级(数值越小优先级越高)

    onLoaded?: (texture: Texture) => void

    加载完成回调

    onError?: (error: Error) => void

    加载失败回调

    onCancelled?: () => void

    取消回调