SwipeConfig
类:卷帘配置项
Constructor
new Glodon.Bimface.Plugins.Viewport.SwipeConfig(viewer, layerContents, borderDraggable, embeddedViewDraggable, mode)
构造卷帘配置项
Parameters:
Name | Type | Description |
---|---|---|
viewer | Glodon.Bimface.Viewer.ViewerGIS | Viewer对象,必填项 |
layerContents | Array | 两视口内包含图层或图层组的ID对象数组,例[{layerId: [layerId1,layerId2…],layerGroupId:[groupId1,groupId2]},{layerId:[layerId3,layerId4…],layerGroupId:[groupId1,groupId2]} ]。设置顺序为从左至右、从上至下、从外视口至内嵌视口 |
borderDraggable | Boolean | 设置视口边框是否可拖拽,默认为true |
embeddedViewDraggable | Boolean | 设置内嵌视口是否可拖拽,当type为EmbeddedView时生效。默认为true |
mode | Object | 卷帘样式 |