diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 194373d..7ca90f6 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -277,6 +277,7 @@ import cloneDeep from 'lodash/cloneDeep' import fullScreenMixins from '@/assets/mixins/fullScreen' import { animate } from 'motion' import loadMapBoxCfd from './js/mapboxCfd' +import loadCmtMapBox from './js/mapboxCmt' import loadMapBoxCzks from './js/mapboxCzks' import loadMapBox from './js/mapbox' import AnquanCfd from './components/anquanCfd' @@ -870,6 +871,7 @@ export default { pointBoxCfd: [], pointBox: [], pointBoxCzks: [], + pointBoxCmt: [], fwebsocket: {}, redList: [], orangeList: [], @@ -1151,6 +1153,7 @@ export default { mounted() { this.initMap() this.pointBoxCfd = loadMapBoxCfd() + this.pointBoxCmt = loadCmtMapBox() this.pointBox = loadMapBox() this.pointBoxCzks = loadMapBoxCzks() // this.ysVideoInit() @@ -1380,6 +1383,15 @@ export default { url: '/mapapi/ware/upload/qhdgysh/merge_tile.json' }) viewer.scene.primitives.add(qhdgysh) + var czkszhmt = new Cesium.Cesium3DTileset({ //沧州矿石 杂货码头 + url: '/mapapi/ware/upload/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E8%A5%BF/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E8%A5%BF/merge_tile.json' + }) + viewer.scene.primitives.add(czkszhmt) + var czksksmt = new Cesium.Cesium3DTileset({//沧州矿石 矿石码头 + url: '/mapapi/ware/upload/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E4%B8%9C/%E6%B2%A7%E5%B7%9E%E6%B8%AF%E4%B8%9C/merge_tile.json' + }) + viewer.scene.primitives.add(czksksmt) + }, leftDownAction() { diff --git a/src/views/map/js/dragentity.js b/src/views/map/js/dragentity.js index d245179..bf3fb49 100644 --- a/src/views/map/js/dragentity.js +++ b/src/views/map/js/dragentity.js @@ -70,10 +70,12 @@ import './PolylineTrailLinkMaterialProperty' import loadMapBox from './mapbox' import loadMapBoxCfd from './mapboxCfd' import loadMapBoxCzks from './mapboxCzks' +import loadCmtMapBox from './mapboxCmt' const polygonMap = { '00003': loadMapBox, '00002': loadMapBoxCzks, + '00005': loadCmtMapBox, '00004': loadMapBoxCfd } diff --git a/src/views/map/js/mapboxCmt.js b/src/views/map/js/mapboxCmt.js new file mode 100644 index 0000000..a67e7dc --- /dev/null +++ b/src/views/map/js/mapboxCmt.js @@ -0,0 +1,4481 @@ +export default function loadMapBox() { + return { + redList: initMapDataRed(), + orangeList: initMapDataOrange(), + yellowList: initMapDataYellow(), + blueList: initMapDataBlue(), + wallList: initWallData() + } +} + +/** + * 四色图(红) + */ +function initMapDataRed() { + const varList = [] + // 翻车机房 + let formData = {} + formData['position'] = + [ + { + 'x': 118.43668319516881, + 'y': 38.97436205004733, + 'z': 0 + }, + { + 'x': 118.43605589416767, + 'y': 38.97436354619541, + 'z': 0 + }, + { + 'x': 118.43606003974193, + 'y': 38.97380175336525, + 'z': 0 + }, + { + 'x': 118.43668763683185, + 'y': 38.973799543310356, + 'z': 0 + } + + ] + + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 20// 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // S1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45401870490508, + 'y': 38.96776218152991, + 'z': 0 + }, + { + 'x': 118.45414370540294, + 'y': 38.96776270752748, + 'z': 0 + }, + { + 'x': 118.45414007687944, + 'y': 38.96878877382881, + 'z': 0 + }, + { + 'x': 118.45401164925136, + 'y': 38.968782361648046, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // SL1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45494173070524, + 'y': 38.977582500588646, + 'z': 0 + }, + { + 'x': 118.4545701232429, + 'y': 38.97757462541758, + 'z': 0 + }, + { + 'x': 118.45457205694078, + 'y': 38.9768071676769, + 'z': 0 + }, + { + 'x': 118.4549450904821, + 'y': 38.97680357607445, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 55 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // SL2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45494627861514, + 'y': 38.97292677905791, + 'z': 0 + }, + { + 'x': 118.45457437023232, + 'y': 38.972927779685605, + 'z': 0 + }, + { + 'x': 118.45457430485773, + 'y': 38.97223922183119, + 'z': 0 + }, + { + 'x': 118.45494601887445, + 'y': 38.97224438303145, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 55 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // SL3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45494709388107, + 'y': 38.97084736106996, + 'z': 0 + }, + { + 'x': 118.45457476840677, + 'y': 38.970841667871085, + 'z': 0 + }, + { + 'x': 118.4545744600577, + 'y': 38.97015912929737, + 'z': 0 + }, + { + 'x': 118.454947552244, + 'y': 38.970156947129894, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 55 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // SL4 + formData = {} + formData['position'] = + [ + { + 'x': 118.45493415284619, + 'y': 38.96686267766106, + 'z': 0 + }, + { + 'x': 118.45457689301277, + 'y': 38.966865580333526, + 'z': 0 + }, + { + 'x': 118.45457488273861, + 'y': 38.96613432504637, + 'z': 0 + }, + { + 'x': 118.45493678325379, + 'y': 38.966139616718635, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 55 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // R6 + formData = {} + formData['position'] = + [ + { + 'x': 118.44983206448667, + 'y': 38.968609088366016, + 'z': 0 + }, + { + 'x': 118.44965940997488, + 'y': 38.96861315698681, + 'z': 0 + }, + { + 'x': 118.44966495596304, + 'y': 38.96782480261959, + 'z': 0 + }, + { + 'x': 118.44983111388923, + 'y': 38.96782608949472, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // S4 + formData = {} + formData['position'] = + [ + { + 'x': 118.44880842986889, + 'y': 38.97531746678863, + 'z': 0 + }, + { + 'x': 118.44894429283572, + 'y': 38.97531694467056, + 'z': 0 + }, + { + 'x': 118.44894194838906, + 'y': 38.97630117210993, + 'z': 0 + }, + { + 'x': 118.44880739835806, + 'y': 38.97630210702245, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + // R5 + formData = {} + formData['position'] = + [ + { + 'x': 118.44982511603936, + 'y': 38.97480969463574, + 'z': 0 + }, + { + 'x': 118.44965949968713, + 'y': 38.97481875275964, + 'z': 0 + }, + { + 'x': 118.44965408423367, + 'y': 38.97557539104295, + 'z': 0 + }, + { + 'x': 118.44982599924174, + 'y': 38.9755785957013, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + // S3 + formData = {} + formData['position'] = + [ + { + 'x': 118.4506819073016, + 'y': 38.96841333187937, + 'z': 0 + }, + { + 'x': 118.45054806358243, + 'y': 38.968414672760744, + 'z': 0 + }, + { + 'x': 118.45054736276177, + 'y': 38.967441732761436, + 'z': 0 + }, + { + 'x': 118.45068503344464, + 'y': 38.96744347491385, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + // R3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45156360454915, + 'y': 38.96855778756091, + 'z': 0 + }, + { + 'x': 118.45139266437113, + 'y': 38.968561343144636, + 'z': 0 + }, + { + 'x': 118.45139462038668, + 'y': 38.96787824067078, + 'z': 0 + }, + { + 'x': 118.45156467445727, + 'y': 38.967881603664665, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // R4 + formData = {} + formData['position'] = + [ + { + 'x': 118.4515545490416, + 'y': 38.97729497318118, + 'z': 0 + }, + { + 'x': 118.45140224790165, + 'y': 38.97729009093853, + 'z': 0 + }, + { + 'x': 118.45138661382094, + 'y': 38.97652047016268, + 'z': 0 + }, + { + 'x': 118.45155339918233, + 'y': 38.97651885756536, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // S2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45240766557431, + 'y': 38.97534575778284, + 'z': 0 + }, + { + 'x': 118.45224282896565, + 'y': 38.97534011028037, + 'z': 0 + }, + { + 'x': 118.45224035043688, + 'y': 38.97450040106855, + 'z': 0 + }, + { + 'x': 118.45241094858173, + 'y': 38.97450066850072, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + // R2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45328782442537, + 'y': 38.97566801945691, + 'z': 0 + }, + { + 'x': 118.45311829455308, + 'y': 38.97567130998295, + 'z': 0 + }, + { + 'x': 118.45311846659096, + 'y': 38.97681579790999, + 'z': 0 + }, + { + 'x': 118.45328686230255, + 'y': 38.97681710026622, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // R1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45329116596798, + 'y': 38.96982793670997, + 'z': 0 + }, + { + 'x': 118.45312317895143, + 'y': 38.969827380470655, + 'z': 0 + }, + { + 'x': 118.45312354372409, + 'y': 38.96912941946868, + 'z': 0 + }, + { + 'x': 118.45329217489703, + 'y': 38.96913137385099, + 'z': 0 + } + ] + formData['color'] = 'rgba(211,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + return varList +} + +/** + * 四色图(橙) + */ +function initMapDataOrange() { + const varList = [] + + // 宿舍楼3 + let formData = {} + formData['position'] = + [ + { + 'x': 118.44213515957912, + 'y': 38.98182620076322, + 'z': 0 + }, + { + 'x': 118.44213754899599, + 'y': 38.981995327952696, + 'z': 0 + }, + { + 'x': 118.4414836256865, + 'y': 38.98199173734516, + 'z': 0 + }, + { + 'x': 118.44148436646135, + 'y': 38.981827006879826, + 'z': 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 宿舍楼2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44148609425869, + 'y': 38.98239025737818, + 'z': 0 + }, + { + 'x': 118.44148536726634, + 'y': 38.9822562453524, + 'z': 0 + }, + { + 'x': 118.4421320807601, + 'y': 38.982256708341865, + 'z': 0 + }, + { + 'x': 118.4421329492144, + 'y': 38.98239452423525, + 'z': 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 宿舍楼1 + formData = {} + formData['position'] = + [ + { + 'x': 118.4421331812966, + 'y': 38.98265803299595, + 'z': 0 + }, + { + 'x': 118.44213426112553, + 'y': 38.982797355555796, + 'z': 0 + }, + { + 'x': 118.44148596442709, + 'y': 38.982797465588966, + 'z': 0 + }, + { + 'x': 118.44148525488498, + 'y': 38.98265429110123, + 'z': 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + return varList +} + +/** + * 四色图(黄) + */ +function initMapDataYellow() { + const varList = [] + // 6#变电所 + let formData = {} + formData['position'] = + [ + { + 'x': 118.44374546848871, + 'y': 38.982263167365176, + 'z': 0 + }, + { + 'x': 118.44374722948864, + 'y': 38.98209246368076, + 'z': 0 + }, + { + 'x': 118.44401378171396, + 'y': 38.98209257157892, + 'z': 0 + }, + { + 'x': 118.4440138349424, + 'y': 38.98226615161588, + 'z': 0 + } + ] + + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 维修车间 + formData = {} + formData['position'] = + [ + { + 'x': 118.44597088138809, + 'y': 38.981471308427594, + 'z': 0 + }, + { + 'x': 118.4459760948946, + 'y': 38.981765817536036, + 'z': 0 + }, + { + 'x': 118.44553065474521, + 'y': 38.98176812180565, + 'z': 0 + }, + { + 'x': 118.4455307179291, + 'y': 38.98147144453055, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12// 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 3#边上的变电站 + formData = {} + formData['position'] = + [ + { + 'x': 118.45130738040707, + 'y': 38.97797099546754, + 'z': 0 + }, + { + 'x': 118.45106907549892, + 'y': 38.97796803056605, + 'z': 0 + }, + { + 'x': 118.45106610071397, + 'y': 38.97811344913565, + 'z': 0 + }, + { + 'x': 118.4513015613307, + 'y': 38.978115813757654, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12// 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 5#变电所 + formData = {} + formData['position'] = + [ + { + 'x': 118.43603395080952, + 'y': 38.97359160581587, + 'z': 0 + }, + { + 'x': 118.43580285775306, + 'y': 38.973593420472234, + 'z': 0 + }, + { + 'x': 118.43580210481892, + 'y': 38.97321857213371, + 'z': 0 + }, + { + 'x': 118.43603964470061, + 'y': 38.973215625514534, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // CD8电气室 + formData = {} + formData['position'] = + [ + { + 'x': 118.43587776860757, + 'y': 38.974451555934586, + 'z': 0 + }, + { + 'x': 118.43598046596607, + 'y': 38.974451152455735, + 'z': 0 + }, + { + 'x': 118.43597911073135, + 'y': 38.97490896596728, + 'z': 0 + }, + { + 'x': 118.43587633772498, + 'y': 38.974908592621226, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // CD9电气室 + formData = {} + formData['position'] = + [ + { + 'x': 118.43587771273357, + 'y': 38.974951837797796, + 'z': 0 + }, + { + 'x': 118.43597867001527, + 'y': 38.97495268221611, + 'z': 0 + }, + { + 'x': 118.43597829096899, + 'y': 38.97540943911833, + 'z': 0 + }, + { + 'x': 118.43587767643459, + 'y': 38.97540955803896, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // CD1电气室 + formData = {} + formData['position'] = + [ + { + 'x': 118.43663402110707, + 'y': 38.97495214361826, + 'z': 0 + }, + { + 'x': 118.43673385928963, + 'y': 38.97495233929888, + 'z': 0 + }, + { + 'x': 118.43673571047286, + 'y': 38.97540937785033, + 'z': 0 + }, + { + 'x': 118.43663250929741, + 'y': 38.97541094741884, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 11KV变电站 + formData = {} + formData['position'] = + [ + { + 'x': 118.43983953504524, + 'y': 38.96990348322273, + 'z': 0 + }, + { + 'x': 118.44017642768476, + 'y': 38.970341175126165, + 'z': 0 + }, + { + 'x': 118.4404242732871, + 'y': 38.97022474670012, + 'z': 0 + }, + { + 'x': 118.44008446513408, + 'y': 38.96978851461851, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 3#变电所 + formData = {} + formData['position'] = + [ + { + 'x': 118.44972448112601, + 'y': 38.96626086875943, + 'z': 0 + }, + { + 'x': 118.44972196523011, + 'y': 38.9660968075815, + 'z': 0 + }, + { + 'x': 118.45024916284817, + 'y': 38.966094967065914, + 'z': 0 + }, + { + 'x': 118.45024776181515, + 'y': 38.966272419288124, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 4#变电所 黄色 + formData = {} + formData['position'] = + [ + { + 'x': 118.45371313658056, + 'y': 38.966279590054945, + 'z': 0 + }, + { + 'x': 118.45345299394606, + 'y': 38.966279983269835, + 'z': 0 + }, + { + 'x': 118.45344964962355, + 'y': 38.96608674011788, + 'z': 0 + }, + { + 'x': 118.45370785705383, + 'y': 38.966088390858744, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 36 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 堆场泵房-黄色 + formData = {} + formData['position'] = + [ + { + 'x': 118.44810850909023, + 'y': 38.978077442854755, + 'z': 0 + }, + { + 'x': 118.44810960069924, + 'y': 38.977969983662476, + 'z': 0 + }, + { + 'x': 118.44866012020086, + 'y': 38.97796743544993, + 'z': 0 + }, + { + 'x': 118.44866189211275, + 'y': 38.9780706361195, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 2#变电所 + formData = {} + formData['position'] = + [ + { + 'x': 118.45047934536116, + 'y': 38.97814871513936, + 'z': 0 + }, + { + 'x': 118.45047438462865, + 'y': 38.97796566436581, + 'z': 0 + }, + { + 'x': 118.44984622498139, + 'y': 38.977969757294005, + 'z': 0 + }, + { + 'x': 118.44984508551426, + 'y': 38.97815056180021, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 1#变电所 + formData = {} + formData['position'] = + [ + { + 'x': 118.45391498967159, + 'y': 38.978189080295785, + 'z': 0 + }, + { + 'x': 118.4539148433588, + 'y': 38.97796960716181, + 'z': 0 + }, + { + 'x': 118.45331652105497, + 'y': 38.97797271616076, + 'z': 0 + }, + { + 'x': 118.45331650229522, + 'y': 38.97818587367303, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // 1#变电站边上的维修车间 + formData = {} + formData['position'] = + [ + { + 'x': 118.45302598288735, + 'y': 38.978068546212384, + 'z': 0 + }, + { + 'x': 118.45285014452516, + 'y': 38.9780701538756, + 'z': 0 + }, + { + 'x': 118.45284852664027, + 'y': 38.97794540907946, + 'z': 0 + }, + { + 'x': 118.45302528381559, + 'y': 38.97794544199758, + 'z': 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 18 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + return varList +} + +/** + * 四色图(蓝) + */ +function initMapDataBlue() { + const varList = [] + // 食堂1 + let formData = {} + formData['position'] = + [ + { + 'x': 118.44166955429107, + 'y': 38.98182679307835, + 'z': 0 + }, + { + 'x': 118.44166863235604, + 'y': 38.98154939571505, + 'z': 0 + }, + { + 'x': 118.44148064735525, + 'y': 38.981546470312615, + 'z': 0 + }, + { + 'x': 118.44148403802664, + 'y': 38.981827026181236, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 15 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 食堂2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44148515083845, + 'y': 38.98225626943295, + 'z': 0 + }, + { + 'x': 118.44148357227512, + 'y': 38.98199187334283, + 'z': 0 + }, + { + 'x': 118.44167252116473, + 'y': 38.98199336845894, + 'z': 0 + }, + { + 'x': 118.44167541667143, + 'y': 38.98225644697646, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 15 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 食堂3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44166651238953, + 'y': 38.982655449768046, + 'z': 0 + }, + { + 'x': 118.44167147528447, + 'y': 38.98239209420949, + 'z': 0 + }, + { + 'x': 118.44148607137478, + 'y': 38.98239018762681, + 'z': 0 + }, + { + 'x': 118.44148552255483, + 'y': 38.9826543316454, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 15 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 生活污水处理厂 左边 + formData = {} + formData['position'] = + [ + { + 'x': 118.44374539093153, + 'y': 38.98264644237934, + 'z': 0 + }, + { + 'x': 118.44396898301656, + 'y': 38.982650595235505, + 'z': 0 + }, + { + 'x': 118.44396918798682, + 'y': 38.9827913795993, + 'z': 0 + }, + { + 'x': 118.4437391597207, + 'y': 38.982788004176925, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10// 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 生活污水处理厂 右边 + formData = {} + formData['position'] = + [ + { + 'x': 118.44400359464382, + 'y': 38.98279581157546, + 'z': 0 + }, + { + 'x': 118.44411368603808, + 'y': 38.98279424883406, + 'z': 0 + }, + { + 'x': 118.44411330100934, + 'y': 38.9826546407027, + 'z': 0 + }, + { + 'x': 118.44400606541075, + 'y': 38.982653691147675, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 地源热泵房 + formData = {} + formData['position'] = + [ + { + 'x': 118.44416627249714, + 'y': 38.98209744567145, + 'z': 0 + }, + { + 'x': 118.44441325624598, + 'y': 38.982094737004104, + 'z': 0 + }, + { + 'x': 118.44441437407558, + 'y': 38.982240175044886, + 'z': 0 + }, + { + 'x': 118.44416266193849, + 'y': 38.982237777361654, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 供水池 + formData = {} + formData['position'] = + [ + { + 'x': 118.44448001797208, + 'y': 38.9827089533356, + 'z': 0 + }, + { + 'x': 118.44447271287598, + 'y': 38.98238811491803, + 'z': 0 + }, + { + 'x': 118.44517930330503, + 'y': 38.982386275904595, + 'z': 0 + }, + { + 'x': 118.44517727315545, + 'y': 38.982719400397734, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 供水调节站 + formData = {} + formData['position'] = + [ + { + 'x': 118.44460721032858, + 'y': 38.982813289265735, + 'z': 0 + }, + { + 'x': 118.44461292206482, + 'y': 38.9827125183, + 'z': 0 + }, + { + 'x': 118.44491533147163, + 'y': 38.982715857606784, + 'z': 0 + }, + { + 'x': 118.44491357455013, + 'y': 38.98281442511334, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 油品库 + formData = {} + formData['position'] = + [ + { + 'x': 118.44570732137456, + 'y': 38.982647559750326, + 'z': 0 + }, + { + 'x': 118.44594552723962, + 'y': 38.98264760434483, + 'z': 0 + }, + { + 'x': 118.44594381009605, + 'y': 38.98280508793967, + 'z': 0 + }, + { + 'x': 118.4457051688986, + 'y': 38.982805083222225, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 溢油库 + formData = {} + formData['position'] = + [ + { + 'x': 118.44602211629788, + 'y': 38.98263656754648, + 'z': 0 + }, + { + 'x': 118.44640165036542, + 'y': 38.98262850511268, + 'z': 0 + }, + { + 'x': 118.4464031626804, + 'y': 38.982794200606385, + 'z': 0 + }, + { + 'x': 118.4460153831427, + 'y': 38.98279739358728, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10// 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 危险库 + formData = {} + formData['position'] = + [ + { + 'x': 118.44543748463214, + 'y': 38.98279290998409, + 'z': 0 + }, + { + 'x': 118.44555642593535, + 'y': 38.98279355991286, + 'z': 0 + }, + { + 'x': 118.44555423956365, + 'y': 38.98286325168242, + 'z': 0 + }, + { + 'x': 118.44543787290792, + 'y': 38.98286482033883, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 综合库 + formData = {} + formData['position'] = + [ + { + 'x': 118.44542858210723, + 'y': 38.98247597282814, + 'z': 0 + }, + { + 'x': 118.44542312177357, + 'y': 38.982008842185664, + 'z': 0 + }, + { + 'x': 118.4464046351389, + 'y': 38.982007453934294, + 'z': 0 + }, + { + 'x': 118.44640058908035, + 'y': 38.98248208894464, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 维修车间边上的办公楼 + formData = {} + formData['position'] = + [ + { + 'x': 118.44553005453038, + 'y': 38.98176851916028, + 'z': 0 + }, + { + 'x': 118.44542483263785, + 'y': 38.98176872945198, + 'z': 0 + }, + { + 'x': 118.44542523734445, + 'y': 38.98147317695785, + 'z': 0 + }, + { + 'x': 118.4455287940247, + 'y': 38.98147171553534, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 露天库 + formData = {} + formData['position'] = + [ + { + 'x': 118.43725690564722, + 'y': 38.97571338854602, + 'z': 0 + }, + { + 'x': 118.43693292319736, + 'y': 38.97571396244159, + 'z': 0 + }, + { + 'x': 118.43693361006838, + 'y': 38.97547256134827, + 'z': 0 + }, + { + 'x': 118.43727224633301, + 'y': 38.97547187464955, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 2 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 库房 + formData = {} + formData['position'] = + [ + { + 'x': 118.44597071387395, + 'y': 38.98147127822063, + 'z': 0 + }, + { + 'x': 118.44622899896109, + 'y': 38.981472861489635, + 'z': 0 + }, + { + 'x': 118.44622645235512, + 'y': 38.98176486113189, + 'z': 0 + }, + { + 'x': 118.44597524187401, + 'y': 38.98176558307976, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 车库 + formData = {} + formData['position'] = + [ + { + 'x': 118.44622457469589, + 'y': 38.98147198941105, + 'z': 0 + }, + { + 'x': 118.4464105399007, + 'y': 38.98147200113728, + 'z': 0 + }, + { + 'x': 118.44641107595449, + 'y': 38.98176241021534, + 'z': 0 + }, + { + 'x': 118.44622357048593, + 'y': 38.98176357238804, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 卸车候工楼 + formData = {} + formData['position'] = + [ + { + 'x': 118.43589886305283, + 'y': 38.975887154518276, + 'z': 0 + }, + { + 'x': 118.43577956615786, + 'y': 38.975887347165525, + 'z': 0 + }, + { + 'x': 118.43578792470264, + 'y': 38.975587956417094, + 'z': 0 + }, + { + 'x': 118.43590483933734, + 'y': 38.97559010194757, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车部库房 + formData = {} + formData['position'] = + [ + { + 'x': 118.43661399260628, + 'y': 38.97571031861816, + 'z': 0 + }, + { + 'x': 118.43661608109367, + 'y': 38.97557583898876, + 'z': 0 + }, + { + 'x': 118.436931848216, + 'y': 38.97557846461047, + 'z': 0 + }, + { + 'x': 118.43693109323912, + 'y': 38.97571136787044, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 5 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // CD8翻控室 + formData = {} + formData['position'] = + [ + { + 'x': 118.436207255231, + 'y': 38.974575137267266, + 'z': 0 + }, + { + 'x': 118.43627867846855, + 'y': 38.97457545404922, + 'z': 0 + }, + { + 'x': 118.43627679376182, + 'y': 38.97478397140889, + 'z': 0 + }, + { + 'x': 118.43620726207328, + 'y': 38.974783192842345, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // CD9翻控室 + formData = {} + formData['position'] = + [ + { + 'x': 118.4364797634236, + 'y': 38.974785518768066, + 'z': 0 + }, + { + 'x': 118.43640816257248, + 'y': 38.97478569041389, + 'z': 0 + }, + { + 'x': 118.43640531813558, + 'y': 38.97457489775413, + 'z': 0 + }, + { + 'x': 118.43648428635531, + 'y': 38.97457485579656, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // CD01翻控室 + formData = {} + formData['position'] = + [ + { + 'x': 118.43666655762107, + 'y': 38.974788085512365, + 'z': 0 + }, + { + 'x': 118.43659628039673, + 'y': 38.9747879015865, + 'z': 0 + }, + { + 'x': 118.43659420996336, + 'y': 38.97457616410538, + 'z': 0 + }, + { + 'x': 118.43666721131603, + 'y': 38.974575998794165, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // 5#边上 储水池 + formData = {} + formData['position'] = + [ + { + 'x': 118.43573570235789, + 'y': 38.97304610334609, + 'z': 0 + }, + { + 'x': 118.43574097765824, + 'y': 38.972628581691296, + 'z': 0 + }, + { + 'x': 118.43604300394288, + 'y': 38.972625308654266, + 'z': 0 + }, + { + 'x': 118.43604722478794, + 'y': 38.973062399654125, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 翻车机除尘泵房 + formData = {} + formData['position'] = + [ + { + 'x': 118.43594728842464, + 'y': 38.97252254614179, + 'z': 0 + }, + { + 'x': 118.43582639843831, + 'y': 38.97252714645671, + 'z': 0 + }, + { + 'x': 118.43583160408157, + 'y': 38.97221738876652, + 'z': 0 + }, + { + 'x': 118.4359503183164, + 'y': 38.97221816868133, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T1转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.43615077285205, + 'y': 38.97158213984466, + 'z': 0 + }, + { + 'x': 118.43614735551863, + 'y': 38.97107583789083, + 'z': 0 + }, + { + 'x': 118.43609243843196, + 'y': 38.97107835386367, + 'z': 0 + }, + { + 'x': 118.43609359727633, + 'y': 38.97101750045944, + 'z': 0 + }, + { + 'x': 118.43628627410426, + 'y': 38.971016733179916, + 'z': 0 + }, + { + 'x': 118.43628856257945, + 'y': 38.97089331747796, + 'z': 0 + }, + { + 'x': 118.43652746257315, + 'y': 38.97089291539211, + 'z': 0 + }, + { + 'x': 118.43652730714993, + 'y': 38.97083108723389, + 'z': 0 + }, + { + 'x': 118.43672847155278, + 'y': 38.97083077947769, + 'z': 0 + }, + { + 'x': 118.43672067763958, + 'y': 38.971240418580685, + 'z': 0 + }, + { + 'x': 118.43663884936606, + 'y': 38.971244176953675, + 'z': 0 + }, + { + 'x': 118.43663051048469, + 'y': 38.971469295792474, + 'z': 0 + }, + { + 'x': 118.43635447975751, + 'y': 38.97147653105624, + 'z': 0 + }, + { + 'x': 118.43635375972812, + 'y': 38.97158304709108, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 30 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 固废库 + formData = {} + formData['position'] = + [ + { + 'x': 118.43663361727585, + 'y': 38.970768111099275, + 'z': 0 + }, + { + 'x': 118.43662578902027, + 'y': 38.970581239358886, + 'z': 0 + }, + { + 'x': 118.43687074121608, + 'y': 38.970464399704596, + 'z': 0 + }, + { + 'x': 118.43701301454189, + 'y': 38.97073867455528, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 3 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BF1 + formData = {} + formData['position'] = + [ + { + 'x': 118.43621868753681, + 'y': 38.97241385238212, + 'z': 0 + }, + { + 'x': 118.43626774674954, + 'y': 38.97241202882116, + 'z': 0 + }, + { + 'x': 118.43627016378403, + 'y': 38.97158127880355, + 'z': 0 + }, + { + 'x': 118.43622096190337, + 'y': 38.971580259887745, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BF2 + formData = {} + formData['position'] = + [ + { + 'x': 118.43642183221598, + 'y': 38.97241442974346, + 'z': 0 + }, + { + 'x': 118.43647077209735, + 'y': 38.97241263464797, + 'z': 0 + }, + { + 'x': 118.43646371241213, + 'y': 38.9714720292113, + 'z': 0 + }, + { + 'x': 118.4364208642533, + 'y': 38.9714718250374, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BF3 + formData = {} + formData['position'] = + [ + { + 'x': 118.43648627325226, + 'y': 38.97241446516718, + 'z': 0 + }, + { + 'x': 118.43653537871452, + 'y': 38.97241265171473, + 'z': 0 + }, + { + 'x': 118.43653494287754, + 'y': 38.97147185319605, + 'z': 0 + }, + { + 'x': 118.43648155841218, + 'y': 38.97147182617507, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.43941970841215, + 'y': 38.96953144726191, + 'z': 0 + }, + { + 'x': 118.4396130412136, + 'y': 38.969445150141375, + 'z': 0 + }, + { + 'x': 118.43977277502115, + 'y': 38.96964049510435, + 'z': 0 + }, + { + 'x': 118.43956859026538, + 'y': 38.96973724589601, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样塔 BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.43669897243508, + 'y': 38.97084797734767, + 'z': 0 + }, + { + 'x': 118.43672127872549, + 'y': 38.97087326124729, + 'z': 0 + }, + { + 'x': 118.43946175544967, + 'y': 38.96958713518793, + 'z': 0 + }, + { + 'x': 118.43943399775637, + 'y': 38.96955111545324, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样塔 BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.4367134203435, + 'y': 38.97089529073047, + 'z': 0 + }, + { + 'x': 118.43673489314527, + 'y': 38.97092489513455, + 'z': 0 + }, + { + 'x': 118.43948422832193, + 'y': 38.969620274280864, + 'z': 0 + }, + { + 'x': 118.4394658543905, + 'y': 38.96959510043603, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样塔 BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.4367204283016, + 'y': 38.970938609282484, + 'z': 0 + }, + { + 'x': 118.43673229209608, + 'y': 38.970973249613785, + 'z': 0 + }, + { + 'x': 118.43951126677209, + 'y': 38.96965772629055, + 'z': 0 + }, + { + 'x': 118.43949146647734, + 'y': 38.969630742899554, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 堆场全景 + formData = {} + formData['position'] = + [ + { + 'x': 118.44705712472711, + 'y': 38.97761228389707, + 'z': 0 + }, + { + 'x': 118.45413365879368, + 'y': 38.97761316915661, + 'z': 0 + }, + { + 'x': 118.45414235465658, + 'y': 38.96633330452699, + 'z': 0 + }, + { + 'x': 118.44706301363834, + 'y': 38.96634939068105, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 18 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BD1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45405006693586, + 'y': 38.97761313932549, + 'z': 0 + }, + { + 'x': 118.45409203768205, + 'y': 38.97761313806462, + 'z': 0 + }, + { + 'x': 118.4540853070961, + 'y': 38.97804827240476, + 'z': 0 + }, + { + 'x': 118.45404548855065, + 'y': 38.97804895443955, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 4#变电所 蓝色 + formData = {} + formData['position'] = + [ + { + 'x': 118.45345323194279, + 'y': 38.96628004192987, + 'z': 0 + }, + { + 'x': 118.45311158580982, + 'y': 38.96627678279534, + 'z': 0 + }, + { + 'x': 118.4531093233491, + 'y': 38.96608970343862, + 'z': 0 + }, + { + 'x': 118.45345033520366, + 'y': 38.96608683047884, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 36 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 堆场泵房 蓝色 + formData = {} + formData['position'] = + [ + { + 'x': 118.44866142267031, + 'y': 38.97807291066897, + 'z': 0 + }, + { + 'x': 118.44866222306987, + 'y': 38.97815768492403, + 'z': 0 + }, + { + 'x': 118.44811067895728, + 'y': 38.978156567998994, + 'z': 0 + }, + { + 'x': 118.44810870196935, + 'y': 38.97807716187736, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // T7转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45401166002068, + 'y': 38.96619901801844, + 'z': 0 + }, + { + 'x': 118.45413848289246, + 'y': 38.966199150508096, + 'z': 0 + }, + { + 'x': 118.45413933889361, + 'y': 38.96593177793553, + 'z': 0 + }, + { + 'x': 118.4540145436718, + 'y': 38.96592916695885, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T7连接线-1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45401965571455, + 'y': 38.966053042241604, + 'z': 0 + }, + { + 'x': 118.45402032237558, + 'y': 38.96602783718346, + 'z': 0 + }, + { + 'x': 118.45255429154334, + 'y': 38.96601966316516, + 'z': 0 + }, + { + 'x': 118.45255308571595, + 'y': 38.96605184360487, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T7连接线-2 + formData = {} + formData['position'] = + [ + { + 'x': 118.4540135617269, + 'y': 38.96601740749464, + 'z': 0 + }, + { + 'x': 118.45401387540862, + 'y': 38.965986479752054, + 'z': 0 + }, + { + 'x': 118.45255369780556, + 'y': 38.965984668237965, + 'z': 0 + }, + { + 'x': 118.45255466661101, + 'y': 38.966017915316826, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T2转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.44700602271118, + 'y': 38.9658964198577, + 'z': 0 + }, + { + 'x': 118.44738596901692, + 'y': 38.96589457740237, + 'z': 0 + }, + { + 'x': 118.44738135404893, + 'y': 38.966138714841804, + 'z': 0 + }, + { + 'x': 118.44699572734432, + 'y': 38.96613444813284, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T3转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.44776962256195, + 'y': 38.965889370453574, + 'z': 0 + }, + { + 'x': 118.44809326264372, + 'y': 38.965889616570855, + 'z': 0 + }, + { + 'x': 118.44808780176668, + 'y': 38.96607316455951, + 'z': 0 + }, + { + 'x': 118.44794655215271, + 'y': 38.96607455491782, + 'z': 0 + }, + { + 'x': 118.44794146635401, + 'y': 38.96619641771001, + 'z': 0 + }, + { + 'x': 118.44776079113596, + 'y': 38.966194333858375, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T4转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.44876146302641, + 'y': 38.965889546444586, + 'z': 0 + }, + { + 'x': 118.44909416244944, + 'y': 38.96588648743246, + 'z': 0 + }, + { + 'x': 118.44908860169758, + 'y': 38.96607601169582, + 'z': 0 + }, + { + 'x': 118.4489379722628, + 'y': 38.96607831631868, + 'z': 0 + }, + { + 'x': 118.44894116226713, + 'y': 38.966190866705055, + 'z': 0 + }, + { + 'x': 118.44875876429231, + 'y': 38.96619357731034, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T5转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45048975512684, + 'y': 38.96620089867923, + 'z': 0 + }, + { + 'x': 118.45048875084328, + 'y': 38.965847355249124, + 'z': 0 + }, + { + 'x': 118.45082290965152, + 'y': 38.96584963681194, + 'z': 0 + }, + { + 'x': 118.45083010261206, + 'y': 38.96607997936651, + 'z': 0 + }, + { + 'x': 118.45066855232696, + 'y': 38.966077577650495, + 'z': 0 + }, + { + 'x': 118.4506664625876, + 'y': 38.96619599566666, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T6转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45220758815368, + 'y': 38.96620105730172, + 'z': 0 + }, + { + 'x': 118.45221659340145, + 'y': 38.965870900750225, + 'z': 0 + }, + { + 'x': 118.45256352811573, + 'y': 38.96587061377404, + 'z': 0 + }, + { + 'x': 118.45256382683272, + 'y': 38.966082113167516, + 'z': 0 + }, + { + 'x': 118.45240729151034, + 'y': 38.96609180490225, + 'z': 0 + }, + { + 'x': 118.45241317153624, + 'y': 38.96620018575734, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.44806863789408, + 'y': 38.97864988082857, + 'z': 0 + }, + { + 'x': 118.44783846500337, + 'y': 38.97864623525783, + 'z': 0 + }, + { + 'x': 118.44784044614049, + 'y': 38.97815433927587, + 'z': 0 + }, + { + 'x': 118.44797821472679, + 'y': 38.978156760016965, + 'z': 0 + }, + { + 'x': 118.44798183842993, + 'y': 38.97837572111025, + 'z': 0 + }, + { + 'x': 118.44807544334861, + 'y': 38.97837591529884, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.44991614971256, + 'y': 38.97864352371008, + 'z': 0 + }, + { + 'x': 118.44964677600133, + 'y': 38.97863823373865, + 'z': 0 + }, + { + 'x': 118.44964596437266, + 'y': 38.97816183098262, + 'z': 0 + }, + { + 'x': 118.44984664127546, + 'y': 38.978161851110755, + 'z': 0 + }, + { + 'x': 118.4498482596399, + 'y': 38.97828599108857, + 'z': 0 + }, + { + 'x': 118.44992135976518, + 'y': 38.978298298430666, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T10转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45165402387089, + 'y': 38.97864303903659, + 'z': 0 + }, + { + 'x': 118.4513667415022, + 'y': 38.97864258243187, + 'z': 0 + }, + { + 'x': 118.45137346203241, + 'y': 38.978157614895615, + 'z': 0 + }, + { + 'x': 118.45157722926727, + 'y': 38.978163134366596, + 'z': 0 + }, + { + 'x': 118.45157923227242, + 'y': 38.97829241935612, + 'z': 0 + }, + { + 'x': 118.45164825451741, + 'y': 38.978304443731474, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 11转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45338192039759, + 'y': 38.978640066624834, + 'z': 0 + }, + { + 'x': 118.45310886225376, + 'y': 38.978642697900334, + 'z': 0 + }, + { + 'x': 118.45311183520704, + 'y': 38.978152489577056, + 'z': 0 + }, + { + 'x': 118.45329918075275, + 'y': 38.97815603366372, + 'z': 0 + }, + { + 'x': 118.45330041414067, + 'y': 38.97828838467808, + 'z': 0 + }, + { + 'x': 118.45338054329211, + 'y': 38.978296668305774, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样到T2管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.44701208320626, + 'y': 38.96610474692541, + 'z': 0 + }, + { + 'x': 118.44699835547762, + 'y': 38.966073132991106, + 'z': 0 + }, + { + 'x': 118.43968975749961, + 'y': 38.9695368020723, + 'z': 0 + }, + { + 'x': 118.4397049633356, + 'y': 38.969562262612705, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样到T2管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44702177538612, + 'y': 38.966050830673886, + 'z': 0 + }, + { + 'x': 118.44700096273681, + 'y': 38.96602504287901, + 'z': 0 + }, + { + 'x': 118.43966154402057, + 'y': 38.969504417377564, + 'z': 0 + }, + { + 'x': 118.43968499186334, + 'y': 38.96953310003377, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 卸车采样到T2管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44701596710544, + 'y': 38.96601499737981, + 'z': 0 + }, + { + 'x': 118.446998509874, + 'y': 38.96598779888063, + 'z': 0 + }, + { + 'x': 118.43963705969952, + 'y': 38.96947477495856, + 'z': 0 + }, + { + 'x': 118.43966039497597, + 'y': 38.96950311601454, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T2到T3转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.44776383455572, + 'y': 38.96604953087853, + 'z': 0 + }, + { + 'x': 118.44776575028665, + 'y': 38.966020405484656, + 'z': 0 + }, + { + 'x': 118.44738002896634, + 'y': 38.96602047040314, + 'z': 0 + }, + { + 'x': 118.44737911539887, + 'y': 38.96604975373439, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T2到T3转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44776726642978, + 'y': 38.96601153133374, + 'z': 0 + }, + { + 'x': 118.44776686748042, + 'y': 38.965982864593975, + 'z': 0 + }, + { + 'x': 118.44737093558155, + 'y': 38.9659806906131, + 'z': 0 + }, + { + 'x': 118.44736900037059, + 'y': 38.966012502277025, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T2到T3转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44776795176807, + 'y': 38.965977574855536, + 'z': 0 + }, + { + 'x': 118.44776869354826, + 'y': 38.965946011701824, + 'z': 0 + }, + { + 'x': 118.4473757742699, + 'y': 38.96594661887615, + 'z': 0 + }, + { + 'x': 118.44737633225658, + 'y': 38.96598060055609, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T3到T4转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.44876157623791, + 'y': 38.966051584504754, + 'z': 0 + }, + { + 'x': 118.44876024749608, + 'y': 38.966025065104134, + 'z': 0 + }, + { + 'x': 118.4480888835252, + 'y': 38.966016307450346, + 'z': 0 + }, + { + 'x': 118.4480884421606, + 'y': 38.966049451652864, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T3到T4转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44876597374879, + 'y': 38.96601638753426, + 'z': 0 + }, + { + 'x': 118.44876813688957, + 'y': 38.9659842926509, + 'z': 0 + }, + { + 'x': 118.4480838618814, + 'y': 38.96598328834097, + 'z': 0 + }, + { + 'x': 118.44808375191263, + 'y': 38.966016243345535, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T3到T4转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44876192534866, + 'y': 38.965973003223056, + 'z': 0 + }, + { + 'x': 118.44876353520759, + 'y': 38.96595194500588, + 'z': 0 + }, + { + 'x': 118.44807081708512, + 'y': 38.965954172036426, + 'z': 0 + }, + { + 'x': 118.44807462577427, + 'y': 38.965973703959584, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T4到T5转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.4504893682069, + 'y': 38.96605191646457, + 'z': 0 + }, + { + 'x': 118.45048920073471, + 'y': 38.96602070375045, + 'z': 0 + }, + { + 'x': 118.44909020127669, + 'y': 38.966020218614325, + 'z': 0 + }, + { + 'x': 118.44908948031846, + 'y': 38.96605047183339, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T4到T5转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45048918578809, + 'y': 38.96601208729804, + 'z': 0 + }, + { + 'x': 118.45048911023251, + 'y': 38.9659866773233, + 'z': 0 + }, + { + 'x': 118.44908992611772, + 'y': 38.96598432341923, + 'z': 0 + }, + { + 'x': 118.44908957704946, + 'y': 38.96601423752728, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T4到T5转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44909151857476, + 'y': 38.965976617768405, + 'z': 0 + }, + { + 'x': 118.4490922995692, + 'y': 38.96594826611271, + 'z': 0 + }, + { + 'x': 118.45048930835804, + 'y': 38.96594785599655, + 'z': 0 + }, + { + 'x': 118.45048919722822, + 'y': 38.965980144049134, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T5到T6转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.452211662001, + 'y': 38.96605114438069, + 'z': 0 + }, + { + 'x': 118.45221656109541, + 'y': 38.96602102554313, + 'z': 0 + }, + { + 'x': 118.45082276785232, + 'y': 38.966020944838434, + 'z': 0 + }, + { + 'x': 118.45082454546983, + 'y': 38.96605194627813, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T5到T6转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45082706743769, + 'y': 38.96601719377588, + 'z': 0 + }, + { + 'x': 118.45082704020865, + 'y': 38.96598320087714, + 'z': 0 + }, + { + 'x': 118.45221341231034, + 'y': 38.965985919481724, + 'z': 0 + }, + { + 'x': 118.45221472284447, + 'y': 38.96601655546338, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T5到T6转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45221370603228, + 'y': 38.96597675277101, + 'z': 0 + }, + { + 'x': 118.45221439797743, + 'y': 38.96595123225914, + 'z': 0 + }, + { + 'x': 118.45082312967799, + 'y': 38.965948018746076, + 'z': 0 + }, + { + 'x': 118.45082558552178, + 'y': 38.96597997542543, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8到T9转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.44964664324172, + 'y': 38.978551077390655, + 'z': 0 + }, + { + 'x': 118.44964651584748, + 'y': 38.9785215787105, + 'z': 0 + }, + { + 'x': 118.44806120577788, + 'y': 38.97852110703929, + 'z': 0 + }, + { + 'x': 118.44806642499344, + 'y': 38.978551899642945, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8到T9转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.4480718906012, + 'y': 38.97851554294562, + 'z': 0 + }, + { + 'x': 118.44807278405438, + 'y': 38.97848008423598, + 'z': 0 + }, + { + 'x': 118.44964642753223, + 'y': 38.97848396773047, + 'z': 0 + }, + { + 'x': 118.44964646937261, + 'y': 38.97851892698115, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8到T9转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.44964643903913, + 'y': 38.97848188548225, + 'z': 0 + }, + { + 'x': 118.44964639790682, + 'y': 38.978448507628094, + 'z': 0 + }, + { + 'x': 118.44807282610674, + 'y': 38.97844586196081, + 'z': 0 + }, + { + 'x': 118.4480726905507, + 'y': 38.978479913452894, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8到T9转接塔管道BH4 + formData = {} + formData['position'] = + [ + { + 'x': 118.44807361709839, + 'y': 38.97844373528499, + 'z': 0 + }, + { + 'x': 118.4480741195, + 'y': 38.978412078777396, + 'z': 0 + }, + { + 'x': 118.44964634892007, + 'y': 38.97841359870016, + 'z': 0 + }, + { + 'x': 118.44964639576358, + 'y': 38.978445947327415, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9到T10转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45136853739767, + 'y': 38.97855180794119, + 'z': 0 + }, + { + 'x': 118.45136835068661, + 'y': 38.97852486019318, + 'z': 0 + }, + { + 'x': 118.44991707998608, + 'y': 38.97852146569496, + 'z': 0 + }, + { + 'x': 118.44991647502427, + 'y': 38.978553194266176, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9到T10转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.44991722000987, + 'y': 38.978517358129125, + 'z': 0 + }, + { + 'x': 118.44991852162872, + 'y': 38.97847969197024, + 'z': 0 + }, + { + 'x': 118.45136887200074, + 'y': 38.97848603241828, + 'z': 0 + }, + { + 'x': 118.45136840092681, + 'y': 38.97852103162728, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9到T10转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.4513689443606, + 'y': 38.97848079841223, + 'z': 0 + }, + { + 'x': 118.45136936976213, + 'y': 38.978449499432465, + 'z': 0 + }, + { + 'x': 118.44991868950578, + 'y': 38.97844952294711, + 'z': 0 + }, + { + 'x': 118.44991855998951, + 'y': 38.97847951847576, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9到T10转接塔管道BH4 + formData = {} + formData['position'] = + [ + { + 'x': 118.44991912788241, + 'y': 38.97844322139978, + 'z': 0 + }, + { + 'x': 118.44991955519663, + 'y': 38.97841315601602, + 'z': 0 + }, + { + 'x': 118.45136985064698, + 'y': 38.978414271771854, + 'z': 0 + }, + { + 'x': 118.45136940373483, + 'y': 38.97844788674043, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T10到T11转接塔管道BH1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45311020209493, + 'y': 38.97855308045481, + 'z': 0 + }, + { + 'x': 118.45310951656143, + 'y': 38.97852317271364, + 'z': 0 + }, + { + 'x': 118.45164902146038, + 'y': 38.978522937897594, + 'z': 0 + }, + { + 'x': 118.45164932015386, + 'y': 38.978554561264, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T10到T11转接塔管道BH2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45165144448588, + 'y': 38.97851781124157, + 'z': 0 + }, + { + 'x': 118.45164997116002, + 'y': 38.97848344008562, + 'z': 0 + }, + { + 'x': 118.45310994306267, + 'y': 38.97848702898752, + 'z': 0 + }, + { + 'x': 118.45310963773522, + 'y': 38.97851630241646, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T10到T11转接塔管道BH3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45311018942492, + 'y': 38.978485069011064, + 'z': 0 + }, + { + 'x': 118.45311006587356, + 'y': 38.97844897976183, + 'z': 0 + }, + { + 'x': 118.4516504926968, + 'y': 38.97845219090819, + 'z': 0 + }, + { + 'x': 118.45165059000787, + 'y': 38.978480355148626, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T10到T11转接塔管道BH4 + formData = {} + formData['position'] = + [ + { + 'x': 118.45165040758363, + 'y': 38.97844472253516, + 'z': 0 + }, + { + 'x': 118.45164970958429, + 'y': 38.97841112166006, + 'z': 0 + }, + { + 'x': 118.45311041163265, + 'y': 38.97841482649097, + 'z': 0 + }, + { + 'x': 118.45311002997599, + 'y': 38.97844937500469, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45324601340354, + 'y': 38.977615878028715, + 'z': 0 + }, + { + 'x': 118.45320406739434, + 'y': 38.977616094841416, + 'z': 0 + }, + { + 'x': 118.45320369149404, + 'y': 38.97815488601482, + 'z': 0 + }, + { + 'x': 118.45324296133914, + 'y': 38.978155118631335, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45319993237835, + 'y': 38.97815455048977, + 'z': 0 + }, + { + 'x': 118.45315702465696, + 'y': 38.978153674531875, + 'z': 0 + }, + { + 'x': 118.45315827386564, + 'y': 38.97761567935095, + 'z': 0 + }, + { + 'x': 118.45320200955113, + 'y': 38.97761521126994, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45235432652262, + 'y': 38.97804641494594, + 'z': 0 + }, + { + 'x': 118.45231473966498, + 'y': 38.97804714070174, + 'z': 0 + }, + { + 'x': 118.45232211677381, + 'y': 38.97761555605033, + 'z': 0 + }, + { + 'x': 118.45236479829853, + 'y': 38.97761555075982, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-4 + formData = {} + formData['position'] = + [ + { + 'x': 118.45151156940642, + 'y': 38.977615128930914, + 'z': 0 + }, + { + 'x': 118.45147716366819, + 'y': 38.97761512882793, + 'z': 0 + }, + { + 'x': 118.45148095521435, + 'y': 38.978160569332466, + 'z': 0 + }, + { + 'x': 118.45151851387625, + 'y': 38.978161610922754, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-5 + formData = {} + formData['position'] = + [ + { + 'x': 118.45146506829845, + 'y': 38.97761512873593, + 'z': 0 + }, + { + 'x': 118.45142749417228, + 'y': 38.9776152020285, + 'z': 0 + }, + { + 'x': 118.4514270070005, + 'y': 38.97816164719619, + 'z': 0 + }, + { + 'x': 118.4514702467271, + 'y': 38.978161269651494, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-6 + formData = {} + formData['position'] = + [ + { + 'x': 118.4506375054877, + 'y': 38.97761028138528, + 'z': 0 + }, + { + 'x': 118.45058217577198, + 'y': 38.977610672368925, + 'z': 0 + }, + { + 'x': 118.45058565025582, + 'y': 38.97804526617509, + 'z': 0 + }, + { + 'x': 118.45062499915328, + 'y': 38.97804502178297, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-7 + formData = {} + formData['position'] = + [ + { + 'x': 118.44978611809402, + 'y': 38.97816189633577, + 'z': 0 + }, + { + 'x': 118.4497427132221, + 'y': 38.97816188913714, + 'z': 0 + }, + { + 'x': 118.44974248123884, + 'y': 38.97761421223596, + 'z': 0 + }, + { + 'x': 118.44978700009024, + 'y': 38.977614633491186, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-8 + formData = {} + formData['position'] = + [ + { + 'x': 118.44973594697677, + 'y': 38.97761458663673, + 'z': 0 + }, + { + 'x': 118.44969908776174, + 'y': 38.977614592520865, + 'z': 0 + }, + { + 'x': 118.44969660563713, + 'y': 38.97816205796606, + 'z': 0 + }, + { + 'x': 118.44973853179937, + 'y': 38.97816188528078, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-9 + formData = {} + formData['position'] = + [ + { + 'x': 118.44889729316841, + 'y': 38.97761418046365, + 'z': 0 + }, + { + 'x': 118.44886538143011, + 'y': 38.97761425828673, + 'z': 0 + }, + { + 'x': 118.44885567255632, + 'y': 38.97804497899378, + 'z': 0 + }, + { + 'x': 118.4488924279876, + 'y': 38.978043934302924, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-10 + formData = {} + formData['position'] = + [ + { + 'x': 118.44792303448537, + 'y': 38.97761287565204, + 'z': 0 + }, + { + 'x': 118.44788224541423, + 'y': 38.97761392206918, + 'z': 0 + }, + { + 'x': 118.44788369758601, + 'y': 38.97816011973279, + 'z': 0 + }, + { + 'x': 118.44792625565421, + 'y': 38.978159392145955, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T11-T8短管段-11 + formData = {} + formData['position'] = + [ + { + 'x': 118.44788153237583, + 'y': 38.9776132135235, + 'z': 0 + }, + { + 'x': 118.44783228427329, + 'y': 38.97761385341534, + 'z': 0 + }, + { + 'x': 118.44783510598519, + 'y': 38.97804837165928, + 'z': 0 + }, + { + 'x': 118.44787932204663, + 'y': 38.97804765835996, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T8附近储水池 + formData = {} + formData['position'] = + [ + { + 'x': 118.44718539416431, + 'y': 38.97787109723385, + 'z': 0 + }, + { + 'x': 118.44772118407043, + 'y': 38.97787685823234, + 'z': 0 + }, + { + 'x': 118.447726168146, + 'y': 38.97831864166656, + 'z': 0 + }, + { + 'x': 118.44717936435796, + 'y': 38.9783107109159, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T9附近储水池 + formData = {} + formData['position'] = + [ + { + 'x': 118.44901417497135, + 'y': 38.97788056190253, + 'z': 0 + }, + { + 'x': 118.44955086028163, + 'y': 38.977880940308424, + 'z': 0 + }, + { + 'x': 118.44955607941819, + 'y': 38.97831736975902, + 'z': 0 + }, + { + 'x': 118.44899730127072, + 'y': 38.978318297067126, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 煤污水处理厂 + formData = {} + formData['position'] = + [ + { + 'x': 118.45159430546872, + 'y': 38.97770411789006, + 'z': 0 + }, + { + 'x': 118.45207671872681, + 'y': 38.977705882668374, + 'z': 0 + }, + { + 'x': 118.45207567638042, + 'y': 38.97822498352003, + 'z': 0 + }, + { + 'x': 118.45159249676811, + 'y': 38.978223435519695, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T12转接塔 + formData = {} + formData['position'] = + [ + { + 'x': 118.45454494878516, + 'y': 38.978666073431974, + 'z': 0 + }, + { + 'x': 118.45454877334411, + 'y': 38.97827340973365, + 'z': 0 + }, + { + 'x': 118.45489257612584, + 'y': 38.97827901148382, + 'z': 0 + }, + { + 'x': 118.45489319459523, + 'y': 38.978663813698375, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 装船后工楼 + formData = {} + formData['position'] = + [ + { + 'x': 118.45285029681932, + 'y': 38.97807034908604, + 'z': 0 + }, + { + 'x': 118.45268955193532, + 'y': 38.978071568533736, + 'z': 0 + }, + { + 'x': 118.45269180054687, + 'y': 38.9782739801774, + 'z': 0 + }, + { + 'x': 118.45249654166457, + 'y': 38.97827499657158, + 'z': 0 + }, + { + 'x': 118.45249795536014, + 'y': 38.977940416956194, + 'z': 0 + }, + { + 'x': 118.45284869443816, + 'y': 38.977945790088086, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T12转接塔到装船采样台-1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45456194916457, + 'y': 38.97852486231768, + 'z': 0 + }, + { + 'x': 118.45456139301362, + 'y': 38.97855461125936, + 'z': 0 + }, + { + 'x': 118.45338123981628, + 'y': 38.97855303018287, + 'z': 0 + }, + { + 'x': 118.45337856948838, + 'y': 38.978525195459554, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T12转接塔到装船采样台-2 + formData = {} + formData['position'] = + [ + { + 'x': 118.4545643074465, + 'y': 38.97851906021003, + 'z': 0 + }, + { + 'x': 118.45456541296737, + 'y': 38.97848787474575, + 'z': 0 + }, + { + 'x': 118.45337936898707, + 'y': 38.97848802566523, + 'z': 0 + }, + { + 'x': 118.4533801196405, + 'y': 38.9785179938507, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T12转接塔到装船采样台-3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45456182174084, + 'y': 38.97848411323434, + 'z': 0 + }, + { + 'x': 118.45456162870875, + 'y': 38.97844881731705, + 'z': 0 + }, + { + 'x': 118.45337813999991, + 'y': 38.97845262501637, + 'z': 0 + }, + { + 'x': 118.45337993125752, + 'y': 38.97848343235468, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // T12转接塔到装船采样台-4 + formData = {} + formData['position'] = + [ + { + 'x': 118.45454491088014, + 'y': 38.97867240857839, + 'z': 0 + }, + { + 'x': 118.45454877334411, + 'y': 38.97827340973365, + 'z': 0 + }, + { + 'x': 118.45489257612584, + 'y': 38.97827901148382, + 'z': 0 + }, + { + 'x': 118.45489319459523, + 'y': 38.978663813698375, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + // T12转接塔到装船采样台-1 + formData = {} + formData['position'] = + [ + { + 'x': 118.45455801781031, + 'y': 38.978449817523725, + 'z': 0 + }, + { + 'x': 118.45455852230542, + 'y': 38.97841464262465, + 'z': 0 + }, + { + 'x': 118.45337817618062, + 'y': 38.97841160787686, + 'z': 0 + }, + { + 'x': 118.45337660197517, + 'y': 38.978446837055394, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // 预留线 + formData = {} + formData['position'] = + [ + { + 'x': 118.45459022154395, + 'y': 38.978273967169365, + 'z': 0 + }, + { + 'x': 118.45463485686226, + 'y': 38.978274722081906, + 'z': 0 + }, + { + 'x': 118.45465326928796, + 'y': 38.96574152169437, + 'z': 0 + }, + { + 'x': 118.45460806071517, + 'y': 38.96574070697139, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BM4 + formData = {} + formData['position'] = + [ + { + 'x': 118.45464418430508, + 'y': 38.97827490267765, + 'z': 0 + }, + { + 'x': 118.45469102218843, + 'y': 38.97827565384618, + 'z': 0 + }, + { + 'x': 118.45469906847784, + 'y': 38.965740024597935, + 'z': 0 + }, + { + 'x': 118.45465582441282, + 'y': 38.96574167253614, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BM3 + formData = {} + formData['position'] = + [ + { + 'x': 118.45469202079246, + 'y': 38.97827564329269, + 'z': 0 + }, + { + 'x': 118.45473570769691, + 'y': 38.97827635067656, + 'z': 0 + }, + { + 'x': 118.45474505144328, + 'y': 38.966146625822624, + 'z': 0 + }, + { + 'x': 118.45470301868865, + 'y': 38.96614697235462, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BM2 + formData = {} + formData['position'] = + [ + { + 'x': 118.45473983501886, + 'y': 38.97827644802289, + 'z': 0 + }, + { + 'x': 118.45477972162033, + 'y': 38.97826988854391, + 'z': 0 + }, + { + 'x': 118.45478746433517, + 'y': 38.96841487318176, + 'z': 0 + }, + { + 'x': 118.45474718382881, + 'y': 38.968411932662455, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + // BM1 + formData = {} + formData['position'] = + [ + { + 'x': 118.4547885602939, + 'y': 38.978277239538684, + 'z': 0 + }, + { + 'x': 118.45482486545669, + 'y': 38.97827782849935, + 'z': 0 + }, + { + 'x': 118.45483419124878, + 'y': 38.9709392568471, + 'z': 0 + }, + { + 'x': 118.45479172438303, + 'y': 38.9709388473851, + 'z': 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + return varList +} + +/** + * 边界 + */ +function initWallData() { + const varList = [] + // 左边边界点 + const formData = {} + formData['position'] = + [ + { + 'x': 118.44671375018376, + 'y': 38.97889478328093, + 'z': 0 + }, + { + 'x': 118.44671172328863, + 'y': 38.983021563460596, + 'z': 0 + }, + { + 'x': 118.44119168247931, + 'y': 38.98301785705107, + 'z': 0 + }, + { + 'x': 118.44118969124764, + 'y': 38.9812163374787, + 'z': 0 + }, + { + 'x': 118.44649853732912, + 'y': 38.98121953889335, + 'z': 0 + }, + { + 'x': 118.44650134365597, + 'y': 38.97875915992818, + 'z': 0 + }, + { + 'x': 118.4470637531886, + 'y': 38.97876017923315, + 'z': 0 + }, + { + 'x': 118.44706619500896, + 'y': 38.97868164469462, + 'z': 0 + }, + { + 'x': 118.44712789674165, + 'y': 38.97868185340563, + 'z': 0 + }, + { + 'x': 118.4471304201038, + 'y': 38.97871405171788, + 'z': 0 + }, + { + 'x': 118.4473051085244, + 'y': 38.97871207912992, + 'z': 0 + }, + { + 'x': 118.4473289786751, + 'y': 38.97841816252476, + 'z': 0 + }, + { + 'x': 118.44729548667289, + 'y': 38.97839018034534, + 'z': 0 + }, + { + 'x': 118.44707859188276, + 'y': 38.9783857145849, + 'z': 0 + }, + { + 'x': 118.4470629476726, + 'y': 38.96624162768212, + 'z': 0 + }, + { + 'x': 118.44698598652433, + 'y': 38.96614241527621, + 'z': 0 + }, + { + 'x': 118.43699256706036, + 'y': 38.97094584444521, + 'z': 0 + }, + { + 'x': 118.43698677434784, + 'y': 38.97113279616971, + 'z': 0 + }, + { + 'x': 118.4369247805723, + 'y': 38.9711762550468, + 'z': 0 + }, + { + 'x': 118.43686851087077, + 'y': 38.97122585515541, + 'z': 0 + }, + { + 'x': 118.4368228419735, + 'y': 38.971275979690986, + 'z': 0 + }, + { + 'x': 118.43678499681918, + 'y': 38.9713393298053, + 'z': 0 + }, + { + 'x': 118.43676875230953, + 'y': 38.97140289404229, + 'z': 0 + }, + { + 'x': 118.43676539323138, + 'y': 38.97146935570204, + 'z': 0 + }, + { + 'x': 118.43676685575419, + 'y': 38.97299994268132, + 'z': 0 + }, + { + 'x': 118.4369398307648, + 'y': 38.97300665619034, + 'z': 0 + }, + { + 'x': 118.43693443761649, + 'y': 38.97547585242228, + 'z': 0 + }, + { + 'x': 118.43726600378035, + 'y': 38.97547661818355, + 'z': 0 + }, + { + 'x': 118.4372542080076, + 'y': 38.97571064236701, + 'z': 0 + }, + { + 'x': 118.4360277513718, + 'y': 38.975712415404935, + 'z': 0 + }, + { + 'x': 118.43602632643315, + 'y': 38.97609960357418, + 'z': 0 + }, + { + 'x': 118.43570065408068, + 'y': 38.97609961401182, + 'z': 0 + }, + { + 'x': 118.43570597488815, + 'y': 38.973295238639196, + 'z': 0 + }, + { + 'x': 118.43567483777353, + 'y': 38.973257537936654, + 'z': 0 + }, + { + 'x': 118.43567525053884, + 'y': 38.972828759171634, + 'z': 0 + }, + { + 'x': 118.43591508391262, + 'y': 38.9709183309903, + 'z': 0 + }, + { + 'x': 118.43663163343234, + 'y': 38.97058321928959, + 'z': 0 + }, + { + 'x': 118.4366832177329, + 'y': 38.970559634008026, + 'z': 0 + }, + { + 'x': 118.43668250336033, + 'y': 38.970555908596815, + 'z': 0 + }, + { + 'x': 118.43674268877848, + 'y': 38.97052644073819, + 'z': 0 + }, + { + 'x': 118.43680726963413, + 'y': 38.97049554314058, + 'z': 0 + }, + { + 'x': 118.43686753266644, + 'y': 38.97046834579005, + 'z': 0 + }, + { + 'x': 118.43691280994368, + 'y': 38.97053942781709, + 'z': 0 + }, + { + 'x': 118.4369406186428, + 'y': 38.97059540177479, + 'z': 0 + }, + // 后期可能需要调整,编辑外围报废库点位 + { + 'x': 118.43698887173906, + 'y': 38.97070425315103, + 'z': 0 + }, + { + 'x': 118.43942895777559, + 'y': 38.96955035038816, + 'z': 0 + }, + { + 'x': 118.4394133363548, + 'y': 38.969530441712756, + 'z': 0 + }, + { + 'x': 118.43961153675725, + 'y': 38.969440060775426, + 'z': 0 + }, + { + 'x': 118.43963900609026, + 'y': 38.96947015709539, + 'z': 0 + }, + { + 'x': 118.44698697478312, + 'y': 38.96597559242543, + 'z': 0 + }, + { + 'x': 118.44698765347296, + 'y': 38.965890691222306, + 'z': 0 + }, + { + 'x': 118.44717169053938, + 'y': 38.965889876119526, + 'z': 0 + }, + { + 'x': 118.44717602969939, + 'y': 38.96563545967475, + 'z': 0 + }, + { + 'x': 118.45493631240893, + 'y': 38.965629070942995, + 'z': 0 + }, + { + 'x': 118.45493844375062, + 'y': 38.97874527269041, + 'z': 0 + }, + { + 'x': 118.45459786193378, + 'y': 38.97874735893536, + 'z': 0 + }, + { + 'x': 118.454597516194, + 'y': 38.978896745489095, + 'z': 0 + }, + { + 'x': 118.4467133204471, + 'y': 38.978894843186644, + 'z': 0 + } + ] + formData['color'] = 'rgba(201,118,243,0)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(201,118,243,1)' // 边线颜色 + varList.push(formData) + + // 边界1 + // formData = {} + // formData['position'] = [ + // ] + // formData['color'] = 'rgba(201,118,243,0)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(201,118,243,1)' // 边线颜色 + // varList.push(formData) + + return varList +}