Skip to content

显示层位 ​

showLayers (layerNames, callback)

说明 ​

显示层位

参数 ​

NameTypeDescription
layerNamesstring图层名(多个图层名用空格分开)
callbackfunction调用完成后需要执行的操作

示例 ​

javascript
// 显示层位
var layerNames = 'Layer:\\断层\\下盘\\curve Layer:\\断层\\上盘';
gdfCtrl.ctrl.showLayers(layerNames, function () {});