[ { "code": "1", "title": "基本设置", "children": [ { "code": "1-1", "title": "设置背景", "data": { "ActionName": "SetBackground", "Parameters": { "opacity": 0.7, "color": "#002F47", "theme": "light", "token": "" } } }, { "code": "1-2", "title": "添加底图", "data": { "ActionName": "AddBaseMapLayer", "Parameters": { "id": "BaseMap", "title":"BaseMap", "visible": true, "opacity": 1, "url": "https://serve2d21.gis.cn:6443/geoscene/rest/services/google_shanghai_black/MapServer", "token": "" } } }, { "code": "1-3", "title": "添加图层", "data": { "ActionName": "AddSingleLayer", "Parameters": { "type":"scene", "id": "WhiteMold", "title":"WhiteMold", "visible": true, "opacity": 1, "url": "https://cimweb.zjw.sh.cegn.cn:2008/MapServiceProxy/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzIyNTkzNTgsImtleSI6IjA1MTk1NDE4Iiwic2VydmljZU5vIjoiRDkwMDMwMDA2MjAyMzA4MDEiLCJ1c2VybmFtZSI6InB0Z2wifQ.p3Zfmz8gf0h02fq3dCyrPc6kL3vq4flTANziTglR9zM", "token": "" } } }, { "code": "1-4", "title": "河流波纹", "data": { "ActionName": "WaterEffect", "Parameters": { "status":"show", "url":"https://serve2d31.gis.cn:6443/geoscene/rest/services/04-swhy/040101013100000000000120240101202401/MapServer/0", "waveDirection": 260, "color": "#25427c", "waveStrength": "moderate" } } }, { "code": "1-5", "title": "测量", "data": { "ActionName": "Measurement", "Parameters": { "status":"show", "type":"polyline", "position":"top-right", "token": "" } } }, { "code": "1-6", "title": "日照分析", "data": { "ActionName": "SunshineAnalysis", "Parameters": { "status":"show", "position":"top-right", "token": "" } } }, { "code": "1-7", "title": "悬浮事件", "data": { "ActionName": "AccessFeaturesWithPointEvents", "Parameters": { "status":"show", "type":"pointer-move", "mouse_time":500, "popup_title":"悬浮结果", "mouse_handle_id":"mouse_handle_id", "highlight_handle_id":"highlight_handle_id", "token": "" } } }, { "code": "1-8", "title": "比例尺切换加载服务事件", "data": { "ActionName": "ShowLayersWithScaleEvents", "Parameters": { "status":"show", "scale_handle_id":"scale_handle_id", "token": "" } } }, { "code": "1-9", "title": "可视域加载", "data": { "ActionName": "ViewshedAnalysis", "Parameters": { "status": "show", "token": "" } } }, { "code": "1-10", "title": "二维服务三维拉伸", "data": { "ActionName": "FeatureLayerThreeDimension", "Parameters": { "status": "show", "token": "" } } }, { "code": "1-11", "title": "发光球", "data": { "ActionName": "AddLightBall", "Parameters": { "status": "show", "token": "" } } }, { "code": "1-12", "title": "三维格网", "data": { "ActionName": "ThreeGrid", "Parameters": { "status": "show", "animationEnabled": true, "token": "" } } }, { "code": "1-13", "title": "限高分析", "data": { "ActionName": "LimitHeightAnalysis", "Parameters": { "status": "show", "limitH":30, "maxLimitH":50, "rings": [ [ 5247.157017153374, 1270.0023461957703, 0 ], [ 4336.760437624776, 1266.8009572542537, 0 ], [ 3491.5636610067518, 1259.1626394806458, 0 ], [ 2936.531521888444, 1110.645927011667, 0 ], [ 2374.838356876977, 813.8209338083046, 0 ], [ 2203.756572715624, 557.0385520252402, 0 ], [ 2236.8693873322263, 298.6578417857288, 0 ], [ 2623.475887507855, -94.53847230161708, -4.547473508864641e-13 ], [ 3050.6804353369535, -481.69651302570674, 4.547473508864641e-13 ], [ 3479.696719634885, -1045.8470428289725, 0 ], [ 4229.590273863496, -700.3542445387985, 0 ], [ 5037.960178306457, -386.92470877155085, 0 ], [ 5931.864847386253, -46.32862144039693, 0 ], [ 5505.553990112907, 838.9373631601887, 0 ] ], "token": "" } } } ] } ]