SensorThings PM2.5作畫設定

Hierarchy

Properties

bar: {
    barSize: number;
    colorInterval: string[];
    heightScale: number;
    interval: number[];
    onClick: null | ((thing, pos, attr, sn, name) => void);
    sizeInterval: number[];
}

柱圖素的作畫參數

Type declaration

  • barSize: number

    柱尺寸

  • colorInterval: string[]

    顏色間隔

  • heightScale: number

    高度倍率

  • interval: number[]

    間隔

  • onClick: null | ((thing, pos, attr, sn, name) => void)

    點擊事件

    Param: thing

    SensorThings資源

    Param: pos

    滑鼠座標

    Param: attr

    屬性物件

    Param: sn

    流水號

    Param: name

    圖素名稱

  • sizeInterval: number[]

    尺寸間隔

cluster: {
    children: {
        pullUpY?: null | number;
        pullUpYIsWorldSize?: null | boolean;
        size?: null | number;
        symbol?: null | string;
    };
    colorInterval: string[];
    group: {
        pullUpY?: null | number;
        pullUpYIsWorldSize?: null | boolean;
        size?: null | number;
        symbol?: null | string;
    };
    interval: number[];
    onClick: null | ((pos, obj, sn, name) => void);
    sizeInterval: number[];
    label?: {
        borderColor: string;
        borderSize: number;
    };
}

叢集圖素的作畫參數

Type declaration

  • children: {
        pullUpY?: null | number;
        pullUpYIsWorldSize?: null | boolean;
        size?: null | number;
        symbol?: null | string;
    }

    子圖素參數

    • Optional pullUpY?: null | number
    • Optional pullUpYIsWorldSize?: null | boolean
    • Optional size?: null | number
    • Optional symbol?: null | string
  • colorInterval: string[]

    顏色間隔

  • group: {
        pullUpY?: null | number;
        pullUpYIsWorldSize?: null | boolean;
        size?: null | number;
        symbol?: null | string;
    }

    叢集參數

    • Optional pullUpY?: null | number
    • Optional pullUpYIsWorldSize?: null | boolean
    • Optional size?: null | number
    • Optional symbol?: null | string
  • interval: number[]

    間隔

  • onClick: null | ((pos, obj, sn, name) => void)

    點擊事件

    Param: pos

    滑鼠座標

    Param: obj

    屬性物件

    Param: sn

    流水號

    Param: name

    圖素名稱

  • sizeInterval: number[]

    尺寸間隔

  • Optional label?: {
        borderColor: string;
        borderSize: number;
    }

    標籤參數

    • borderColor: string
    • borderSize: number
heatMap: {
    colorInterval: string[];
    interval: number[];
    boundXMax?: number;
    boundXMin?: number;
    boundYMax?: number;
    boundYMin?: number;
    color?: {};
    liftScale?: number;
    maxValue?: number;
    polygonSet?: {
        [key: string]: GeoPolygonSet;
    };
    zScale?: number;
}

熱區的作畫參數

Type declaration

  • colorInterval: string[]

    顏色間隔

  • interval: number[]

    間隔

  • Optional boundXMax?: number

    範圍x方向最大值

  • Optional boundXMin?: number

    範圍x方向最小值

  • Optional boundYMax?: number

    範圍y方向最大值

  • Optional boundYMin?: number

    範圍y方向最小值

  • Optional color?: {}

    顏色

    • Optional liftScale?: number

      抬升倍率

    • Optional maxValue?: number

      最大數值

    • Optional polygonSet?: {
          [key: string]: GeoPolygonSet;
      }

      幾何

    • Optional zScale?: number

      zScale

    point: {
        colorInterval: string[];
        interval: number[];
        onClick: null | ((thing, pos, attr, sn, name) => void);
        sizeInterval: number[];
    }

    點圖素的作畫參數

    Type declaration

    • colorInterval: string[]

      顏色間隔

    • interval: number[]

      間隔

    • onClick: null | ((thing, pos, attr, sn, name) => void)

      點擊事件

      Param: thing

      SensorThings資源

      Param: pos

      滑鼠座標

      Param: attr

      屬性物件

      Param: sn

      流水號

      Param: name

      圖素名稱

    • sizeInterval: number[]

      尺寸間隔

    pointOverlay: {
        colorInterval: string[];
        interval: number[];
    }

    點貼圖的作畫參數

    Type declaration

    • colorInterval: string[]

      顏色間隔

    • interval: number[]

      間隔

    region: {
        colorInterval: string[];
        interval: number[];
        regionEPSG: number;
        regionPolygonSet: GeoPolygonSet[];
    }

    區域平均的作畫參數

    Type declaration

    • colorInterval: string[]

      顏色間隔

    • interval: number[]

      間隔

    • regionEPSG: number

      區域Epsg

    • regionPolygonSet: GeoPolygonSet[]

      區域幾何

    Generated using TypeDoc