@greenmice/ngx-cesium
Version:
Angular library for working with Cesium.
30 lines (29 loc) • 1.47 kB
TypeScript
import { BasicDesc } from '../../services/basic-desc/basic-desc.service';
import { CesiumProperties } from '../../services/cesium-properties/cesium-properties.service';
import { ComputationCache } from '../../services/computation-cache/computation-cache.service';
import { LayerService } from '../../services/layer-service/layer-service.service';
import { LabelDrawerService } from '../../services/drawers/label-drawer/label-drawer.service';
import * as i0 from "@angular/core";
/**
* This is a label implementation.
* The ac-label element must be a child of ac-layer element.
* The properties of props are the same as the properties of Entity and LabelGraphics:
* + https://cesiumjs.org/Cesium/Build/Documentation/Entity.html
* + https://cesiumjs.org/Cesium/Build/Documentation/LabelGraphics.html
*
* __Usage :__
* ```
* <ac-label-desc props="{
* position: track.position,
* pixelOffset : [-15,20] | pixelOffset,
* text: track.name,
* font: '15px sans-serif'
* }">
* </ac-label-desc>
* ```
*/
export declare class AcLabelDescComponent extends BasicDesc {
constructor(labelDrawer: LabelDrawerService, layerService: LayerService, computationCache: ComputationCache, cesiumProperties: CesiumProperties);
static ɵfac: i0.ɵɵFactoryDeclaration<AcLabelDescComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AcLabelDescComponent, "ac-label-desc", never, {}, {}, never, never, false, never>;
}