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.
31 lines (30 loc) • 803 B
TypeScript
import BillboardPrimitive from "./BillboardPrimitive";
import { T_Position } from "../../common/type";
/**
* 跳动图标图元
* @noInheritDoc
* @example
* ```ts
* let position = new BC.Position(120, 20)
* let billboard = new BC.BounceBillboardPrimitive(position, '*.png')
* billboard.size = [20, 20]
* ```
*/
declare class BounceBillboardPrimitive extends BillboardPrimitive {
private _currentOffset;
private _isUp;
/**
*
* @param position 坐标
* @param icon 图标
*/
constructor(position: T_Position, icon: Cesium.Property | string | HTMLCanvasElement);
get type(): any;
/**
*
* @param frameState
*/
update(frameState: any): void;
destroy(): void;
}
export default BounceBillboardPrimitive;