projects/angular-cesium/src/lib/angular-cesium/components/ac-cylinder-desc/ac-cylinder-desc.component.ts
This is a point implementation.
The ac-box-desc element must be a child of ac-layer element.
The properties of props are the same as the properties PointGraphics and the general properties
of Entity (like position
)
Usage:
* <ac-cylinder-desc props="{
* show : cylinder.show, //optional
* position : cylinder.position,
* material : cylinder.color //optional
* }">
* </ac-cylinder-desc>
*
BasicDesc
providers |
{ provide: BasicDesc, useExisting: forwardRef(() => AcCylinderDescComponent) }
|
selector | ac-cylinder-desc |
constructor(drawerService: CylinderDrawerService, layerService: LayerService, computationCache: ComputationCache, cesiumProperties: CesiumProperties)
|
|||||||||||||||
Parameters :
|
import { Component, forwardRef } from '@angular/core';
import { BasicDesc } from '../../services/basic-desc/basic-desc.service';
import { LayerService } from '../../services/layer-service/layer-service.service';
import { ComputationCache } from '../../services/computation-cache/computation-cache.service';
import { CesiumProperties } from '../../services/cesium-properties/cesium-properties.service';
import { CylinderDrawerService } from '../../services/drawers/cylinder-dawer/cylinder-drawer.service';
/**
* This is a point implementation.
* The ac-box-desc element must be a child of ac-layer element.
* The properties of props are the same as the properties PointGraphics and the general properties
* of Entity (like `position`)
* + https://cesiumjs.org/Cesium/Build/Documentation/Entity.html
* + https://cesiumjs.org/Cesium/Build/Documentation/CylinderGraphics.html
*
* __Usage:__
* ```
* <ac-cylinder-desc props="{
* show : cylinder.show, //optional
* position : cylinder.position,
* material : cylinder.color //optional
* }">
* </ac-cylinder-desc>
* ```
*/
@Component({
selector: 'ac-cylinder-desc',
template: '',
providers: [{provide: BasicDesc, useExisting: forwardRef(() => AcCylinderDescComponent)}],
})
export class AcCylinderDescComponent extends BasicDesc {
constructor(drawerService: CylinderDrawerService, layerService: LayerService,
computationCache: ComputationCache, cesiumProperties: CesiumProperties) {
super(drawerService, layerService, computationCache, cesiumProperties);
}
}