You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
502 B
TypeScript
22 lines
502 B
TypeScript
1 year ago
|
/*
|
||
|
* @Author: cbwu 504-wuchengbo@htsdfp.com
|
||
|
* @Date: 2024-04-10 08:53:12
|
||
|
* @LastEditors: cbwu
|
||
|
* @LastEditTime: 2024-04-10 09:20:34
|
||
|
* @Description: 广告牌对象
|
||
|
*/
|
||
|
import { Entity, Cartesian3, Color } from 'cesium'
|
||
|
export class BillBoard extends Entity {
|
||
|
constructor(position: Cartesian3) {
|
||
|
super({
|
||
|
position: position,
|
||
|
billboard: {
|
||
|
show: true,
|
||
|
image: '@/assets/map/marker.svg',
|
||
|
width: 32,
|
||
|
height: 32,
|
||
|
},
|
||
|
})
|
||
|
}
|
||
|
}
|