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.
85 lines (84 loc) • 1.6 kB
TypeScript
/**
* @Author: Caven
* @Date: 2021-07-11 09:56:33
*/
declare class Measure {
_viewer: any;
_layer: Cesium.CustomDataSource;
constructor();
get viewer(): any;
get layer(): Cesium.CustomDataSource;
/**
*
* @param options
* @returns {Measure}
*/
angle(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
area(options?: {}): this;
coord(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
areaHeight(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
areaSurface(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
distance(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
distanceSurface(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
heading(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
height(options?: {}): this;
/**
*
* @param options
* @returns {Measure}
*/
triangleHeight(options?: {}): this;
/**
*
* @param viewer
*/
install(viewer: any): void;
/**
*
* @param type
* @param options
* @returns {Measure}
*/
activate(type: any, options: any): this;
/**
*
* @returns {Measure}
*/
deactivate(): this;
}
export default Measure;