SwipeConfig

类:卷帘配置项

Constructor

new Glodon.Bimface.Earth.Plugins.ViewComparator.SwipeConfig(viewer, layerContents, direction)

构造卷帘配置项

Parameters:
NameTypeDescription
viewerGlodon.Bimface.Earth.Viewer.ViewerGIS

Viewer对象,必填项

layerContentsArray

两视口内包含图层或图层组的ID对象数组,例[[layerId1,layerId2,groupId1,…],[layerId3,groupId2,…]]。设置顺序为从左至右、从上至下

directionString

视口排列方向,'Horizontal': 水平方向;'Vertical': 垂直方向