File

projects/angular-cesium/src/lib/angular-cesium/services/drawers/basic-drawer/basic-drawer.service.ts

Description

Abstract drawer. All drawers extends this class.

Index

Properties
Methods

Constructor

constructor()

Properties

Protected _propsAssigner
_propsAssigner: Function
Type : Function

Methods

Abstract add
add(cesiumProps: any, ...args: any[])
Parameters :
Name Type Optional
cesiumProps any No
args any[] No
Returns : any
Abstract init
init(options?: any)
Parameters :
Name Type Optional
options any Yes
Returns : any
Abstract remove
remove(primitive: any)
Parameters :
Name Type Optional
primitive any No
Returns : void
Abstract removeAll
removeAll()
Returns : void
setPropsAssigner
setPropsAssigner(assigner: Function)
Parameters :
Name Type Optional
assigner Function No
Returns : void
Abstract setShow
setShow(showValue: boolean)
Parameters :
Name Type Optional
showValue boolean No
Returns : void
Abstract update
update(primitive: any, cesiumProps: any, ...args: any[])
Parameters :
Name Type Optional
primitive any No
cesiumProps any No
args any[] No
Returns : void
export abstract class BasicDrawerService {
  protected _propsAssigner: Function;

  constructor() {
  }

  abstract add(cesiumProps: any, ...args: any[]): any;

  abstract update(primitive: any, cesiumProps: any, ...args: any[]): void;

  abstract remove(primitive: any): void;

  abstract removeAll(): void;

  abstract setShow(showValue: boolean): void;

  abstract init(options?: any): any;

  setPropsAssigner(assigner: Function) {
    this._propsAssigner = assigner;
  }
}

result-matching ""

    No results matching ""