UNPKG

bcgis-type

Version:

The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.

26 lines (25 loc) 671 B
import { SceneEventType } from "../EventType"; import Event from "../Event"; declare class SceneEvent extends Event { _camera: Cesium.Camera; _scene: Cesium.Scene; _clock: Cesium.Clock; constructor(viewer: any); /** * Subscribe event * @param type * @param callback * @param context * @returns {any} */ on(type: SceneEventType, callback: any, context: any): any; /** * Unsubscribe event * @param type * @param callback * @param context * @returns {boolean} */ off(type: SceneEventType, callback: any, context: any): boolean; } export default SceneEvent;