Params 构造函数参数列表 Constructor
| 序号 | 名称 | 类型 | 必须? | 默认值 | 含义 | 备注 |
|---|---|---|---|---|---|---|
| 1 | viewer | Cesium.Viewer | 是 | - | viewer对象 | - |
| 2 | options{ ... } | CircleOptions | 否 | - | 其他参数 | 参数集对象 |
| 2-1 | options.point | Cesium.PointGraphics.ConstructorOptions | 否 | - | Entity的PointGraphics参数项 | - |
| 2-2 | options.ellipse | Cesium.EllipseGraphics.ConstructorOptions | 否 | - | Entity的EllipseGraphics参数项 | - |
| 2-3 | options.circleOverFun | (startPoint: Cartesian3, endPoint: Cartesian3) => void | 否 | - | 绘制结束时的回调函数 | - |
| 2-4 | options.circleMovingFun | (startPoint: Cartesian3, endPoint: Cartesian3) => void | 否 | - | 绘制移动时的回调函数 | - |
| 2-5 | options.circleEditFun | () => Promise<boolean> | 否 | {浏览器自带confirm} | 删除时待确认的回调函数 | - |