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.
GCSGUI/src/utils/map/geometry/billboard.ts

22 lines
502 B
TypeScript

/*
* @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,
},
})
}
}