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.
34 lines (33 loc) • 859 B
TypeScript
import LabelPrimitive from "./LabelPrimitive";
import { T_Position } from "../../common/type";
/**
* 跳动注记图元
* @noInheritDoc
* @example
* ```ts
* let position = new BC.Position(120, 20)
* let label = new BC.BounceLabelPrimitive(position, 'test')
* ```
*/
declare class BounceLabelPrimitive extends LabelPrimitive {
protected _currentOffset: Cesium.Cartesian2;
protected _isUp: boolean;
protected _state: string;
protected _show: boolean;
protected _style: any;
protected _delegate: any;
/**
*
* @param position 坐标
* @param text 文本
*/
constructor(position: T_Position, text: string);
get type(): any;
/**
*
* @param frameState
*/
update(frameState: any): void;
destroy(): void;
}
export default BounceLabelPrimitive;