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.
53 lines (52 loc) • 1.1 kB
TypeScript
import Layer from "../Layer";
/**
* 图元图层,用于添加各类图元数据,将图元数据按一定的逻辑分组,方便统一管理
* @noInheritDoc
* @example
* ```ts
* let layer = new BC.PrimitiveLayer('id')
* viewer.addLayer(layer)
* ```
*/
declare class PrimitiveLayer extends Layer {
private _points;
private _labels;
private _billboards;
private _polylines;
private _clouds;
/**
* @param id 图层唯一标识
*/
constructor(id: any);
/**
* 类型
*/
get type(): string;
/**
* 点图元数据集合
*/
get points(): any;
/**
* 标签图元数据集合
*/
get labels(): any;
/**
* 广告牌图元数据集合
*/
get billboards(): any;
/**
* 线图元数据集合
*/
get polylines(): any;
/**
* 云数据集合
*/
get clouds(): any;
add(): void;
/**
* 清除图层
*/
clear(): PrimitiveLayer;
setStyle(style: any): void;
}
export default PrimitiveLayer;