projects/angular-cesium/src/lib/angular-cesium/services/drawers/billboard-primitive-drawer/billboard-primitive-drawer.service.ts
This drawer is responsible for drawing billboards as primitives. This drawer is more efficient than BillboardDrawerService when drawing dynamic billboards.
constructor(cesiumService: CesiumService)
|
||||||
Parameters :
|
import { Injectable } from '@angular/core';
import { CesiumService } from '../../cesium/cesium.service';
import { PrimitivesDrawerService } from '../primitives-drawer/primitives-drawer.service';
/**
* This drawer is responsible for drawing billboards as primitives.
* This drawer is more efficient than BillboardDrawerService when drawing dynamic billboards.
*/
@Injectable()
export class BillboardPrimitiveDrawerService extends PrimitivesDrawerService {
constructor(cesiumService: CesiumService) {
super(Cesium.BillboardCollection, cesiumService);
}
}