projects/angular-cesium/src/lib/angular-cesium/services/drawers/basic-drawer/basic-drawer.service.ts
Abstract drawer. All drawers extends this class.
Properties |
|
Methods |
constructor()
|
Protected _propsAssigner |
_propsAssigner:
|
Type : Function
|
Abstract add | |||||||||
add(cesiumProps: any, ...args: any[])
|
|||||||||
Parameters :
Returns :
any
|
Abstract init | ||||||
init(options?: any)
|
||||||
Parameters :
Returns :
any
|
Abstract remove | ||||||
remove(primitive: any)
|
||||||
Parameters :
Returns :
void
|
Abstract removeAll |
removeAll()
|
Returns :
void
|
setPropsAssigner | ||||||
setPropsAssigner(assigner: Function)
|
||||||
Parameters :
Returns :
void
|
Abstract setShow | ||||||
setShow(showValue: boolean)
|
||||||
Parameters :
Returns :
void
|
Abstract update |
update(primitive: any, cesiumProps: any, ...args: any[])
|
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;
}
}