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.

58 lines (57 loc) 1.1 kB
import Widget from "../Widget"; /** * 地图分割 * @noInheritDoc * @example * ```ts * let baseLayer_elc = BC.ImageryLayerFactory.createGoogleImageryLayer() * viewer.mapSplit.enable = true * viewer.mapSplit.addBaseLayer(baseLayer_elc, -1) * ``` */ declare class MapSplit extends Widget { private _baseLayer; private _moveActive; /** * @hidden */ constructor(); /** * @hidden */ get type(): any; /** * * @private */ _installHook(): void; /** * * @private */ _bindEvent(): void; /** * * @private */ _unbindEvent(): void; /** * * @private */ _mountContent(): void; /** * * @param movement * @private */ _moveHandler(movement: any): void; /** * * @param baseLayer * @param splitDirection 分割方向,-1:左,0:无,1:右 * @returns {MapSplit} */ addBaseLayer(baseLayer: any, splitDirection?: number): this; } export default MapSplit;