UNPKG

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.

42 lines (41 loc) 826 B
import Layer from "../Layer"; /** * Html 图层,用于加载 DivIcon 节点 * @noInheritDoc * @example * ```ts * let layer = new BC.HtmlLayer('dom') * viewer.addLayer(layer) * ``` */ declare class HtmlLayer extends Layer { private _renderRemoveCallback; /** * @param id 图层唯一标识 */ constructor(id: string); /** * 类型 */ get type(): string; /** * 是否显示 */ set show(show: boolean); get show(): boolean; /** * 添加句柄 * @param viewer */ protected _onAdd(viewer: Cesium.Viewer): void; /** * 移除句柄 */ protected _onRemove(): void; /** * 清除图层 */ clear(): this; setStyle(style: any): void; } export default HtmlLayer;