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 :
Example : <ac-billboard [props]="{
image: image,
position: position,
scale: scale,
color: color,
name: name
}">;
</ac-billboard>
selector | ac-billboard |
Properties |
|
Methods |
Inputs |
constructor(billboardDrawer: BillboardDrawerService, mapLayers: MapLayersService)
|
|||||||||
Parameters :
|
props | |
Type : any
|
|
Inherited from
EntityOnMapComponent
|
|
Defined in
EntityOnMapComponent:11
|
drawOnMap |
drawOnMap()
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:37
|
Returns :
any
|
ngOnChanges | ||||||
ngOnChanges(changes: SimpleChanges)
|
||||||
Inherited from
EntityOnMapComponent
|
||||||
Defined in
EntityOnMapComponent:30
|
||||||
Parameters :
Returns :
void
|
ngOnDestroy |
ngOnDestroy()
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:53
|
Returns :
void
|
ngOnInit |
ngOnInit()
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:20
|
Returns :
void
|
removeFromMap |
removeFromMap()
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:42
|
Returns :
any
|
updateOnMap |
updateOnMap()
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:47
|
Returns :
any
|
Protected dataSources |
Type : any
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:15
|
Protected selfPrimitive |
Type : any
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:13
|
Protected selfPrimitiveIsDraw |
Type : boolean
|
Inherited from
EntityOnMapComponent
|
Defined in
EntityOnMapComponent:14
|
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: '',
standalone: false
})
export class AcBillboardComponent extends EntityOnMapComponent {
constructor(billboardDrawer: BillboardDrawerService, mapLayers: MapLayersService) {
super(billboardDrawer, mapLayers);
}
}