File

projects/angular-cesium/src/lib/angular-cesium/services/drawers/static-dynamic/ellipse-drawer/ellipse-drawer.service.ts

Description

    • This drawer is responsible for drawing an ellipse over the Cesium map.
    • This implementation uses simple EllipseGeometry and Primitive parameters.
    • This doesn't allow us to change the position, color, etc.. of the ellipses. For that you may use the dynamic ellipse component.

Extends

StaticPrimitiveDrawer

Index

Properties
Methods

Constructor

constructor(cesiumService: CesiumService)
Parameters :
Name Type Optional
cesiumService CesiumService No

Methods

add
add(geometryProps: any, instanceProps: any, primitiveProps: any)
Inherited from BasicDrawerService
Parameters :
Name Type Optional
geometryProps any No
instanceProps any No
primitiveProps any No
Returns : any
update
update(primitive: any, geometryProps: any, instanceProps: any, primitiveProps: any)
Inherited from BasicDrawerService
Parameters :
Name Type Optional
primitive any No
geometryProps any No
instanceProps any No
primitiveProps any No
Returns : any
getShow
getShow()
Inherited from PrimitivesDrawerService
Returns : boolean
init
init()
Inherited from BasicDrawerService
Returns : void
remove
remove(entity: any)
Inherited from BasicDrawerService
Parameters :
Name Type Optional
entity any No
Returns : void
removeAll
removeAll()
Inherited from BasicDrawerService
Returns : void
setShow
setShow(showValue: boolean)
Inherited from BasicDrawerService
Parameters :
Name Type Optional
showValue boolean No
Returns : void
setPropsAssigner
setPropsAssigner(assigner: Function)
Inherited from BasicDrawerService
Parameters :
Name Type Optional
assigner Function No
Returns : void

Properties

Protected _cesiumCollection
Type : any
Inherited from PrimitivesDrawerService
Private _primitiveCollectionWrap
Type : any
Inherited from PrimitivesDrawerService
Protected _propsAssigner
Type : Function
Inherited from BasicDrawerService
Private _show
Default value : true
Inherited from PrimitivesDrawerService
import { CesiumService } from '../../../cesium/cesium.service';
import { EllipseGeometry } from 'cesium';
import { Injectable } from '@angular/core';
import { StaticPrimitiveDrawer } from '../static-primitive-drawer/static-primitive-drawer.service';


/**
 + *  This drawer is responsible for drawing an ellipse over the Cesium map.
 + *  This implementation uses simple EllipseGeometry and Primitive parameters.
 + *  This doesn't allow us to change the position, color, etc.. of the ellipses. For that you may use the dynamic ellipse component.
 + */
@Injectable()
export class StaticEllipseDrawerService extends StaticPrimitiveDrawer {
  constructor(cesiumService: CesiumService) {
    super(EllipseGeometry, cesiumService);
  }
}

results matching ""

    No results matching ""