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.
64 lines (63 loc) • 1.37 kB
TypeScript
import Overlay from "../Overlay";
import { T_Position } from "../../common/type";
/**
* 电弧球图元
* @noInheritDoc
* @example
* ```ts
* let elecEllipsoid = new BC.ElecEllipsoidPrimitive('120,20',{x:2000,y:2000:z:2000})
* ```
*/
declare class ElecEllipsoidPrimitive extends Overlay {
private _position;
private _radius;
/**
*
* @param position 坐标
* @param radius x、y、z半径
*/
constructor(position: T_Position, radius: {
x: number;
y: number;
z: number;
});
get type(): any;
set position(position: T_Position);
get position(): T_Position;
set radius(radius: {
x: number;
y: number;
z: number;
});
get radius(): {
x: number;
y: number;
z: number;
};
/**
*
* @private
*/
_setAppearance(): void;
_mountedHook(): void;
/**
*
* @param text
* @param textStyle
*/
setLabel(text: string, textStyle: any): this;
/**
* 设置风格
* @param style
* @example
* ```json
* // 样式参数(可选)
* {
* "speed": 5, //速度
* "color": BC.Color.WHITE //颜色
* }
* ```
*/
setStyle(style?: {}): this;
}
export default ElecEllipsoidPrimitive;