projects/angular-cesium/src/lib/angular-cesium/components/ac-billboard/ac-billboard.component.ts
This is a billboard implementation. The element must be a child of ac-map element. The properties of props are the same as the properties of Entity and BillboardGraphics:
Usage :
* <ac-billboard [props]="{
* image: image,
* position: position,
* scale: scale,
* color: color,
* name: name
* }">;
* </ac-billboard>
*
EntityOnMapComponent
selector | ac-billboard |
constructor(billboardDrawer: BillboardDrawerService, mapLayers: MapLayersService)
|
|||||||||
Parameters :
|
import { Component } from '@angular/core';
import { EntityOnMapComponent } from '../../services/entity-on-map/entity-on-map.component';
import { BillboardDrawerService } from '../../services/drawers/billboard-drawer/billboard-drawer.service';
import { MapLayersService } from '../../services/map-layers/map-layers.service';
/**
* This is a billboard implementation.
* The element must be a child of ac-map element.
* The properties of props are the same as the properties of Entity and BillboardGraphics:
* + https://cesiumjs.org/Cesium/Build/Documentation/Entity.html
* + https://cesiumjs.org/Cesium/Build/Documentation/BillboardGraphics.html
*
* __Usage :__
* ```
* <ac-billboard [props]="{
* image: image,
* position: position,
* scale: scale,
* color: color,
* name: name
* }">;
* </ac-billboard>
* ```
*/
@Component({
selector: 'ac-billboard',
template: '',
})
export class AcBillboardComponent extends EntityOnMapComponent {
constructor(billboardDrawer: BillboardDrawerService, mapLayers: MapLayersService) {
super(billboardDrawer, mapLayers);
}
}