NongFaHeZuoSheGuanLi/public/config/tool.js

248 lines
6.5 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

export const MAP_TOOL_CONFIG = [
{
id: 'XRXG',
label: '渲染效果',
image: '/images/pano.png',
select: false,
focus: false,
children: [
{
id: 'Sm3dSplitScreen',
pid: 'XRXG',
label: '分屏',
image: '/images/tool/splitScreen.png',
select: false,
focus: false,
}, {
id: 'Sm3dRoller',
pid: 'XRXG',
label: '卷帘',
image: '/images/tool/roller.png',
select: false,
focus: false,
}, {
id: 'Sm3dSceneAttribute',
pid: 'XRXG',
label: '场景属性设置',
image: '/images/tool/sceneAttribute.png',
select: false,
focus: false,
}, {
id: 'Sm3dLight',
pid: 'XRXG',
label: '灯光',
image: '/images/tool/add-light.png',
select: false,
focus: false,
}, {
id: 'Sm3dScanEffect',
pid: 'XRXG',
label: '扫描线',
image: '/images/tool/scan.png',
select: false,
focus: false,
}, {
id: 'Sm3dParticleSystem',
pid: 'XRXG',
label: '粒子',
image: '/images/tool/particle.png',
select: false,
focus: false,
}
],
},
{
id: 'YYCJ',
label: '应用场景',
image: '/images/park.png',
select: false,
focus: false,
children: [
{
id: 'Sm3dShadowQuery',
pid: 'YYCJ',
label: '阴影分析',
image: '/images/tool/shadowQuery.png',
select: false,
focus: false,
}, {
id: 'Sm3dSkyline',
pid: 'YYCJ',
label: '天际线分析',
image: '/images/tool/skyline.png',
select: false,
focus: false,
}, {
id: 'Sm3dSightline',
pid: 'YYCJ',
label: '通视分析',
image: '/images/tool/sightline.png',
select: false,
focus: false,
}, {
id: 'Sm3dViewshed',
pid: 'YYCJ',
label: '可视域分析',
image: '/images/tool/viewshed.png',
select: false,
focus: false,
}, {
id: 'Sm3dTerrainFlood',
pid: 'YYCJ',
label: '淹没分析',
image: '/images/tool/floodex.png',
select: false,
focus: false,
}, {
id: 'Sm3dTerrainSlope',
pid: 'YYCJ',
label: '坡度坡向分析',
image: '/images/tool/terrainSlopeAnalysis.png',
select: false,
focus: false,
}, {
id: 'Sm3dProfile',
pid: 'YYCJ',
label: '剖面分析',
image: '/images/tool/profile.png',
select: false,
focus: false,
},{
id: 'Sm3dOpennessAnalysis',
pid: 'YYCJ',
label: '开敞度分析',
image: '/images/tool/opennessAnalysis.png',
select: false,
focus: false,
},{
id: 'Sm3dTerrainIsoline',
pid: 'YYCJ',
label: '等值线分析',
image: '/images/tool/Isoline.png',
select: false,
focus: false,
},
],
},
{
id: 'CYGJ',
label: '常用工具',
image: '/images/plane.png',
select: false,
focus: false,
children: [
{
id: 'Sm3dMeasure',
pid: 'CYGJ',
label: '量算',
image: '/images/tool/measureHandler.png',
select: false,
focus: false,
}, {
id: 'Sm3dTerrainOperation',
pid: 'CYGJ',
label: '地形操作',
image: '/images/tool/modifyTerrain.png',
select: false,
focus: false,
}, {
id: 'Sm3dClipBoxByeditor',
pid: 'CYGJ',
label: 'Box裁剪',
image: '/images/tool/clipboxByEdito.png',
select: false,
focus: false,
}, {
id: 'Sm3dClipPlane',
pid: 'CYGJ',
label: '平面裁剪',
image: '/images/tool/clip.png',
select: false,
focus: false,
}, {
id: 'Sm3dClipPolygon',
pid: 'CYGJ',
label: '多边形裁剪',
image: '/images/tool/clipPolygon.png',
select: false,
focus: false,
}, {
id: 'Sm3dDrawLinePolygon',
pid: 'CYGJ',
label: '绘制线面',
image: '/images/tool/draw-line-surface.png',
select: false,
focus: false,
}, {
id: 'Sm3dPointSymbol',
pid: 'CYGJ',
label: '添加点符号',
image: '/images/tool/add-sysmble.png',
select: false,
focus: false,
}
],
},
{
id: 'TCGJ',
label: '图层工具',
image: '/images/trans.png',
select: false,
focus: false,
children: [
{
id: 'Sm3dS3mlayerAttribute',
pid: 'TCGJ',
label: 'S3M图层属性设置',
image: '/images/tool/s3mlayerAttribute.png',
select: false,
focus: false,
},{
id: 'Sm3dS3mlayerStyle',
pid: 'TCGJ',
label: 'S3M图层风格设置',
image: '/images/tool/s3mlayerStyle.png',
select: false,
focus: false,
},{
id: 'Sm3dS3mlayerOperation',
pid: 'TCGJ',
label: 'S3M图层操作',
image: '/images/tool/s3mlayerOperation.png',
select: false,
focus: false,
},{
id: 'Sm3dLayerManage',
pid: 'TCGJ',
label: '图层管理',
image: '/images/tool/layerManage.png',
select: false,
focus: false,
},{
id: 'Sm3dImglayerAttribute',
pid: 'TCGJ',
label: '影像图层属性设置',
image: '/images/tool/imglayerAttribute.png',
select: false,
focus: false,
},{
id: 'Sm3dObliquePhotography',
pid: 'TCGJ',
label: '/倾斜摄影模型操作',
image: 'public/images/tool/photography.png',
select: false,
focus: false,
},{
id: 'Sm3dMvtlayerStyle',
pid: 'TCGJ',
label: 'MVT矢量瓦片',
image: '/images/tool/mvt.png',
select: false,
focus: false,
}
],
},
]
export const DEFAULT_BASEMAP = [0, 0] // 默认选择的底图类型对于MAP_SERVER_CONFIG的index