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.
28 lines (27 loc) • 665 B
TypeScript
import Layer from "../Layer";
/**
* 动态图层,用于添加各类动态矢量数据(图标、模型等),将矢量数据按一定的逻辑分组,方便统一管理。
* @noInheritDoc
* @example
* ```ts
* let layer = new BC.DynamicLayer('id');
* viewer.addLayer(layer);
* ```
*/
declare class DynamicLayer extends Layer {
/**
* @param id 图层唯一标识
*/
constructor(id: string);
/**
* 类型
*/
get type(): string;
/**
* 清除所有实体
* @returns {DynamicLayer}
*/
clear(): DynamicLayer;
setStyle(style: any): void;
}
export default DynamicLayer;