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.
58 lines (57 loc) • 1.06 kB
TypeScript
/**
* @Author: Caven
* @Date: 2020-01-31 19:45:32
*/
declare class Draw {
_style: any;
_viewer: any;
_layer: any;
_delegate: any;
_options: any;
_positions: any[];
constructor(style: any);
get drawTool(): any;
/**
* The hook for mount layer
* Subclasses need to be overridden
* @private
*/
_mountedHook(): void;
/**
*
* @param position
* @private
*/
_onDrawAnchor(position: any): void;
_onCreateAnchor(position: any): void;
_onPopAnchor(): void;
/**
*
* @param position
* @private
*/
_onAnchorMoving(position: any): void;
/**
*
* @private
*/
_onDrawStop(): void;
/**
*
* @private
*/
_bindEvent(): void;
/**
*
* @private
*/
_unbindEvent(): void;
/**
*
* @param measure
* @param options
* @returns {Draw}
*/
start(measure: any, options: any): this;
}
export default Draw;