@greenmice/ngx-cesium
Version:
Angular library for working with Cesium.
27 lines (26 loc) • 1.21 kB
TypeScript
import { EntityOnMapComponent } from '../../services/entity-on-map/entity-on-map.component';
import { MapLayersService } from '../../services/map-layers/map-layers.service';
import { PolylinePrimitiveDrawerService } from '../../services/drawers/polyline-primitive-drawer/polyline-primitive-drawer.service';
import * as i0 from "@angular/core";
/**
* This is a polyline implementation.
* The ac-label element must be a child of ac-map element.
* The properties of props are the same as the properties of Polyline Primitive:
* + https://cesiumjs.org/Cesium/Build/Documentation/Polyline.html
*
* __Usage:__
* ```
* <ac-polyline [props]="{
* position: position,
* text: 'labelText',
* font: '30px sans-serif'
* color: Cesium.Color.GREEN
* }">;
* </ac-polyline>
* ```
*/
export declare class AcPrimitivePolylineComponent extends EntityOnMapComponent {
constructor(polylineDrawer: PolylinePrimitiveDrawerService, mapLayers: MapLayersService);
static ɵfac: i0.ɵɵFactoryDeclaration<AcPrimitivePolylineComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AcPrimitivePolylineComponent, "ac-primitive-polyline", never, {}, {}, never, never, false, never>;
}