GIS
GIS模块,提供地理消息行业支持
gis.setPOIOptionsGIS-设置POI选项设置地理相关的POI的显示选项
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
enable | boolean | 是 | true | 是否启用显示,false则不显示 |
radius | number | 是 | 0.0 | 显示半径多少米,相机为中心点方圆多少米内的poi点位 |
level | string | 是 | — | GIS比例尺级别,1-18, 0=自动 |
queryType | string | 是 | — | 查询类型, 1(普通POI),2(统计),3(行政区),4(建议词搜索),5(线路结果) http://lbs.tianditu.gov.cn/server/search2.html 可选值: cnserversearch2 |
dataType | string | 是 | — | 行政地名, 加油站, 水利设施, //显示的类型,详情参考 https://download.tianditu.gov.cn/download/xzqh/Type.csv 可选值: cndownloadxzqhType |
maxNum | string | 是 | — | 最大显示数量 |
color | string | 是 | ff0000 | — |
调用
typescript
piclient.emit("gis.setPOIOptions",{
enable: true, //是否启用显示,false则不显示
radius: 0.0, //显示半径多少米,相机为中心点方圆多少米内的poi点位
level: "", //GIS比例尺级别,1-18, 0=自动
queryType: "", //查询类型, 1(普通POI),2(统计),3(行政区),4(建议词搜索),5(线路结果) http://lbs.tianditu.gov.cn/server/search2.html
dataType: "", //行政地名, 加油站, 水利设施, //显示的类型,详情参考 https://download.tianditu.gov.cn/download/xzqh/Type.csv
maxNum: "", //最大显示数量
color: "ff0000",
})
gis.setDistrictOptionsGIS-设置区域选项设置行政区域,项目区域等区域的显示选项
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
enable | boolean | 是 | true | 是否启用显示,false则不显示 |
borderThickness | string | 是 | 10 | 边缘粗细,单位米 |
borderHeight | string | 是 | 1.5 | 边缘厚度,单位米 |
borderColor | string | 是 | ff00003F | — |
fillHeight | string | 是 | 1.1 | 填充区域厚度,单位米 |
fillColor | string | 是 | 2f3f001F | — |
textVisible | boolean | 是 | true | 是否启用显示,false则不显示 |
textColor | string | 是 | 2f3f001F | — |
textScale | string | 是 | 1.0 | 缩放倍数 |
调用
typescript
piclient.emit("gis.setDistrictOptions",{
enable: true, //是否启用显示,false则不显示
borderThickness: "10", //边缘粗细,单位米
borderHeight: "1.5", //边缘厚度,单位米
borderColor: "ff00003F",
fillHeight: "1.1", //填充区域厚度,单位米
fillColor: "2f3f001F",
textVisible: true, //是否启用显示,false则不显示
textColor: "2f3f001F",
textScale: "1.0", //缩放倍数
})
gis.loadVectorLayerFileGIS-加载矢量数据文件全球环境下加载矢量数据文件
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
filePath | string | 是 | — | — |
offset | string | 是 | — | — |
layerType | string | 是 | 0 | 0 SHP File,1 GeoJson,2 CustomJson |
enablePoint | boolean | 是 | true | 是否启用显示,false则不显示 |
enableLine | string | 是 | 1 | 是否启用显示,false则不显示 |
enableFace | boolean | 是 | true | 是否启用显示,false则不显示 |
snapLand | boolean | 是 | true | 是否贴合地形,false则不显示 |
pointColor | string | 是 | #FFFFFF | — |
lineColor | string | 是 | #FFFFFF | — |
faceColor | string | 是 | #FFFFFF | — |
faceMaterialId | string | 是 | materialId | — |
调用
typescript
piclient.emit("gis.loadVectorLayerFile",{
filePath: "",
offset: "",
layerType: "0", //0 SHP File,1 GeoJson,2 CustomJson
enablePoint: true, //是否启用显示,false则不显示
enableLine: "1", //是否启用显示,false则不显示
enableFace: true, //是否启用显示,false则不显示
snapLand: true, //是否贴合地形,false则不显示
pointColor: "#FFFFFF",
lineColor: "#FFFFFF",
faceColor: "#FFFFFF",
faceMaterialId: "materialId",
})
gis.loadVectorLayerDataGIS-加载矢量图层数据全球环境下加载矢量图层数据
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
data | string | 是 | — | — |
offset | string | 是 | — | — |
layerType | string | 是 | 1 | 1 GeoJson,2 CustomJson |
enablePoint | boolean | 是 | true | 是否启用显示,false则不显示 |
enableLine | string | 是 | 1 | 是否启用显示,false则不显示 |
enableFace | boolean | 是 | true | 是否启用显示,false则不显示 |
snapLand | boolean | 是 | true | 是否贴合地形,false则不显示 |
pointColor | string | 是 | #FFFFFF | — |
lineColor | string | 是 | #FFFFFF | — |
faceColor | string | 是 | #FFFFFF | — |
faceMaterialId | string | 是 | materialId | — |
调用
typescript
piclient.emit("gis.loadVectorLayerData",{
// 通过数据创建图层只支持 GeoJson和CustomJson
filePath: "",
offset: "",
layerType: "1", //1 GeoJson,2 CustomJson
enablePoint: true, //是否启用显示,false则不显示
enableLine: "1", //是否启用显示,false则不显示
enableFace: true, //是否启用显示,false则不显示
snapLand: true, //是否贴合地形,false则不显示
pointColor: "#FFFFFF",
lineColor: "#FFFFFF",
faceColor: "#FFFFFF",
faceMaterialId: "materialId",
})
gis.updatePresetLayerGIS-更新地形预设层全球环境下更新地形预设层
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
markLayerType | string | 是 | 0 | 0 不显示标记图层,1 仅显示地名标记,2 仅显示边界,3 仅显示地名和路网 |
enableLandHeight | string | 是 | true | true 开启地形高度,false不开启地形高度 |
backgroundLayerType | string | 是 | 0 | 0 必应影像,1 天地图地形,2 天地图矢量,3 天地图影像 |
调用
typescript
piclient.emit("gis.updatePresetLayer",{
markLayerType: "0", //0 不显示标记图层,1 仅显示地名标记,2 仅显示边界,3 仅显示地名和路网
enableLandHeight: "true", //true 开启地形高度,false不开启地形高度
backgroundLayerType: "0", //0 必应影像,1 天地图地形,2 天地图矢量,3 天地图影像
})
gis.updateVectorLayerFileByIdGIS-更新矢量图层文件全球环境下更新矢量图层文件
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
layerId | string | 是 | 0 | — |
layerType | string | 是 | 0 | 0 SHP File,1 GeoJson,2 CustomJson |
filePath | string | 是 | — | — |
offset | string | 是 | — | — |
enablePoint | boolean | 是 | true | 是否启用显示,false则不显示 |
enableLine | string | 是 | 1 | 是否启用显示,false则不显示 |
enableFace | boolean | 是 | true | 是否启用显示,false则不显示 |
snapLand | boolean | 是 | true | 是否贴合地形,false则不显示 |
pointColor | string | 是 | #FFFFFF | — |
lineColor | string | 是 | #FFFFFF | — |
faceColor | string | 是 | #FFFFFF | — |
调用
typescript
piclient.emit("gis.updateVectorLayerFileById",{
layerId: "0",
layerType: "0", //0 SHP File,1 GeoJson,2 CustomJson
filePath: "",
offset: "",
enablePoint: true, //是否启用显示,false则不显示
enableLine: "1", //是否启用显示,false则不显示
enableFace: true, //是否启用显示,false则不显示
snapLand: true, //是否贴合地形,false则不显示
pointColor: "#FFFFFF",
lineColor: "#FFFFFF",
faceColor: "#FFFFFF",
})
gis.addOrUpdateWebMapLayerGIS-添加或更新网络图层输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
bVisiable | string | 是 | 1 | — |
url | string | 是 | String | — |
protal | string | 是 | WMTS | — |
layer | string | 是 | String | — |
style | string | 是 | String | — |
format | string | 是 | String | — |
bCustomLevel | boolean | 是 | true | — |
maxLevel | string | 是 | 18 | — |
minLevel | string | 是 | 1 | — |
tileMatrixSetId | string | 是 | String | — |
tileMatrixLabelPrefix | string | 是 | String | — |
bUseWebMercator | boolean | 是 | true | — |
调用
typescript
piclient.emit("gis.addOrUpdateWebMapLayer",{
bVisiable: "1",
url: "String",
protal: "WMTS",
layer: "String",
style: "String",
format: "String",
bCustomLevel: true,
maxLevel: "18",
minLevel: "1",
tileMatrixSetId: "String",
tileMatrixLabelPrefix: "String",
bUseWebMercator: true
})
gis.updateVectorLayerDataByIdGIS-更新矢量图层字符串全球环境下更新矢量图层字符串
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
layerId | string | 是 | 0 | — |
layerType | string | 是 | 1 | 1 GeoJson,2 CustomJson |
data | string | 是 | — | — |
offset | string | 是 | — | — |
enablePoint | boolean | 是 | true | 是否启用显示,false则不显示 |
enableLine | string | 是 | 1 | 是否启用显示,false则不显示 |
enableFace | boolean | 是 | true | 是否启用显示,false则不显示 |
snapLand | boolean | 是 | true | 是否贴合地形,false则不显示 |
pointColor | string | 是 | #FFFFFF | — |
lineColor | string | 是 | #FFFFFF | — |
faceColor | string | 是 | #FFFFFF | — |
调用
typescript
piclient.emit("gis.updateVectorLayerDataById",{
layerId: "0",
layerType: "1", //1 GeoJson,2 CustomJson
data: "",
offset: "",
enablePoint: true, //是否启用显示,false则不显示
enableLine: "1", //是否启用显示,false则不显示
enableFace: true, //是否启用显示,false则不显示
snapLand: true, //是否贴合地形,false则不显示
pointColor: "#FFFFFF",
lineColor: "#FFFFFF",
faceColor: "#FFFFFF",
})
gis.focusLayerByIdGIS-聚焦图层全球环境下聚焦到特定图层
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
layerId | string | 是 | 0 | 对象ID |
调用
typescript
piclient.emit("gis.focusLayerById",{
layerId : "0", // 对象ID
})
gis.removeLayerByIdGIS-删除图层全球环境下删除特定图层
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
layerId | string | 是 | 0 | 对象ID |
调用
typescript
piclient.emit("gis.removeLayerById",{
layerId : "0", // 对象ID
})
gis.setLayerVisibilityByIdGIS-设置图层可见性全球环境下设置图层可见性
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
layerId | string | 是 | 0 | 对象ID |
visible | string | 是 | true | 是否可见 |
调用
typescript
piclient.emit("gis.setLayerVisibilityById",{
layerId: "0",// 对象ID
visible: "true",// 是否可见
})
gis.createProjectionImageGIS-创建图片投影创建图片投影
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
imagePath | string | 是 | — | 投影图片,jpg/png 可选值: jpgpng |
position | string | 是 | — | 位置 |
rotation | string | 是 | — | 朝向 |
scale | string | 是 | — | 缩放 |
alpha | number | 是 | 0.0 | 透明度 0代表不可见,1代表可见 |
color | string | 是 | #FFFFFF | 叠加颜色 |
调用
typescript
piclient.emit("gis.createProjectionImage",{
imagePath: "",// 投影图片,jpg/png
position: "",// 位置
rotation: "",// 朝向
scale: "",// 缩放
alpha: 0.0,// 透明度 0代表不可见,1代表可见
color: "#FFFFFF",// 叠加颜色
})
gis.updateProjectionImageGIS-更新图片投影更新图片投影
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | — | 对象ID |
imagePath | string | 是 | — | 投影图片,jpg/png 可选值: jpgpng |
position | string | 是 | — | 位置 |
rotation | string | 是 | — | 朝向 |
scale | string | 是 | — | 缩放 |
alpha | number | 是 | 0.0 | 透明度 |
color | string | 是 | #FFFFFF | 叠加颜色 |
调用
typescript
piclient.emit("gis.updateProjectionImage",{
id: "",// 对象ID
imagePath: "",// 投影图片,jpg/png
position: "",// 位置
rotation: "",// 朝向
scale: "",// 缩放
alpha: 0.0,// 透明度
color: "#FFFFFF",// 叠加颜色
})
gis.showProjectionImageInPipeGIS-创建管道投影创建管道外表面投影
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
startId | string | 是 | — | — |
endId | string | 是 | — | — |
deviceWith | number | 是 | 0.0 | — |
pipeRadius | string | 是 | — | 设备半径 |
pipeShowImageRotate | number | 是 | 0.0 | 外表面相对于圆心的角度,,逆时针0-360 |
distance | number | 是 | 0.0 | 相对于起始点距离 |
tag | string | 是 | — | — |
imagePath | string | 是 | — | — |
size | string | 是 | — | — |
调用
typescript
piclient.emit("gis.showProjectionImageInPipe",{
startId: "",//起点模型id
endId: "",//终点模型id
deviceWith: 0.0,
pipeRadius: "", //设备半径
pipeShowImageRotate: 0.0, //外表面相对于圆心的角度,,逆时针0-360
distance: 0.0, //相对于起始点距离
tag: "",
imagePath: "",//图片路径
size: "",
})
gis.createProjectionVideoGIS-创建投影视频创建投影视频
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
videoPath | string | 是 | — | — |
position | string | 是 | 0.0, 0.0, 0.0 | — |
rotation | string | 是 | 0.0, -90.0, 90.0 | — |
scale | string | 是 | 1.0, 1.0, 1.0 | — |
intensity | string | 是 | 1 | — |
order | string | 是 | 0 | — |
调用
typescript
piclient.emit("gis.createProjectionVideo",{
videoPath: "",//视频路径
position: "0.0, 0.0, 0.0",//引擎坐标位置
rotation: "0.0, -90.0, 90.0",//朝向
scale: "1.0, 1.0, 1.0",//缩放
intensity: "1",
order: "0",
})
gis.updateProjectionVideoGIS-更新投影视频更新投影视频
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | — | — |
videoPath | string | 是 | — | — |
position | string | 是 | 0.0, 0.0, 0.0 | — |
rotation | string | 是 | 0.0, -90.0, 90.0 | — |
scale | string | 是 | 1.0, 1.0, 1.0 | — |
intensity | string | 是 | 1 | — |
order | string | 是 | 0 | — |
调用
typescript
piclient.emit("gis.updateProjectionVideo",{
id: "",//投影视频对象id
videoPath: "",//视频路径
position: "0.0, 0.0, 0.0",//引擎坐标位置
rotation: "0.0, -90.0, 90.0",//朝向
scale: "1.0, 1.0, 1.0",//缩放
intensity: "1",
order: "0",
})
gis.createCFDObjectGIS-创建CFD对象创建CFD对象
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
objectType | string | 是 | 0 | 0 表面着色模型、1 矢量场模型、2 粒子轨迹模型 |
filePath | string | 是 | String | 文件路径 |
position | string | 是 | 0.0, 0.0, 0.0 | 位置 |
rotation | string | 是 | 0.0, -90.0, 90.0 | 朝向 |
scale | string | 是 | 1.0, 1.0, 1.0 | 缩放 |
elementScale | string | 是 | 0 | 元素缩放 |
sampleGap | string | 是 | 0 | 采样间隔 |
renderType | string | 是 | 3 | 渲染类型,0 cube、1 sphere、2 cone、3 arrow |
centralize | boolean | 是 | true | 数据居中 |
inverseFace | boolean | 是 | true | 反转面 |
调用
typescript
piclient.emit("gis.createCFDObject",{
objectType: "0", //0 表面着色模型、1 矢量场模型、2 粒子轨迹模型
filePath: "String", //文件路径
position: "0.0, 0.0, 0.0", //位置
rotation: "0.0, -90.0, 90.0", //朝向
scale: "1.0, 1.0, 1.0", //缩放
elementScale: "0", //元素缩放
sampleGap: "0", //采样间隔
renderType: "3", //渲染类型,0 cube、1 sphere、2 cone、3 arrow
centralize: true, //数据居中
inverseFace: true, //反转面
})
gis.updateCFDObjectGIS-更新CFD对象更新CFD对象
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | String | — |
objectType | string | 是 | 0 | 0 表面着色模型、1 矢量场模型、2 粒子轨迹模型 |
filePath | string | 是 | String | 文件路径 |
position | string | 是 | 0.0, 0.0, 0.0 | 位置 |
rotation | string | 是 | 0.0, -90.0, 90.0 | 朝向 |
scale | string | 是 | 1.0, 1.0, 1.0 | 缩放 |
elementScale | string | 是 | 0 | 元素缩放 |
sampleGap | string | 是 | 0 | 采样间隔 |
renderType | string | 是 | 3 | 渲染类型,0 cube、1 sphere、2 cone、3 arrow |
centralize | boolean | 是 | true | 数据居中 |
inverseFace | boolean | 是 | true | 反转面 |
调用
typescript
piclient.emit("gis.updateCFDObject",{
id: "String",
objectType: "0", //0 表面着色模型、1 矢量场模型、2 粒子轨迹模型
filePath: "String", //文件路径
position: "0.0, 0.0, 0.0", //位置
rotation: "0.0, -90.0, 90.0", //朝向
scale: "1.0, 1.0, 1.0", //缩放
elementScale: "0", //元素缩放
sampleGap: "0", //采样间隔
renderType: "3", //渲染类型,0 cube、1 sphere、2 cone、3 arrow
centralize: true, //数据居中
inverseFace: true, //反转面
})
gis.createProjectionVideo2GIS-创建视频融合2.0创建视频融合
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
videoPath | string | 是 | — | — |
position | string | 是 | 0.0, 0.0, 0.0 | — |
rotation | string | 是 | 0.0, -90.0, 0.0 | — |
scale | string | 是 | 1.0, 1.0, 1.0 | — |
intensity | string | 是 | 1 | — |
distance | string | 是 | 100000 | — |
FOV | string | 是 | 30 | — |
aspectRatio | string | 是 | 1 | — |
uvOffset | string | 是 | 0, 0 | — |
uvScale | string | 是 | 1.0, 1.0 | — |
featheringSize | string | 是 | 0 | — |
featheringAttenuation | string | 是 | 0 | — |
调用
typescript
piclient.emit("gis.createProjectionVideo2",{
"videoPath": "", // 文件路径需额外添加转义符,如:"D:\project\filename.mp4"需要写成"D:\\project\\filename.mp4"
"position": "1131.05, -148.33, 161.1", // 位置坐标
"rotation": "0.0, -33.900002 , -30.9", //旋转坐标
"scale": "1.0, 1.0, 1.0", // 缩放大小
"intensity": "1", // 画面亮度
"distance": "100000", // 投影距离
"FOV": "30", // 视角FOV
"aspectRatio": "1", // 画面宽高比
"uvOffset": "0, 0", // UV偏移X,UV偏移Y
"uvScale": "1.0, 1.0", // UV重复X,UV重复Y
"featheringSize": "0", // 羽化率
"featheringAttenuation": "0" // 羽化衰减
})
gis.updateProjectionVideo2GIS-更新视频融合2.0更新视频融合2.0
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | — | — |
videoPath | string | 是 | — | — |
position | string | 是 | 0.0, 0.0, 0.0 | — |
rotation | string | 是 | 0.0, -90.0, 0.0 | — |
scale | string | 是 | 1.0, 1.0, 1.0 | — |
intensity | string | 是 | 1 | — |
distance | string | 是 | 100000 | — |
FOV | string | 是 | 30 | — |
aspectRatio | string | 是 | 1 | — |
uvOffset | string | 是 | 0, 0 | — |
uvScale | string | 是 | 1.0, 1.0 | — |
featheringSize | string | 是 | 0 | — |
featheringAttenuation | string | 是 | 0 | — |
调用
typescript
piclient.emit("gis.updateProjectionVideo2",{
id: "",
videoPath: "",
position: "0.0, 0.0, 0.0",
rotation: "0.0, -90.0, 0.0",
scale: "1.0, 1.0, 1.0",
intensity: "1",
distance: "100000",
FOV: "30",
aspectRatio: "1",
uvOffset: "0, 0",
uvScale: "1.0, 1.0",
featheringSize: "0",
featheringAttenuation: "0",
})
gis.enableFieldViewPickupGIS-开启粒子场采样开启粒子场鼠标点选采样
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
enable | string | 是 | true | — |
调用
typescript
piclient.emit("gis.enableFieldViewPickup",{
enable: "true",
})
gis.playPathFieldGIS-播放粒子场轨迹播放粒子场轨迹
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | — |
type | string | 是 | 0 | 0 停止播放,1从头开始播放,2暂停播放,3继续播放 |
调用
typescript
piclient.emit("gis.playPathField",{
id: "0",
type: "0", //0 停止播放,1从头开始播放,2暂停播放,3继续播放
})
gis.highlight3DTileWithIdGIS-高亮3D瓦片组件高亮3D瓦片组件
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | 唯一标记组件的ID |
globalSelectColor | string | 是 | #00FF00 | — |
调用
typescript
piclient.emit("gis.highlight3DTileWithId",{
id: "0", //唯一标记组件的ID
globalSelectColor: "#00FF00",
})
gis.flushProjectionVideoGIS-刷新投影视频组件刷新投影视频组件,刷新会更新组件
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | 唯一标记组件的ID |
调用
typescript
piclient.emit("gis.flushProjectionVideo",{
id: "0", //唯一标记组件的ID
})
gis.initVisibleStateOf3DTilesGIS-初始化3D瓦片组件可见性初始化3D瓦片组件可见性
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | — |
visiableState | string | 是 | 0 | 设置Feature的可见性,格式如下: |
resetVisibility | boolean | 是 | true | — |
调用
typescript
piclient.emit("gis.initVisibleStateOf3DTiles",{
id: "0",
visiableState: "0", //设置Feature的可见性,格式如下:ID1:1 / ID2:0 ...
resetVisibility: true,
})
gis.updateVisibilityOf3DTilesSectionGIS-设置或更新3D瓦片组件可见性设置或更新3D瓦片组件可见性
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | — |
sectionId | string | 是 | 0 | 可以是ID,也可以是分类,具体取决于瓦片设置里指定的哪个字段 |
visiable | boolean | 是 | true | — |
调用
typescript
piclient.emit("gis.updateVisibilityOf3DTilesSection",{
id: "0",
sectionId: "0", //可以是ID,也可以是分类,具体取决于瓦片设置里指定的哪个字段
visiable: true,
})
gis.setUnControlSectionVisibilityOf3DTilesGIS-设置3D瓦片其余部分的可见性设置3D瓦片其余部分的可见性
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
id | string | 是 | 0 | — |
restVisiable | boolean | 是 | true | — |
调用
typescript
piclient.emit("gis.setUnControlSectionVisibilityOf3DTiles",{
id: "0",
restVisiable: true,
})