projects/angular-cesium/src/lib/angular-cesium/services/drawers/label-primitive-drawer/label-primitive-drawer.service.ts
This drawer is responsible for drawing labels as primitives. This drawer is more efficient than LabelDrawerService when drawing dynamic labels.
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 labels as primitives.
* This drawer is more efficient than LabelDrawerService when drawing dynamic labels.
*/
@Injectable()
export class LabelPrimitiveDrawerService extends PrimitivesDrawerService {
constructor(cesiumService: CesiumService) {
super(Cesium.LabelCollection, cesiumService);
}
}