|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: cbwu 504-wuchengbo@htsdfp.com
|
|
|
|
|
* @Date: 2024-04-13 10:36:06
|
|
|
|
|
* @LastEditors: cbwu
|
|
|
|
|
* @LastEditTime: 2024-04-13 10:56:26
|
|
|
|
|
* @LastEditTime: 2024-04-13 11:14:53
|
|
|
|
|
* @Description:
|
|
|
|
|
*/
|
|
|
|
|
import { Color, Cartesian2 } from 'cesium'
|
|
|
|
@ -10,17 +10,17 @@ export interface EntityOptions {
|
|
|
|
|
id?: string
|
|
|
|
|
name?: string
|
|
|
|
|
show?: boolean
|
|
|
|
|
pixelSize?: number
|
|
|
|
|
outlineColor?: Color
|
|
|
|
|
color?: Color
|
|
|
|
|
fillColor?: Color
|
|
|
|
|
fill?: boolean
|
|
|
|
|
width?: number
|
|
|
|
|
pixelSize?: number //点大小
|
|
|
|
|
outlineColor?: Color //轮廓线颜色
|
|
|
|
|
color?: Color //点颜色
|
|
|
|
|
fillColor?: Color //填充颜色
|
|
|
|
|
fill?: boolean //是否填充
|
|
|
|
|
width?: number //线宽
|
|
|
|
|
outlineWidth?: number
|
|
|
|
|
text?: string
|
|
|
|
|
font?: string
|
|
|
|
|
pixelOffset?: Cartesian2
|
|
|
|
|
image?: string
|
|
|
|
|
imageWidth?: number
|
|
|
|
|
imageHeight?: number
|
|
|
|
|
text?: string //标注内容
|
|
|
|
|
font?: string //字体
|
|
|
|
|
pixelOffset?: Cartesian2 //偏移量
|
|
|
|
|
image?: string //图片url
|
|
|
|
|
imageWidth?: number //图片宽
|
|
|
|
|
imageHeight?: number //图片高
|
|
|
|
|
}
|
|
|
|
|