@greenmice/ngx-cesium
Version:
Angular library for working with Cesium.
24 lines (23 loc) • 533 B
TypeScript
/**
* ngx-cesium parent entity, all entities should inherit from it.
* ```typescript
* entity= new AcEntity({
* id: 0,
* name: 'click me',
* position: Cesium.Cartesian3.fromRadians(0.5, 0.5),
* });
* ```
*/
export declare class AcEntity {
/**
* Creates entity from a json
* @param json entity object
* @returns entity as AcEntity
*/
static create(json?: any): any;
/**
* Creates entity from a json
* @param json (Optional) entity object
*/
constructor(json?: any);
}