File

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

Description

This is a point implementation. The ac-label element must be a child of ac-map element. The properties of props are the same as the properties of Entity and PointGraphics:

Usage:

Example :
<ac-point [props]="{
  position: position,
  width: 3
}">
</ac-point>

Extends

EntityOnMapComponent

Metadata

Index

Properties
Methods
Inputs

Constructor

constructor(pointDrawer: PointDrawerService, mapLayers: MapLayersService)
Parameters :
Name Type Optional
pointDrawer PointDrawerService No
mapLayers MapLayersService No

Inputs

props
Type : any
Inherited from EntityOnMapComponent

Methods

drawOnMap
drawOnMap()
Inherited from EntityOnMapComponent
Returns : any
ngOnChanges
ngOnChanges(changes: SimpleChanges)
Inherited from EntityOnMapComponent
Parameters :
Name Type Optional
changes SimpleChanges No
Returns : void
ngOnDestroy
ngOnDestroy()
Inherited from EntityOnMapComponent
Returns : void
ngOnInit
ngOnInit()
Inherited from EntityOnMapComponent
Returns : void
removeFromMap
removeFromMap()
Inherited from EntityOnMapComponent
Returns : any
updateOnMap
updateOnMap()
Inherited from EntityOnMapComponent
Returns : any

Properties

Protected dataSources
Type : any
Inherited from EntityOnMapComponent
Protected selfPrimitive
Type : any
Inherited from EntityOnMapComponent
Protected selfPrimitiveIsDraw
Type : boolean
Inherited from EntityOnMapComponent
import { Component } from '@angular/core';
import { EntityOnMapComponent } from '../../services/entity-on-map/entity-on-map.component';
import { PointDrawerService } from '../../services/drawers/point-drawer/point-drawer.service';
import { MapLayersService } from '../../services/map-layers/map-layers.service';

/**
 *  This is a point implementation.
 *  The ac-label element must be a child of ac-map element.
 *  The properties of props are the same as the properties of Entity and PointGraphics:
 *  + https://cesiumjs.org/Cesium/Build/Documentation/Entity.html
 *  + https://cesiumjs.org/Cesium/Build/Documentation/PointGraphics.html
 *
 *  __Usage:__
 *  ```
 *  <ac-point [props]="{
 *    position: position,
 *    width: 3
 *  }">
 *  </ac-point>
 *  ```
 */

@Component({
    selector: 'ac-point',
    template: '',
    standalone: false
})
export class AcPointComponent extends EntityOnMapComponent {

  constructor(pointDrawer: PointDrawerService, mapLayers: MapLayersService) {
    super(pointDrawer, mapLayers);
  }
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""