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.
46 lines (45 loc) • 1.09 kB
TypeScript
import Overlay from "../Overlay";
import Position from "../../position/Position";
import { T_Position } from "../../common/type";
/**
* 自定义注记
* @noInheritDoc
* @example
* ```ts
* let position = new BC.Position(120, 20)
* let label = new BC.CustomLabel(position, 'test')
* ```
*/
declare class CustomLabel extends Overlay {
_position: Position;
_text: string;
constructor(position: T_Position, text: any);
get type(): any;
set position(position: T_Position);
get position(): T_Position;
set text(text: string);
get text(): string;
_mountedHook(): void;
/**
*
* @param style
* @example
* ```json
*
* ```
*/
setStyle(style: any): this;
/**
* Sets VLine style
* @param style
*/
setVLine(style?: any): this;
/**
* Sets bottom circle
* @param radius
* @param style
* @param rotateAmount
*/
setBottomCircle(radius: number, style?: {}, rotateAmount?: number): this;
}
export default CustomLabel;