单体拾取工具初始化参数

interface SinglePickPluginOptions {
    inPointStyle: {
        borderColor: string;
        borderWidth: number;
        color: string;
        radius: number;
    };
    layer?: YunJingLayer;
    model: {
        decoderUrl: string;
        encoderUrl: string;
        name: string;
        wasmPaths: string;
    };
    outPointStyle: {
        borderColor: string;
        borderWidth: number;
        color: string;
        radius: number;
    };
    polygonStyle: {
        borderColor: string;
        borderWidth: number;
        color: string;
    };
    viewer?: Viewer;
}

Properties

inPointStyle: {
    borderColor: string;
    borderWidth: number;
    color: string;
    radius: number;
}

拾取到点时的样式

Type declaration

  • borderColor: string

    边框颜色

  • borderWidth: number

    边框宽度

  • color: string

    颜色

  • radius: number

    半径大小

layer?: YunJingLayer

云境图层实例

model: {
    decoderUrl: string;
    encoderUrl: string;
    name: string;
    wasmPaths: string;
}
outPointStyle: {
    borderColor: string;
    borderWidth: number;
    color: string;
    radius: number;
}

单体外的点的样式

Type declaration

  • borderColor: string

    边框颜色

  • borderWidth: number

    边框宽度

  • color: string

    颜色

  • radius: number

    半径大小

polygonStyle: {
    borderColor: string;
    borderWidth: number;
    color: string;
}

单体面Mask的样式

Type declaration

  • borderColor: string
  • borderWidth: number
  • color: string

    颜色

viewer?: Viewer

Cesium 的 Viewer 实例