图上标绘功能

Constructors

  • Parameters

    • viewer: Viewer

    Returns PlotTool

Properties

#MoveEntityID: string = ''
#SelEntityID: string = ''
DrawType: ({
    borderColor: string;
    borderStyle: string;
    borderWidth: string;
    fillColor: string;
    fillStyle: string;
    lineWidth?: undefined;
    opacity: string;
} | {
    borderColor?: undefined;
    borderStyle?: undefined;
    borderWidth?: undefined;
    fillColor: string;
    fillStyle: string;
    lineWidth: string;
    opacity: string;
} | {
    borderColor?: undefined;
    borderStyle?: undefined;
    borderWidth?: undefined;
    fillColor?: undefined;
    fillStyle?: undefined;
    lineWidth?: undefined;
    opacity?: undefined;
})[]
GeoJson: any
GeoJsonBackups: GeoJSON[]
clampToGround: boolean
dataSourceToo: PlotDataSource
drawShape: DrawShape
fileName: string
viewer: Viewer

Methods

  • 导出另存为 GeoJson 文件

    Parameters

    • func: Function

      回调函数

    Returns void

  • Parameters

    • func: Function

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • modelUrl: string
    • modelScale: number
    • modelHeight: number = 0
    • modelHeading: number
    • modelPitch: number
    • modelRoll: number

    Returns Promise<void>

  • Parameters

    • strokeMaterial: string
    • width: number
    • func: Function

    Returns void

  • Parameters

    • paramsObj: any

    Returns void

  • Parameters

    • featureHasHeight: boolean = false
    • func: Function

    Returns void

  • Returns void

  • Parameters

    • func: Function

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • __namedParameters: {
          endFunc: FunctionConstructor;
          errFunc: FunctionConstructor;
      } = ...
      • endFunc: FunctionConstructor
      • errFunc: FunctionConstructor

    Returns void

  • Returns void

  • Returns void