projects/angular-cesium/src/lib/angular-cesium/components/ac-ellipsoid-desc/ac-ellipsoid-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
Usage:
* <ac-ellipsoid-desc props="{
* show : ellipsoid.show, //optional
* radii : ellipsoid.radii,
* material : ellipsoid.color //optional
* }">
* </ac-ellipsoid-desc>
*
BasicDesc
providers |
{ provide: BasicDesc, useExisting: forwardRef(() => AcEllipsoidDescComponent) }
|
selector | ac-ellipsoid-desc |
constructor(drawerService: EllipsoidDrawerService, 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 { EllipsoidDrawerService } from '../../services/drawers/ellipoid-drawer/ellipsoid-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
* + https://cesiumjs.org/Cesium/Build/Documentation/Entity.html
* + https://cesiumjs.org/Cesium/Build/Documentation/EllipsoidGraphics.html
*
* __Usage:__
* ```
* <ac-ellipsoid-desc props="{
* show : ellipsoid.show, //optional
* radii : ellipsoid.radii,
* material : ellipsoid.color //optional
* }">
* </ac-ellipsoid-desc>
* ```
*/
@Component({
selector: 'ac-ellipsoid-desc',
template: '',
providers: [{provide: BasicDesc, useExisting: forwardRef(() => AcEllipsoidDescComponent)}],
})
export class AcEllipsoidDescComponent extends BasicDesc {
constructor(drawerService: EllipsoidDrawerService, layerService: LayerService,
computationCache: ComputationCache, cesiumProperties: CesiumProperties) {
super(drawerService, layerService, computationCache, cesiumProperties);
}
}