WTSConfigManager

WTS Configuration iServer Service Management Class

new SuperMap3D.WTSConfigManager(dataServerUrl)

Name Type Description
dataServerUrl String
Example:
http://localhost:8090/iserver/services/data-WTSConfig/rest/data/datasources/WTSConfig/datasets

Methods

staticSuperMap3D.WTSConfigManager.getInstance(dataServerUrl)Object

Get the management class instance object
Name Type Description
dataServerUrl String WTS Configuration Service Address
Returns:
wtsConfigManager manages class object
Example:
http://localhost:8090/iserver/services/data-WTSConfig/rest/data/datasources/WTSConfig/datasets

deleteDataset(datasetName)

Delete configuration dataset
Name Type Description
datasetName String

getBuildClipCfg()Object

Get the BIM layered configuration object
Returns:
buildClips BIM layering Configuration Object

getCommonSymbols()Object

Get 3D Layer Group Configuration Object
Returns:
commonSymbols 3D Layer Group Configuration Object

getDoorsCfg()Object

Get the configuration object of the entrance and exit
Returns:
Doors configuration object of the entrance and exit

getLayer3DGroupCfg()Object

Get 3D Layer Group Configuration Object
Returns:
Layer3DGroupCfg 3D layer grouping configuration object

getOhterSimpleCfg(datasetName)Object

Simple Configuration Object Universal Get Method (deprecated)
Name Type Description
datasetName String The name of the dataset passed in when saved (unique)
Returns:
config configuration object

getOtherSimpleCfg(datasetName)Object

Simple Configuration Object General Obtaining Method
Name Type Description
datasetName String The name of the dataset passed in when saved (unique)
Returns:
config configuration object

getQuickPositionCfg()Object

Get quick location configuration object
Returns:
quickPosition Quickly locate configuration objects

updataLayer3DGroupCfg(buildClips)

Modify or add 3D layer grouping configuration objects
Name Type Description
buildClips Array 3D Layer Group Configuration Object

updateBuildClipCfg(buildClips)

Modify or add BIM layered configuration objects
Name Type Description
buildClips Array BIM layering Configuration Object

updateCommonSymbolsCfg(commonSymbols)

Modify or add common symbol panel configuration objects
Name Type Description
commonSymbols Array Symbol Common Panel Configuration Object

updateDoorsCfg(doors)

Modify or add entry and exit configuration objects
Name Type Description
doors Object Configuration object of entry and exit

updateOhterSimpleCfg(config, datasetName)

Modify or add a one-dimensional array simple configuration object (deprecated)
Name Type Description
config Array Configuration object
datasetName String The name of the data set saved, use this property to query when querying (unique)
Example:
[{a:1,b:2},{a:3,b:4},{a:d,b:c}] 

updateOtherSimpleCfg(config, datasetName)

Modify or add one-dimensional array simple configuration objects
Name Type Description
config Array Configuration object
datasetName String The name of the data set saved, use this property to query when querying (unique)
Example:
[{a:1,b:2},{a:3,b:4},{a:d,b:c}] 

updateQuickPositionCfg(quickPosition)

Modify or add quick location configuration objects
Name Type Description
quickPosition Array Quickly locate configuration objects