File

projects/angular-cesium/src/lib/angular-cesium/components/ac-wall-desc/ac-wall-desc.component.ts

Description

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-wall-desc props="{
 *     show : wall.show, //optional
 *     positions : wall.positions,
 *     material : wall.color  //optional
 *   }">
 *   </ac-wall-desc>
 *

Extends

BasicDesc

Metadata

providers { provide: BasicDesc, useExisting: forwardRef(() => AcWallDescComponent) }
selector ac-wall-desc

Constructor

constructor(drawerService: WallDrawerService, layerService: LayerService, computationCache: ComputationCache, cesiumProperties: CesiumProperties)
Parameters :
Name Type Optional
drawerService WallDrawerService No
layerService LayerService No
computationCache ComputationCache No
cesiumProperties CesiumProperties No
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 { WallDrawerService } from '../../services/drawers/wall-dawer/wall-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/WallGraphics.html
 *
 *  __Usage:__
 *  ```
 *   <ac-wall-desc props="{
 *     show : wall.show, //optional
 *     positions : wall.positions,
 *     material : wall.color  //optional
 *   }">
 *   </ac-wall-desc>
 *  ```
 */
@Component({
  selector: 'ac-wall-desc',
  template: '',
  providers: [{provide: BasicDesc, useExisting: forwardRef(() => AcWallDescComponent)}],
})
export class AcWallDescComponent extends BasicDesc {

  constructor(drawerService: WallDrawerService, layerService: LayerService,
              computationCache: ComputationCache, cesiumProperties: CesiumProperties) {
    super(drawerService, layerService, computationCache, cesiumProperties);
  }
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""