diff --git a/src/assets/map/index/touxiang.png b/src/assets/map/index/touxiang.png new file mode 100644 index 0000000..752e5ef Binary files /dev/null and b/src/assets/map/index/touxiang.png differ diff --git a/src/views/BI/index.vue b/src/views/BI/index.vue index 3588b5c..9f1872d 100644 --- a/src/views/BI/index.vue +++ b/src/views/BI/index.vue @@ -1115,7 +1115,7 @@ export default { { type: 'pie', startAngle: 0, - radius: [35, 100], + radius: [35, 95], center: ['40%', '30%'], roseType: 'area', avoidLabelOverlap: false, diff --git a/src/views/keyprojects/platformelectronic/components/platformvideo.vue b/src/views/keyprojects/platformelectronic/components/platformvideo.vue new file mode 100644 index 0000000..3391be0 --- /dev/null +++ b/src/views/keyprojects/platformelectronic/components/platformvideo.vue @@ -0,0 +1,171 @@ + + + diff --git a/src/views/keyprojects/platformelectronic/index.vue b/src/views/keyprojects/platformelectronic/index.vue index e528c37..25cef3f 100644 --- a/src/views/keyprojects/platformelectronic/index.vue +++ b/src/views/keyprojects/platformelectronic/index.vue @@ -1,6 +1,6 @@ @@ -91,9 +89,9 @@ import cutroadCfdD from './cutroadCfdD.vue' import breakgroundCfdD from './breakgroundCfdD.vue' import hoistingCfdD from './hoistingCfdD.vue' import peoplePositionCfdD from './peoplePositionCfdD.vue' -import peoplePositionNine from './peoplePositionNine.vue' import carPositionCfdD from './carPositionCfdD.vue' import peoplePositionOne from './peoplePositionOne.vue' +import peoplePositionYGS from './peoplePositionYGS.vue' import hotworkFirst from "./hotworkFirst"; export default { @@ -131,10 +129,10 @@ export default { hoistingCfdD, MkGateMachineCfd, peoplePositionCfdD, - peoplePositionNine, carPositionCfdD, videoPlayBianjieruqin, peoplePositionOne, + peoplePositionYGS, hotworkFirst }, props: { diff --git a/src/views/map/dialog/mkGateMachine.vue b/src/views/map/dialog/mkGateMachine.vue index 263fe95..e52d422 100644 --- a/src/views/map/dialog/mkGateMachine.vue +++ b/src/views/map/dialog/mkGateMachine.vue @@ -53,7 +53,7 @@
-
ddd + diff --git a/src/views/map/dialog/peoplePositionYGS.vue b/src/views/map/dialog/peoplePositionYGS.vue new file mode 100644 index 0000000..ea15b25 --- /dev/null +++ b/src/views/map/dialog/peoplePositionYGS.vue @@ -0,0 +1,77 @@ + + + + diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 6093cf0..9932d0f 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -232,8 +232,11 @@ import { animate } from 'motion' import loadMapBoxCfd from './js/mapboxCfd' import loadMapBox from './js/mapbox' import AnquanCfd from './components/anquanCfd' -import { forEach } from 'lodash' import mqtt from 'mqtt' +import img4_0_1 from '../../assets/map/gangkou_index/point/icon27.png' +import img4_0_2 from '../../assets/map/gangkou_index/point/icon28.png' +import img4_0_3 from '../../assets/map/gangkou_index/point/icon29.png' +import img4_0 from '../../assets/map/gangkou_index/point/ico21.png' let viewer = null let drag = null let ry_drag = null @@ -1151,7 +1154,6 @@ export default { id = pick.id.id this.bubble(id) } - console.log(point_id) if (this.gangkouActive === '00004' && point_type.indexOf('标记点') !== -1 && (point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '3' || point_id.substring(0, 3) === '1_2' || point_id.substring(0, 3) === '2_8')) { // if (this.gangkouActive === '00004' && point_type.indexOf('标记点') !== -1 && point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '5') { @@ -1174,7 +1176,6 @@ export default { this.dialog.width = dialog_width || '50%' } } else { - console.log(4) this.closeBubbles() } // var cartesian = this.getCatesian3FromPX(movement.position) @@ -1504,7 +1505,6 @@ export default { }, handleClickRightTools(index) { - console.info(index) if (this.rightOptionsList[index].check !== '') this.rightOptionsList[index].check = !this.rightOptionsList[index].check if (index === 0) { if (this.gangkouActive === '00004') { @@ -1517,7 +1517,6 @@ export default { if (this.cfdDIngweiTimer) { clearInterval(this.cfdDIngweiTimer) } - this.perLocArr = [] } this.destroyConnection() @@ -1531,9 +1530,22 @@ export default { this.changeSceneMode(this.rightOptionsList[index].check) } else if (index === 4) { this.destroyConnection() - this.onePerLocArr = [] this.clearAllBottomOptionsItemsCheck() this.clearAllBottomOptionsItemsEntityCollection() + this.onePerLocArr = [] + this.perLocArr = [] + this.clearMqttPoint() + if (this.gangkouActive === '00004') { + // if (this.fwebsocket) { + // this.fwebsocket.close() + // } + if (this.timer) { + clearInterval(this.timer) + } + if (this.cfdDIngweiTimer) { + clearInterval(this.cfdDIngweiTimer) + } + } } else if (index === 5) { this.pureMap = !this.pureMap this.componentKey = Math.random() @@ -1621,8 +1633,12 @@ export default { if (this.timer) { clearInterval(this.timer) } + if (this.cfdDIngweiTimer) { + clearInterval(this.cfdDIngweiTimer) + } } + this.clearAllBottomOptionsItemsCheck() this.CORP_INFO_ID = '' this.gangkouActive = '' viewer.entities.removeAll() @@ -1657,8 +1673,6 @@ export default { }, bottomOptionsItemsClick(pindex, index, label, urlType, pointUrl, dialog_width) { - console.info(urlType) - console.info(this.CORP_INFO_ID + '-') if (this.bottomOptionsList[pindex].list[index].check || this.gangkouActive === '00004' && this.cfdBottomOptionsList[pindex].list[index].check) { // 人员定位关闭实时获取定位websocket 并关闭人员对比定时器(曹妃甸使用) if (this.gangkouActive === '00004' && urlType === 'peoplePosition') { @@ -1672,6 +1686,7 @@ export default { clearInterval(this.cfdDIngweiTimer) } this.perLocArr = [] + this.clearMqttPoint('cfdrydw') } if (this.gangkouActive === '00004' && urlType === 'carPosition') { if (this.cfdCarDIngweiTimer) { @@ -1698,10 +1713,11 @@ export default { this.bottomOptionsList[pindex].list[index].check = true if (this.gangkouActive === '00004') { this.cfdBottomOptionsList[pindex].list[index].check = true + this.bottomOptionsList[pindex].list[index].check = false } if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') { - !this.connecting ? this.createConnection() : this.doSubscribe() + !this.connecting ? this.createConnection(this.CORP_INFO_ID) : this.doSubscribe() } else { requestFN( pointUrl, @@ -1763,10 +1779,10 @@ export default { await this.initColorList() this.isItWithinTheArea() // this.initPerLocWebsocket() + this.timerCfdDingweiPoint() + } else { + this.dragEntity(points, pindex, index) } - - // 人员定位开启实时获取定位websocket (曹妃甸使用) - 结束 - this.dragEntity(points, pindex, index) }).catch((e) => { console.log(e) }) @@ -1787,10 +1803,26 @@ export default { // } } }, - + timerCfdDingweiPoint() { + for (let i = 0; i < this.perLocArr.length; i++) { + if (this.perLocArr[i].color === 'red') this.perLocArr[i].icon_type = 'img4_0_1' + else if (this.perLocArr[i].color === 'orange') this.perLocArr[i].icon_type = 'img4_0_2' + else if (this.perLocArr[i].color === 'yellow') this.perLocArr[i].icon_type = 'img4_0_3' + else this.perLocArr[i].icon_type = 'img4_0' + this.perLocArr[i].id = this.perLocArr[i].cardNo + this.perLocArr[i].x = this.perLocArr[i].position.x + this.perLocArr[i].y = this.perLocArr[i].position.y + if (this.perLocArr[i].lastTime) { + ry_drag.getPosition(this.perLocArr[i]) + } else { + ry_drag.addEntity(this.perLocArr[i]) + this.mqttPoint['cfdrydw' + this.perLocArr[i].cardNo] = this.perLocArr[i].cardNo + } + } + }, timerCfdDingwei() { this.cfdDIngweiTimer = setInterval(() => { - this.localtionReload(1, 0) + // this.localtionReload(1, 0) requestFN( '/map/getCurrentLocationOnline', { @@ -1839,12 +1871,28 @@ export default { } points.push(point) } - this.perLocArr = points + if (this.perLocArr.length === 0) { + this.perLocArr = points + } else { + for (let i = 0; i < points.length; i++) { + let isExist = false + for (let j = 0; j < this.perLocArr.length; j++) { + if (points[i].cardNo === this.perLocArr[j].cardNo) { + this.perLocArr[j].position = points[i].position + isExist = true + break + } + } + if (!isExist) { + this.perLocArr.push(points[i]) + } + } + } this.isItWithinTheArea() - this.dragEntity(this.perLocArr, pindex, index) + this.timerCfdDingweiPoint() }) - }, 30000) + }, 5000) }, timerCfdCarDingwei() { this.cfdCarDIngweiTimer = setInterval(() => { @@ -1909,7 +1957,7 @@ export default { // eslint-disable-next-line no-implied-eval this.timer = setInterval(() => { this.initColorList() - this.localtionReload(1, 0) + // this.localtionReload(1, 0) }, 300000) }, // 获取各种颜色人员列表(八项作业与工单) @@ -1944,7 +1992,7 @@ export default { this.subscribeSuccess = false }, // 创建连接 - createConnection() { + createConnection(CORP_INFO_ID) { try { const { protocol, host, port, endpoint, ...options } = this.connection const connectUrl = `${protocol}://${host}:${port}${endpoint}` @@ -1961,14 +2009,14 @@ export default { this.client.on('error', error => { console.log('Connection failed', error) }) - this.mqttMessage() + this.mqttMessage(CORP_INFO_ID) } } catch (error) { this.connecting = false console.log('mqtt.connect error', error) } }, - mqttMessage() { + mqttMessage(CORP_INFO_ID) { this.client.on('message', (topic, message) => { // console.info(message) // if(this.intOne === 0){ @@ -1997,8 +2045,9 @@ export default { icon_type: 'img4_0' + pointColor, // infoname: item.realName, data_id: item.deviceCode, - point_type: '标记点peoplePositionOne' - // label: item.realName + point_type: '标记点peoplePositionOne', + label: '人员定位', + corpInfoId: CORP_INFO_ID } this.onePerLocArr.push(perLoc) ry_drag.addEntity(perLoc) @@ -2017,6 +2066,7 @@ export default { const key = prefix ? prefix + this.mqttPoint[mqttPointKey] : mqttPointKey viewer.entities.removeById(this.mqttPoint[key]) this.onePerLocArr = this.onePerLocArr.filter(item => item.data_id !== this.mqttPoint[key]) + delete this.mqttPoint[key] } }, // 订阅 @@ -2387,7 +2437,6 @@ export default { _this.pointBoxCfd.orangeList.forEach(item => { orangeFiled.push(...item['position']) }) const yellowFiled = [] _this.pointBoxCfd.yellowList.forEach(item => { yellowFiled.push(...item['position']) }) - console.info(_this.pointBoxCfd.orangeList) if (this.redList.indexOf(item.cardNo) > -1) { _this.$set(_this.perLocArr[index], 'color', 'red') } else if (redFiled !== [] && _this.forEachIsPointInPolygon(_this.pointBoxCfd.redList, item.position.x, item.position.y)) { diff --git a/src/views/map/js/dragentity.js b/src/views/map/js/dragentity.js index 75b44cd..1658938 100644 --- a/src/views/map/js/dragentity.js +++ b/src/views/map/js/dragentity.js @@ -274,6 +274,7 @@ export default class DragEntity { polygon: { hierarchy: Cesium.Cartesian3.fromDegreesArray(latitudeAndLongitude), extrudedHeight: item.stretchHeight, + height: item.height, // eslint-disable-next-line new-cap material: new Cesium.Color.fromCssColorString(item.color), outline: !!item.strokeColor, diff --git a/src/views/map/js/mapbox.js b/src/views/map/js/mapbox.js index b42f408..80b2a05 100644 --- a/src/views/map/js/mapbox.js +++ b/src/views/map/js/mapbox.js @@ -33,6 +33,210 @@ function initMapDataRed() { // varList[0] = formData varList.push(formData) + formData = {} // 一公司 102红色 左侧 + formData['position'] = [ + { + "x": 119.6548772761119, + "y": 39.9228850546199, + "z": 0 + }, + { + "x": 119.6549125967219, + "y": 39.92286731494369, + "z": 0 + }, + { + "x": 119.65497096427545, + "y": 39.922933402109514, + "z": 0 + }, + { + "x": 119.65493776234975, + "y": 39.92295125991992, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + + formData = {} // 一公司 102红色 右侧 + formData['position'] = [ + { + "x": 119.65506369371285, + "y": 39.9227520420715, + "z": 0 + }, + { + "x": 119.65510818987268, + "y": 39.922729588534686, + "z": 0 + }, + { + "x": 119.65520833890304, + "y": 39.92284340776944, + "z": 0 + }, + { + "x": 119.65516338661685, + "y": 39.92286362798783, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + formData = {} // 一公司 103泊位红色 + formData['position'] = [ + { + "x": 119.6565021981373, + "y": 39.918832492153136, + "z": 0 + }, + { + "x": 119.65654401151377, + "y": 39.91880960679385, + "z": 0 + }, + { + "x": 119.6566664834134, + "y": 39.91894381878896, + "z": 0 + }, + { + "x": 119.65662600912985, + "y": 39.91896758959424, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + formData = {} // 一公司 102和103泊位中间红色 + formData['position'] = [ + { + "x": 119.65801022407018, + "y": 39.92099380005817, + "z": 0 + }, + { + "x": 119.65804082529935, + "y": 39.920996952073665, + "z": 0 + }, + { + "x": 119.65802283088775, + "y": 39.92111115010375, + "z": 0 + }, + { + "x": 119.65798913168946, + "y": 39.9211076724514, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + formData = {} // 一公司 107泊位红色 + formData['position'] = [ + { + "x": 119.65498638926476, + "y": 39.926397038103964, + "z": 0 + }, + { + "x": 119.65502240542675, + "y": 39.92640438036451, + "z": 0 + }, + { + "x": 119.65501028634046, + "y": 39.926430940578065, + "z": 0 + }, + { + "x": 119.6549759532365, + "y": 39.9264222196015, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + + formData = {} // 一公司 105泊位红色 + formData['position'] = [ + { + "x": 119.65561789159023, + "y": 39.92492824969205, + "z": 0 + }, + { + "x": 119.65565318560465, + "y": 39.92493632169607, + "z": 0 + }, + { + "x": 119.65561280131601, + "y": 39.92503467754043, + "z": 0 + }, + { + "x": 119.65557594381741, + "y": 39.925024892659515, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + formData = {} // 一公司 火车装卸区 + formData['position'] = [ + { x: 119.64369001437781, y: 39.93439612990726, z: 0 }, + { x: 119.64390473650064, y: 39.934240443307814, z: 0 }, + { x: 119.64557611692629, y: 39.935638407235025, z: 0 }, + { x: 119.64536213220937, y: 39.93579094370623, z: 0 }, + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 30 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + formData = {} // 一公司 汽车装卸区 + formData['position'] = [ + { x: 119.64477092906279, y: 39.934375349988166, z: 0 }, + { x: 119.6447347731601, y: 39.93429019600903, z: 0 }, + { x: 119.64518326712975, y: 39.93417074928574, z: 0 }, + { x: 119.64522090780012, y: 39.93425247775267, z: 0 }, + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 15 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[1] = formData + varList.push(formData) + + + formData = {} // 油罐区(1-6) formData['position'] = [ { x: 119.65099726664901, y: 39.9367402194503, z: 0 }, @@ -56,19 +260,244 @@ function initMapDataRed() { { x: 119.65421014801716, y: 39.9353837006808, z: 0 }, { x: 119.65507938826796, y: 39.93560697962, z: 0 } ] + + formData['color'] = 'rgba(221,0,0,0.4)' formData['stretchHeight'] = 30 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[2] = formData varList.push(formData) - formData = {} // 输油臂(四个) - formData['position'] = [ + // formData = {} // 输油臂(四个) + // formData['position'] = [ + // + // { x: 119.6556116918128, y: 39.92504388166735, z: 0 }, + // { x: 119.65558524873008, y: 39.92503410870179, z: 0 }, + // { x: 119.6556499818601, y: 39.92490655567594, z: 0 }, + // { x: 119.65566548069216, y: 39.92493840139027, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) - { x: 119.6556116918128, y: 39.92504388166735, z: 0 }, - { x: 119.65558524873008, y: 39.92503410870179, z: 0 }, - { x: 119.6556499818601, y: 39.92490655567594, z: 0 }, - { x: 119.65566548069216, y: 39.92493840139027, z: 0 } + // formData = {} // 输油臂(104泊位里的) + // formData['position'] = [ + // + // { x: 119.65665838805472, y: 39.918954089162824, z: 0 }, + // { x: 119.65665238044276, y: 39.91898863604106, z: 0 }, + // { x: 119.65651847484527, y: 39.91884569876361, z: 0 }, + // { x: 119.65653513775794, y: 39.91881924031453, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 30 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) + // + // formData = {} // 输油臂(一个) + // formData['position'] = [ + // + // { x: 119.65502017351722, y: 39.92642852309003, z: 0 }, + // { x: 119.65498856955182, y: 39.92642004884351, z: 0 }, + // { x: 119.65500043174586, y: 39.926400928055585, z: 0 }, + // { x: 119.65502397294004, y: 39.92640698323215, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 30 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) + + // formData = {} // #101 102泊位里的四个输油臂 + // formData['position'] = [ + // { x: 119.65519339248196, y: 39.92284760495986, z: 0 }, + // { x: 119.65516066453546, y: 39.92286549443876, z: 0 }, + // { x: 119.65506122621039, y: 39.92274695927345, z: 0 }, + // { x: 119.65508334088221, y: 39.922713764887376, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 23 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) + // + // formData = {} // #101 102泊位里的四个输油臂 + // formData['position'] = [ + // { x: 119.65490582041735, y: 39.92285630872462, z: 0 }, + // { x: 119.65488128621152, y: 39.922873930546324, z: 0 }, + // { x: 119.65494637299403, y: 39.922943647678075, z: 0 }, + // { x: 119.65497294586122, y: 39.92292737882805, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 23 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) + // + // formData = {} // #海域消防泵右边长方形区域,没有名字里的输油臂 + // formData['position'] = [ + // { x: 119.65804526831579, y: 39.92098247918846, z: 0 }, + // { x: 119.65801505489362, y: 39.920988723376766, z: 0 }, + // { x: 119.65800287101604, y: 39.921124132676695, z: 0 }, + // { x: 119.65803624252379, y: 39.92110718828722, z: 0 } + // ] + // formData['color'] = 'rgba(221,0,0,0.4)' + // formData['stretchHeight'] = 23 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[2] = formData + // varList.push(formData) + + + +//**** + + formData = {} // #九公司 T1塔左侧 + formData['position'] = [ + { + "x": 119.677191724312, + "y": 39.925088036101464, + "z": 0 + }, + { + "x": 119.67718868258363, + "y": 39.92534425185962, + "z": 0 + }, + { + "x": 119.67692675405378, + "y": 39.92534402308467, + "z": 0 + }, + { + "x": 119.6769246651077, + "y": 39.92508640502281, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 30 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 T2塔 + formData['position'] = [ + { + "x": 119.67692924079239, + "y": 39.9261531813032, + "z": 0 + }, + { + "x": 119.67693304196516, + "y": 39.92600287397723, + "z": 0 + }, + { + "x": 119.67718830899688, + "y": 39.926003709110866, + "z": 0 + }, + { + "x": 119.6771926015224, + "y": 39.92603986169516, + "z": 0 + }, + { + "x": 119.67743084258446, + "y": 39.926034844485905, + "z": 0 + }, + { + "x": 119.67742294267498, + "y": 39.92615262958103, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 20.3 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 T3塔 + formData['position'] = [ + { + "x": 119.6769192251826, + "y": 39.927508455366926, + "z": 0 + }, + { + "x": 119.67692667004358, + "y": 39.92735021497659, + "z": 0 + }, + { + "x": 119.67718193839484, + "y": 39.92735256023288, + "z": 0 + }, + { + "x": 119.67718792112694, + "y": 39.92739259336539, + "z": 0 + }, + { + "x": 119.67744773162278, + "y": 39.92739952491828, + "z": 0 + }, + { + "x": 119.67744365825635, + "y": 39.92751629241874, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 20.3 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 T4塔 + formData['position'] = [ + { + "x": 119.67691987690353, + "y": 39.92885311000832, + "z": 0 + }, + { + "x": 119.67692053146415, + "y": 39.92870563844627, + "z": 0 + }, + { + "x": 119.67717598500631, + "y": 39.92870907823613, + "z": 0 + }, + { + "x": 119.67718143268654, + "y": 39.92874726958381, + "z": 0 + }, + { + "x": 119.67741023685986, + "y": 39.92876064020507, + "z": 0 + }, + { + "x": 119.67740961697758, + "y": 39.928855855248244, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' formData['stretchHeight'] = 20 // 拉伸高度 @@ -76,13 +505,327 @@ function initMapDataRed() { // varList[2] = formData varList.push(formData) - formData = {} // 输油臂(104泊位里的) - formData['position'] = [ + //**** - { x: 119.65665838805472, y: 39.918954089162824, z: 0 }, - { x: 119.65665238044276, y: 39.91898863604106, z: 0 }, - { x: 119.65651847484527, y: 39.91884569876361, z: 0 }, - { x: 119.65653513775794, y: 39.91881924031453, z: 0 } + formData = {} // #九公司 T5塔 + formData['position'] = [ + { + "x": 119.676914873818, + "y": 39.930209906225315, + "z": 0 + }, + { + "x": 119.67691597166966, + "y": 39.93005614193678, + "z": 0 + }, + { + "x": 119.67717166902486, + "y": 39.93005891249934, + "z": 0 + }, + { + "x": 119.67717604024105, + "y": 39.93010307850571, + "z": 0 + }, + { + "x": 119.67741875929421, + "y": 39.93010258843805, + "z": 0 + }, + { + "x": 119.67741303643459, + "y": 39.93021501951944, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 T6塔 + formData['position'] = [ + { + "x": 119.67690737608618, + "y": 39.93155745043743, + "z": 0 + }, + { + "x": 119.67740698370083, + "y": 39.93155801170299, + "z": 0 + }, + { + "x": 119.67740388211654, + "y": 39.931443134860075, + "z": 0 + }, + { + "x": 119.6771666493049, + "y": 39.931442007119806, + "z": 0 + }, + { + "x": 119.67716659516242, + "y": 39.931407425517854, + "z": 0 + }, + { + "x": 119.67690965615199, + "y": 39.93140478358611, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + + formData = {} // #九公司 卸车机房 + formData['position'] = [ + { + "x": 119.6761718489625, + "y": 39.945322985852535, + "z": 0 + }, + { + "x": 119.67617416167968, + "y": 39.94483679141097, + "z": 0 + }, + { + "x": 119.67676867789409, + "y": 39.94483766330852, + "z": 0 + }, + { + "x": 119.67676659912198, + "y": 39.94532749118471, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 23 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + + formData = {} // #九公司 T7塔 + formData['position'] = [ + { + "x": 119.69061655951064, + "y": 39.92543174264159, + "z": 0 + }, + { + "x": 119.69061999303051, + "y": 39.925515895933096, + "z": 0 + }, + { + "x": 119.69034943903254, + "y": 39.92551872476649, + "z": 0 + }, + { + "x": 119.6903466781555, + "y": 39.925429807696936, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 22 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 T8塔 + formData['position'] = [ + { + "x": 119.6906081253628, + "y": 39.92689468233478, + "z": 0 + }, + { + "x": 119.69060596330297, + "y": 39.926768513870805, + "z": 0 + }, + { + "x": 119.69021769774592, + "y": 39.926770830003235, + "z": 0 + }, + { + "x": 119.69022400266276, + "y": 39.926896032287125, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + formData = {} // #九公司 T9塔 + formData['position'] = [ + { + "x": 119.69057771473288, + "y": 39.92812742038241, + "z": 0 + }, + { + "x": 119.69058119595852, + "y": 39.928233899424676, + "z": 0 + }, + { + "x": 119.69021364225141, + "y": 39.928237473144264, + "z": 0 + }, + { + "x": 119.69022044979891, + "y": 39.928121906503065, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + formData = {} // #九公司 T10塔 + formData['position'] = [ + { + "x": 119.69057892241503, + "y": 39.92948046604163, + "z": 0 + }, + { + "x": 119.69057331114419, + "y": 39.92958619495383, + "z": 0 + }, + { + "x": 119.69019367486003, + "y": 39.92958273936576, + "z": 0 + }, + { + "x": 119.69019695762542, + "y": 39.92947422528157, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 T11塔右侧 + formData['position'] = [ + { + "x": 119.69057001371608, + "y": 39.93083016647252, + "z": 0 + }, + { + "x": 119.69056628953834, + "y": 39.93093734602311, + "z": 0 + }, + { + "x": 119.69020790920716, + "y": 39.930933565195375, + "z": 0 + }, + { + "x": 119.69021012715385, + "y": 39.93081979698196, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + //**** + + formData = {} // #九公司 T12塔 + formData['position'] = [ + { + "x": 119.69056050126454, + "y": 39.932180265378655, + "z": 0 + }, + { + "x": 119.69056058524151, + "y": 39.93228661780497, + "z": 0 + }, + { + "x": 119.69019530530505, + "y": 39.93229065406837, + "z": 0 + }, + { + "x": 119.69019562306885, + "y": 39.9321753700825, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 27 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 T13塔 + formData['position'] = [ + { + "x": 119.69047882188929, + "y": 39.94261006346534, + "z": 0 + }, + { + "x": 119.69026405595869, + "y": 39.942608891611066, + "z": 0 + }, + { + "x": 119.69027118715724, + "y": 39.94232004865013, + "z": 0 + }, + { + "x": 119.69047840198404, + "y": 39.94232110679712, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' formData['stretchHeight'] = 30 // 拉伸高度 @@ -90,59 +833,697 @@ function initMapDataRed() { // varList[2] = formData varList.push(formData) - formData = {} // 输油臂(一个) - formData['position'] = [ +//**** - { x: 119.65502017351722, y: 39.92642852309003, z: 0 }, - { x: 119.65498856955182, y: 39.92642004884351, z: 0 }, - { x: 119.65500043174586, y: 39.926400928055585, z: 0 }, - { x: 119.65502397294004, y: 39.92640698323215, z: 0 } + formData = {} // #九公司 T14塔 + formData['position'] = [ + { + "x": 119.6803189363715, + "y": 39.94241103956289, + "z": 0 + }, + { + "x": 119.68031713019577, + "y": 39.94255590144208, + "z": 0 + }, + { + "x": 119.67996628736623, + "y": 39.94255241277278, + "z": 0 + }, + { + "x": 119.67997872215817, + "y": 39.94240527344419, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' - formData['stretchHeight'] = 30 // 拉伸高度 + formData['stretchHeight'] = 25 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + formData = {} // #九公司 T15塔 + formData['position'] = [ + { + "x": 119.68018484948698, + "y": 39.94489072604685, + "z": 0 + }, + { + "x": 119.68018205206272, + "y": 39.9452835903766, + "z": 0 + }, + { + "x": 119.68004555111678, + "y": 39.94528483140071, + "z": 0 + }, + { + "x": 119.68004535464644, + "y": 39.94513046681146, + "z": 0 + }, + { + "x": 119.6799954556373, + "y": 39.945127432983284, + "z": 0 + }, + { + "x": 119.68000108317712, + "y": 39.944890106085744, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 36 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[2] = formData varList.push(formData) - formData = {} // #101 102泊位里的四个输油臂 - formData['position'] = [ - { x: 119.65519339248196, y: 39.92284760495986, z: 0 }, - { x: 119.65516066453546, y: 39.92286549443876, z: 0 }, - { x: 119.65506122621039, y: 39.92274695927345, z: 0 }, - { x: 119.65508334088221, y: 39.922713764887376, z: 0 } +//**** + + formData = {} // #九公司 堆料机1 + formData['position'] = [ + { + "x": 119.68055903767895, + "y": 39.92548902663449, + "z": 0 + }, + { + "x": 119.68055200706661, + "y": 39.925413256958976, + "z": 0 + }, + { + "x": 119.68182534368239, + "y": 39.925410942849275, + "z": 0 + }, + { + "x": 119.68182241011193, + "y": 39.92548854252134, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' - formData['stretchHeight'] = 23 // 拉伸高度 + formData['stretchHeight'] = 31 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + formData = {} // #九公司 堆料机2 + formData['position'] = [ + { + "x": 119.68457920711599, + "y": 39.926757113354455, + "z": 0 + }, + { + "x": 119.6845865610169, + "y": 39.92685236226703, + "z": 0 + }, + { + "x": 119.68383969124048, + "y": 39.92685552498295, + "z": 0 + }, + { + "x": 119.68384187139044, + "y": 39.92675180649747, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 31 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[2] = formData varList.push(formData) - formData = {} // #101 102泊位里的四个输油臂 - formData['position'] = [ - { x: 119.65490582041735, y: 39.92285630872462, z: 0 }, - { x: 119.65488128621152, y: 39.922873930546324, z: 0 }, - { x: 119.65494637299403, y: 39.922943647678075, z: 0 }, - { x: 119.65497294586122, y: 39.92292737882805, z: 0 } + //**** + + formData = {} // #九公司 堆料机3 + formData['position'] = [ + { + "x": 119.68232697523467, + "y": 39.9280987280073, + "z": 0 + }, + { + "x": 119.68232104677028, + "y": 39.928202206490944, + "z": 0 + }, + { + "x": 119.68104671944671, + "y": 39.92819860503854, + "z": 0 + }, + { + "x": 119.68105214943749, + "y": 39.92809413774571, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' - formData['stretchHeight'] = 23 // 拉伸高度 + formData['stretchHeight'] = 31 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[2] = formData varList.push(formData) - formData = {} // #海域消防泵右边长方形区域,没有名字里的输油臂 - formData['position'] = [ - { x: 119.65804526831579, y: 39.92098247918846, z: 0 }, - { x: 119.65801505489362, y: 39.920988723376766, z: 0 }, - { x: 119.65800287101604, y: 39.921124132676695, z: 0 }, - { x: 119.65803624252379, y: 39.92110718828722, z: 0 } + //**** + + formData = {} // #九公司 堆料机4 + formData['position'] = [ + { + "x": 119.6817404057598, + "y": 39.929446777432524, + "z": 0 + }, + { + "x": 119.68173495570505, + "y": 39.92953961281392, + "z": 0 + }, + { + "x": 119.68049286649607, + "y": 39.929538582226854, + "z": 0 + }, + { + "x": 119.68049723169445, + "y": 39.92944265243883, + "z": 0 + } ] formData['color'] = 'rgba(221,0,0,0.4)' - formData['stretchHeight'] = 23 // 拉伸高度 + formData['stretchHeight'] = 31 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[2] = formData varList.push(formData) +//**** + + formData = {} // #九公司 堆料机5 + formData['position'] = [ + { + "x": 119.68397568145262, + "y": 39.93080450052339, + "z": 0 + }, + { + "x": 119.68397143292034, + "y": 39.930907152119644, + "z": 0 + }, + { + "x": 119.68271523088518, + "y": 39.93090448613725, + "z": 0 + }, + { + "x": 119.68272117937599, + "y": 39.93080171666117, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 31 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) +//**** + + formData = {} // #九公司 堆料机6 + formData['position'] = [ + { + "x": 119.6889929339012, + "y": 39.93217714216805, + "z": 0 + }, + { + "x": 119.68899581940671, + "y": 39.932269170486926, + "z": 0 + }, + { + "x": 119.6877475135919, + "y": 39.93226670361446, + "z": 0 + }, + { + "x": 119.68774410176572, + "y": 39.9321641132751, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 31 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机1 + formData['position'] = [ + { + "x": 119.67942974389926, + "y": 39.92604911043324, + "z": 0 + }, + { + "x": 119.67944271983822, + "y": 39.92618628603757, + "z": 0 + }, + { + "x": 119.67839441051271, + "y": 39.92618138836684, + "z": 0 + }, + { + "x": 119.67838278974727, + "y": 39.92604826794982, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 37 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + +//**** + + formData = {} // #九公司 取料机1-1 + formData['position'] = [ + { + "x": 119.68941424519329, + "y": 39.92607682660748, + "z": 0 + }, + { + "x": 119.68942571956826, + "y": 39.92620620731446, + "z": 0 + }, + { + "x": 119.68840952543647, + "y": 39.92620650871111, + "z": 0 + }, + { + "x": 119.68839540451951, + "y": 39.92607567060816, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机2 + formData['position'] = [ + { + "x": 119.68097691781342, + "y": 39.92740619154202, + "z": 0 + }, + { + "x": 119.6809796158669, + "y": 39.92753623051253, + "z": 0 + }, + { + "x": 119.68193364756485, + "y": 39.927538487585636, + "z": 0 + }, + { + "x": 119.68193756612254, + "y": 39.927406602949205, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机2-2 + formData['position'] = [ + { + "x": 119.68778574933756, + "y": 39.92742228373021, + "z": 0 + }, + { + "x": 119.68778362125204, + "y": 39.92755302640718, + "z": 0 + }, + { + "x": 119.68686415268087, + "y": 39.927551902640154, + "z": 0 + }, + { + "x": 119.68686626687582, + "y": 39.92742222240125, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机3 + formData['position'] = [ + { + "x": 119.68096781070412, + "y": 39.92875618740309, + "z": 0 + }, + { + "x": 119.68097167266359, + "y": 39.92888657991112, + "z": 0 + }, + { + "x": 119.68190204653577, + "y": 39.92888793523994, + "z": 0 + }, + { + "x": 119.6819030356954, + "y": 39.92875827923154, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 37 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机3-3 + formData['position'] = [ + { + "x": 119.6866185014249, + "y": 39.92877101340245, + "z": 0 + }, + { + "x": 119.68661538524523, + "y": 39.928902113930626, + "z": 0 + }, + { + "x": 119.68765287317912, + "y": 39.92890360907251, + "z": 0 + }, + { + "x": 119.68766112807862, + "y": 39.928772056603314, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + //**** + + formData = {} // #九公司 取料机4 + formData['position'] = [ + { + "x": 119.6833466574443, + "y": 39.93024338658369, + "z": 0 + }, + { + "x": 119.68334803959182, + "y": 39.930113459613075, + "z": 0 + }, + { + "x": 119.68430101741018, + "y": 39.93011610484242, + "z": 0 + }, + { + "x": 119.68429071144864, + "y": 39.93024599317262, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 37 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + +//**** + + formData = {} // #九公司 取料机4-4 + formData['position'] = [ + { + "x": 119.68759698485809, + "y": 39.93012236410278, + "z": 0 + }, + { + "x": 119.68761185266975, + "y": 39.93025275725586, + "z": 0 + }, + { + "x": 119.68655345446628, + "y": 39.93025082609281, + "z": 0 + }, + { + "x": 119.68655106382458, + "y": 39.9301205305376, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 取料机5 + formData['position'] = [ + { + "x": 119.67855583726117, + "y": 39.93158053754484, + "z": 0 + }, + { + "x": 119.67855435264649, + "y": 39.931450943319426, + "z": 0 + }, + { + "x": 119.6795510334915, + "y": 39.9314546233923, + "z": 0 + }, + { + "x": 119.67954450714343, + "y": 39.93158423201546, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 取料机5-5 + formData['position'] = [ + { + "x": 119.68819240114007, + "y": 39.93160663393463, + "z": 0 + }, + { + "x": 119.688198406917, + "y": 39.93147709549304, + "z": 0 + }, + { + "x": 119.68890095834664, + "y": 39.93147876715583, + "z": 0 + }, + { + "x": 119.68890123748713, + "y": 39.93160667152368, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 35 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + //**** + + formData = {} // #九公司 装船机-1 + formData['position'] = [ + { + "x": 119.67719198862997, + "y": 39.92330728839942, + "z": 0 + }, + { + "x": 119.67719536469687, + "y": 39.923692987232144, + "z": 0 + }, + { + "x": 119.67690211123008, + "y": 39.92370404408877, + "z": 0 + }, + { + "x": 119.67690107864394, + "y": 39.92329969258321, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 51.5 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 装船机-2 + formData['position'] = [ + { + "x": 119.67720919577268, + "y": 39.92016332440175, + "z": 0 + }, + { + "x": 119.67720813606387, + "y": 39.92060161894261, + "z": 0 + }, + { + "x": 119.67690813624685, + "y": 39.92059839913164, + "z": 0 + }, + { + "x": 119.6769141006385, + "y": 39.92015607953691, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 57 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + + //**** + + formData = {} // #九公司 装船机-3 + formData['position'] = [ + { + "x": 119.67722770464404, + "y": 39.91663225276389, + "z": 0 + }, + { + "x": 119.67722070282049, + "y": 39.91730898581202, + "z": 0 + }, + { + "x": 119.67692646110551, + "y": 39.917305705376094, + "z": 0 + }, + { + "x": 119.67693018047547, + "y": 39.91663309382849, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 37 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + //**** + + formData = {} // #九公司 装船机-4 + formData['position'] = [ + { + "x": 119.67723537764458, + "y": 39.914491508570904, + "z": 0 + }, + { + "x": 119.67723264459404, + "y": 39.91508525674071, + "z": 0 + }, + { + "x": 119.67693674263798, + "y": 39.915083647409965, + "z": 0 + }, + { + "x": 119.67694279039802, + "y": 39.914487756848025, + "z": 0 + } + ] + formData['color'] = 'rgba(221,0,0,0.4)' + formData['stretchHeight'] = 40 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[2] = formData + varList.push(formData) + return varList + + + + } /** @@ -150,90 +1531,67 @@ function initMapDataRed() { */ function initMapDataOrange() { const varList = [] - let formData = {} // 污水池 - - formData['position'] = [ - { x: 119.6537637425757, y: 39.93379806517932, z: 0 }, - { x: 119.65295731420446, y: 39.93359861511557, z: 0 }, - { x: 119.65274069941401, y: 39.93410818007418, z: 0 }, - { x: 119.65353807336304, y: 39.93431028339493, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) + let formData = {} // formData = {} // 空压机房(氮气罐)(大氮气罐) formData['position'] = [ - // { x: 119.65241666329862, y: 39.93517518350802, z: 0 }, - // { x: 119.65236248858716, y: 39.935182250154675, z: 0 }, - // { x: 119.65233499799022, y: 39.93520740220439, z: 0 }, - // { x: 119.6523371316934, y: 39.935260780288935, z: 0 }, - // { x: 119.65237617184832, y: 39.93526943206285, z: 0 }, - // { x: 119.65242106648473, y: 39.935287753145985, z: 0 }, - // { x: 119.65245524186444, y: 39.935237772932176, z: 0 }, - // { x: 119.65245352371166, y: 39.93519998443289, z: 0 } - - { x: 119.65242022415546, y: 39.93516989068926, z: 0 }, - { x: 119.65236378461805, y: 39.9351645538794, z: 0 }, - { x: 119.652330822679, y: 39.935203083791926, z: 0 }, - // { x: 119.65234220411297, y: 39.93525396099721, z: 0 }, - { x: 119.65233459684144, y: 39.93524084505407, z: 0 }, - { x: 119.65236911386135, y: 39.93527959949455, z: 0 }, - { x: 119.6524314588275, y: 39.93527689716752, z: 0 }, - { x: 119.65247826285709, y: 39.93523898534745, z: 0 }, - { x: 119.65247452095923, y: 39.935191511231835, z: 0 } + { + "x": 119.65244076267423, + "y": 39.93530573617463, + "z": 0 + }, + { + "x": 119.65229128425835, + "y": 39.93526766834254, + "z": 0 + }, + { + "x": 119.65233589191487, + "y": 39.93515895516536, + "z": 0 + }, + { + "x": 119.6524892178463, + "y": 39.935195646692904, + "z": 0 + } ] formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 17 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[5] = formData varList.push(formData) - formData = {} // 空压机房(氮气罐)(小氮气罐) + formData = {} // 一公司 空压机房(氮气罐)(小氮气罐) formData['position'] = [ - { x: 119.65233356288635, y: 39.93504477078599, z: 0 }, - { x: 119.65231766227144, y: 39.93504758287863, z: 0 }, - { x: 119.65229798878273, y: 39.93506484917976, z: 0 }, - { x: 119.6523060997851, y: 39.93509959295666, z: 0 }, - { x: 119.65233712299042, y: 39.93509582348657, z: 0 }, - { x: 119.65233552195919, y: 39.93510284488838, z: 0 }, - { x: 119.6523585876007, y: 39.93509205737707, z: 0 }, - { x: 119.65236556219378, y: 39.93508010072689, z: 0 }, - { x: 119.65237337716516, y: 39.935050645133025, z: 0 } + { + "x": 119.6522859889695, + "y": 39.93509646746143, + "z": 0 + }, + { + "x": 119.65230631093252, + "y": 39.93504801536812, + "z": 0 + }, + { + "x": 119.6523697484967, + "y": 39.935063209295926, + "z": 0 + }, + { + "x": 119.65234563637716, + "y": 39.93511423105747, + "z": 0 + } ] formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 17 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList[5] = formData varList.push(formData) - formData = {} // 污水罐 - formData['position'] = [ - // { x: 119.65360074347942, y: 39.933002498782756, z: 0 }, - // { x: 119.65351378032231, y: 39.93300920155652, z: 0 }, - // { x: 119.65346373419875, y: 39.933052141908526, z: 0 }, - // { x: 119.65346267637598, y: 39.93311510827882, z: 0 }, - // { x: 119.65352089468857, y: 39.933162227978194, z: 0 }, - // { x: 119.65360888784701, y: 39.93316203620839, z: 0 }, - // { x: 119.65370557071988, y: 39.93312498538103, z: 0 }, - // { x: 119.65368796019214, y: 39.93300320133884, z: 0 } - { x: 119.65361092795946, y: 39.932993102531455, z: 0 }, - { x: 119.65353701303985, y: 39.93298619173528, z: 0 }, - { x: 119.65343977919811, y: 39.93304058890793, z: 0 }, - { x: 119.65344749772746, y: 39.93312145346802, z: 0 }, - { x: 119.65353729598029, y: 39.93318267341389, z: 0 }, - { x: 119.6536209359857, y: 39.9331697929636, z: 0 }, - { x: 119.65369357204985, y: 39.9331118308906, z: 0 }, - { x: 119.65368023337471, y: 39.933038164590094, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) // formData = {} // 107泊位 // formData['position'] = [ @@ -313,150 +1671,150 @@ function initMapDataOrange() { // // varList[5] = formData // varList.push(formData) - formData = {} // 101泊位 102泊位 - formData['position'] = [ - // { x: 119.65603265146068, y: 39.923847239330485, z: 0 }, // 1 - // { x: 119.65595842194473, y: 39.9237719100047, z: 0 }, // 2 - // { x: 119.65593358587533, y: 39.923781123845764, z: 0 }, // 3 - // { x: 119.65578127766652, y: 39.923610996066415, z: 0 }, // 4 - // { x: 119.65585822418888, y: 39.92355850088074, z: 0 }, // 5 - // { x: 119.65558403918683, y: 39.92325352134629, z: 0 }, // 6 - // { x: 119.65552635665387, y: 39.92328458053454, z: 0 }, // 7 - // { x: 119.65534965014665, y: 39.923087980606994, z: 0 }, // 8 - // { x: 119.65540507476065, y: 39.92305791352873, z: 0 }, // 9 - // { x: 119.6546924186004, y: 39.92226538266643, z: 0 }, // 10 - // { x: 119.65454776052108, y: 39.922316290703364, z: 0 }, // 11 - // { x: 119.65438964822337, y: 39.922148933003534, z: 0 }, // 12 - // { x: 119.65446202664434, y: 39.92210783364343, z: 0 }, // 13 - // { x: 119.65439704769634, y: 39.92203335345465, z: 0 }, // 14 - // { x: 119.65431850591426, y: 39.9220705341909, z: 0 }, // 15 - // { x: 119.65417411753153, y: 39.92190261656106, z: 0 }, // 16 - // { x: 119.65423697858402, y: 39.92185534592745, z: 0 }, // 17 - // { x: 119.65417129259802, y: 39.92178687271139, z: 0 }, // 18 - // { x: 119.65397901217219, y: 39.92188251428768, z: 0 }, // 19 - // { x: 119.65404619147179, y: 39.92196077471511, z: 0 }, // 20 - // { x: 119.65408600649381, y: 39.921944918113276, z: 0 }, // 21 - // { x: 119.65424609922937, y: 39.92211699341517, z: 0 }, // 22 - // { x: 119.65421600733546, y: 39.9221356223094, z: 0 }, // 23 - // { x: 119.65428406511631, y: 39.92221023960028, z: 0 }, // 24 - // { x: 119.65434998880357, y: 39.92216943376209, z: 0 }, // 25 - // { x: 119.65450039615378, y: 39.92234076710593, z: 0 }, // 26 - // { x: 119.65443062121957, y: 39.922382044925, z: 0 }, // 27 - // { x: 119.6544942848065, y: 39.92245519629161, z: 0 }, // 28 - // { x: 119.65456144431802, y: 39.922417263784666, z: 0 }, // 29 - // { x: 119.65472219592861, y: 39.92259197922892, z: 0 }, // 30 - // { x: 119.65465118928456, y: 39.92263146129448, z: 0 }, // 31 - // { x: 119.65539057547825, y: 39.92345451004701, z: 0 }, // 32 - // { x: 119.65542011222217, y: 39.92343898743235, z: 0 }, // 33 - // { x: 119.65557116994653, y: 39.9236082330747, z: 0 }, // 34 - // { x: 119.65554316448403, y: 39.923625466861864, z: 0 }, // 35 - // { x: 119.65560904991095, y: 39.92370016398685, z: 0 }, // 36 - // { x: 119.65564224841567, y: 39.923685389610384, z: 0 }, // 37 - // { x: 119.65579293174257, y: 39.92385411868464, z: 0 }, // 38 - // { x: 119.65576645061859, y: 39.92387117665317, z: 0 }, // 39 - // { x: 119.65582950372529, y: 39.92394984441324, z: 0 } // 40 - { x: 119.65502238927485, y: 39.92276149796138, z: 0 }, - { x: 119.65499547109222, y: 39.92277483069334, z: 0 }, - { x: 119.6551194373026, y: 39.9229093004845, z: 0 }, - { x: 119.65514851351682, y: 39.92289444454411, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) + // formData = {} // 101泊位 102泊位 + // formData['position'] = [ + // // { x: 119.65603265146068, y: 39.923847239330485, z: 0 }, // 1 + // // { x: 119.65595842194473, y: 39.9237719100047, z: 0 }, // 2 + // // { x: 119.65593358587533, y: 39.923781123845764, z: 0 }, // 3 + // // { x: 119.65578127766652, y: 39.923610996066415, z: 0 }, // 4 + // // { x: 119.65585822418888, y: 39.92355850088074, z: 0 }, // 5 + // // { x: 119.65558403918683, y: 39.92325352134629, z: 0 }, // 6 + // // { x: 119.65552635665387, y: 39.92328458053454, z: 0 }, // 7 + // // { x: 119.65534965014665, y: 39.923087980606994, z: 0 }, // 8 + // // { x: 119.65540507476065, y: 39.92305791352873, z: 0 }, // 9 + // // { x: 119.6546924186004, y: 39.92226538266643, z: 0 }, // 10 + // // { x: 119.65454776052108, y: 39.922316290703364, z: 0 }, // 11 + // // { x: 119.65438964822337, y: 39.922148933003534, z: 0 }, // 12 + // // { x: 119.65446202664434, y: 39.92210783364343, z: 0 }, // 13 + // // { x: 119.65439704769634, y: 39.92203335345465, z: 0 }, // 14 + // // { x: 119.65431850591426, y: 39.9220705341909, z: 0 }, // 15 + // // { x: 119.65417411753153, y: 39.92190261656106, z: 0 }, // 16 + // // { x: 119.65423697858402, y: 39.92185534592745, z: 0 }, // 17 + // // { x: 119.65417129259802, y: 39.92178687271139, z: 0 }, // 18 + // // { x: 119.65397901217219, y: 39.92188251428768, z: 0 }, // 19 + // // { x: 119.65404619147179, y: 39.92196077471511, z: 0 }, // 20 + // // { x: 119.65408600649381, y: 39.921944918113276, z: 0 }, // 21 + // // { x: 119.65424609922937, y: 39.92211699341517, z: 0 }, // 22 + // // { x: 119.65421600733546, y: 39.9221356223094, z: 0 }, // 23 + // // { x: 119.65428406511631, y: 39.92221023960028, z: 0 }, // 24 + // // { x: 119.65434998880357, y: 39.92216943376209, z: 0 }, // 25 + // // { x: 119.65450039615378, y: 39.92234076710593, z: 0 }, // 26 + // // { x: 119.65443062121957, y: 39.922382044925, z: 0 }, // 27 + // // { x: 119.6544942848065, y: 39.92245519629161, z: 0 }, // 28 + // // { x: 119.65456144431802, y: 39.922417263784666, z: 0 }, // 29 + // // { x: 119.65472219592861, y: 39.92259197922892, z: 0 }, // 30 + // // { x: 119.65465118928456, y: 39.92263146129448, z: 0 }, // 31 + // // { x: 119.65539057547825, y: 39.92345451004701, z: 0 }, // 32 + // // { x: 119.65542011222217, y: 39.92343898743235, z: 0 }, // 33 + // // { x: 119.65557116994653, y: 39.9236082330747, z: 0 }, // 34 + // // { x: 119.65554316448403, y: 39.923625466861864, z: 0 }, // 35 + // // { x: 119.65560904991095, y: 39.92370016398685, z: 0 }, // 36 + // // { x: 119.65564224841567, y: 39.923685389610384, z: 0 }, // 37 + // // { x: 119.65579293174257, y: 39.92385411868464, z: 0 }, // 38 + // // { x: 119.65576645061859, y: 39.92387117665317, z: 0 }, // 39 + // // { x: 119.65582950372529, y: 39.92394984441324, z: 0 } // 40 + // { x: 119.65502238927485, y: 39.92276149796138, z: 0 }, + // { x: 119.65499547109222, y: 39.92277483069334, z: 0 }, + // { x: 119.6551194373026, y: 39.9229093004845, z: 0 }, + // { x: 119.65514851351682, y: 39.92289444454411, z: 0 } + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[5] = formData + // varList.push(formData) - formData = {} // 101 102泊位里的第三个 - formData['position'] = [ - { x: 119.65492273137046, y: 39.92283478810173, z: 0 }, - { x: 119.65490036650694, y: 39.922845233075094, z: 0 }, - { x: 119.65502638117555, y: 39.92298546873092, z: 0 }, - { x: 119.65504594031508, y: 39.922966674700014, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) + // formData = {} // 101 102泊位里的第三个 + // formData['position'] = [ + // { x: 119.65492273137046, y: 39.92283478810173, z: 0 }, + // { x: 119.65490036650694, y: 39.922845233075094, z: 0 }, + // { x: 119.65502638117555, y: 39.92298546873092, z: 0 }, + // { x: 119.65504594031508, y: 39.922966674700014, z: 0 } + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[5] = formData + // varList.push(formData) - formData = {} // 海域消防泵右边长方形区域,没有名字 - formData['position'] = [ - // { x: 119.65817119200571, y: 39.92111312634527, z: 0 }, - // { x: 119.65811654342079, y: 39.92111601942631, z: 0 }, - // { x: 119.65810861907595, y: 39.9211536492681, z: 0 }, - // { x: 119.65806428646326, y: 39.921146046983026, z: 0 }, - // { x: 119.65806770060995, y: 39.921101985777725, z: 0 }, - // { x: 119.65802534071352, y: 39.921096474399555, z: 0 }, - // { x: 119.65802900534288, y: 39.921090614362306, z: 0 }, - // { x: 119.65804924758922, y: 39.92109389069283, z: 0 }, - // { x: 119.65805839959339, y: 39.921056727812285, z: 0 }, - // { x: 119.65803731275813, y: 39.92105458341058, z: 0 }, - // { x: 119.6580388203781, y: 39.92102626731, z: 0 }, - // { x: 119.65804952837678, y: 39.92098367440876, z: 0 }, - // { x: 119.65808833079174, y: 39.92098824864141, z: 0 }, - // { x: 119.65809617624659, y: 39.92094293282255, z: 0 }, - // { x: 119.65821469862318, y: 39.9209659578442, z: 0 } + // formData = {} // 海域消防泵右边长方形区域,没有名字 + // formData['position'] = [ + // // { x: 119.65817119200571, y: 39.92111312634527, z: 0 }, + // // { x: 119.65811654342079, y: 39.92111601942631, z: 0 }, + // // { x: 119.65810861907595, y: 39.9211536492681, z: 0 }, + // // { x: 119.65806428646326, y: 39.921146046983026, z: 0 }, + // // { x: 119.65806770060995, y: 39.921101985777725, z: 0 }, + // // { x: 119.65802534071352, y: 39.921096474399555, z: 0 }, + // // { x: 119.65802900534288, y: 39.921090614362306, z: 0 }, + // // { x: 119.65804924758922, y: 39.92109389069283, z: 0 }, + // // { x: 119.65805839959339, y: 39.921056727812285, z: 0 }, + // // { x: 119.65803731275813, y: 39.92105458341058, z: 0 }, + // // { x: 119.6580388203781, y: 39.92102626731, z: 0 }, + // // { x: 119.65804952837678, y: 39.92098367440876, z: 0 }, + // // { x: 119.65808833079174, y: 39.92098824864141, z: 0 }, + // // { x: 119.65809617624659, y: 39.92094293282255, z: 0 }, + // // { x: 119.65821469862318, y: 39.9209659578442, z: 0 } + // + // { x: 119.65812575798779, y: 39.920992826852206, z: 0 }, + // { x: 119.65806221905642, y: 39.92098638574268, z: 0 }, + // { x: 119.65805162397912, y: 39.92103080807979, z: 0 }, + // { x: 119.658114949159, y: 39.92104253378244, z: 0 } + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[5] = formData + // varList.push(formData) - { x: 119.65812575798779, y: 39.920992826852206, z: 0 }, - { x: 119.65806221905642, y: 39.92098638574268, z: 0 }, - { x: 119.65805162397912, y: 39.92103080807979, z: 0 }, - { x: 119.658114949159, y: 39.92104253378244, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) - - formData = {} // 103泊位(左下开始 27个) - formData['position'] = [ - // { x: 119.6576129111452, y: 39.91935017282795, z: 0 }, // 1 - // { x: 119.65751103321216, y: 39.91939841984784, z: 0 }, // 2 - // { x: 119.65710205641406, y: 39.91894101287264, z: 0 }, // 3 - // { x: 119.65681101189668, y: 39.91909249595107, z: 0 }, // 4 - // { x: 119.65687001194742, y: 39.91915882796764, z: 0 }, // 5 - // { x: 119.65693535564643, y: 39.919127385757434, z: 0 }, // 6 - // { x: 119.6570087686434, y: 39.91920280056184, z: 0 }, // 7 - // { x: 119.65688535542319, y: 39.919270719042366, z: 0 }, // 8 - // { x: 119.65681866377848, y: 39.91919041194434, z: 0 }, // 9 - // { x: 119.65684061374697, y: 39.91917611341617, z: 0 }, // 10 - // { x: 119.65678404244805, y: 39.91911403354695, z: 0 }, // 11 - // { x: 119.65675791025545, y: 39.91912740330923, z: 0 }, // 12 - // { x: 119.65668676142027, y: 39.91904511131528, z: 0 }, // 13 - // { x: 119.65669702534994, y: 39.91903874986723, z: 0 }, // 14 - // { x: 119.65643219307744, y: 39.91874876054115, z: 0 }, // 15 - // { x: 119.65642049600095, y: 39.91875191798267, z: 0 }, // 16 - // { x: 119.656350984154, y: 39.918673406868834, z: 0 }, // 17 - // { x: 119.65637588916056, y: 39.918659479214774, z: 0 }, // 18 - // { x: 119.65631910016357, y: 39.918594619780336, z: 0 }, // 19 - // { x: 119.65629183381468, y: 39.9186054781755, z: 0 }, // 20 - // { x: 119.65622567170213, y: 39.91852686952323, z: 0 }, // 21 - // { x: 119.65634298611172, y: 39.91846243296193, z: 0 }, // 22 - // { x: 119.6564135302561, y: 39.91854286232652, z: 0 }, // 23 - // { x: 119.65635101633933, y: 39.918577820116276, z: 0 }, // 24 - // { x: 119.65640955872065, y: 39.918646534555386, z: 0 }, // 25 - // { x: 119.65668334318637, y: 39.9184984635419, z: 0 }, // 26 - // { x: 119.65645521932045, y: 39.9182424864133, z: 0 }, // 27 - // { x: 119.6564689013252, y: 39.91823509460069, z: 0 }, // 28 - // { x: 119.65628854805625, y: 39.91802649758608, z: 0 }, // 29 - // { x: 119.65636637820194, y: 39.91797066998092, z: 0 } // 30 - - // { x: 119.65707300491815, y: 39.91886017161463, z: 0 }, - // { x: 119.65701122244693, y: 39.91889015625408, z: 0 }, - // { x: 119.65689566241194, y: 39.91877252793814, z: 0 }, - // { x: 119.6569756406226, y: 39.91873926279735, z: 0 } - - { x: 119.6567070953706, y: 39.918561909033095, z: 0 }, - { x: 119.65649097319742, y: 39.918682579374234, z: 0 }, - { x: 119.65677803425983, y: 39.919013071288, z: 0 }, - { x: 119.65700809918584, y: 39.91888632060254, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) + // formData = {} // 103泊位(左下开始 27个) + // formData['position'] = [ + // // { x: 119.6576129111452, y: 39.91935017282795, z: 0 }, // 1 + // // { x: 119.65751103321216, y: 39.91939841984784, z: 0 }, // 2 + // // { x: 119.65710205641406, y: 39.91894101287264, z: 0 }, // 3 + // // { x: 119.65681101189668, y: 39.91909249595107, z: 0 }, // 4 + // // { x: 119.65687001194742, y: 39.91915882796764, z: 0 }, // 5 + // // { x: 119.65693535564643, y: 39.919127385757434, z: 0 }, // 6 + // // { x: 119.6570087686434, y: 39.91920280056184, z: 0 }, // 7 + // // { x: 119.65688535542319, y: 39.919270719042366, z: 0 }, // 8 + // // { x: 119.65681866377848, y: 39.91919041194434, z: 0 }, // 9 + // // { x: 119.65684061374697, y: 39.91917611341617, z: 0 }, // 10 + // // { x: 119.65678404244805, y: 39.91911403354695, z: 0 }, // 11 + // // { x: 119.65675791025545, y: 39.91912740330923, z: 0 }, // 12 + // // { x: 119.65668676142027, y: 39.91904511131528, z: 0 }, // 13 + // // { x: 119.65669702534994, y: 39.91903874986723, z: 0 }, // 14 + // // { x: 119.65643219307744, y: 39.91874876054115, z: 0 }, // 15 + // // { x: 119.65642049600095, y: 39.91875191798267, z: 0 }, // 16 + // // { x: 119.656350984154, y: 39.918673406868834, z: 0 }, // 17 + // // { x: 119.65637588916056, y: 39.918659479214774, z: 0 }, // 18 + // // { x: 119.65631910016357, y: 39.918594619780336, z: 0 }, // 19 + // // { x: 119.65629183381468, y: 39.9186054781755, z: 0 }, // 20 + // // { x: 119.65622567170213, y: 39.91852686952323, z: 0 }, // 21 + // // { x: 119.65634298611172, y: 39.91846243296193, z: 0 }, // 22 + // // { x: 119.6564135302561, y: 39.91854286232652, z: 0 }, // 23 + // // { x: 119.65635101633933, y: 39.918577820116276, z: 0 }, // 24 + // // { x: 119.65640955872065, y: 39.918646534555386, z: 0 }, // 25 + // // { x: 119.65668334318637, y: 39.9184984635419, z: 0 }, // 26 + // // { x: 119.65645521932045, y: 39.9182424864133, z: 0 }, // 27 + // // { x: 119.6564689013252, y: 39.91823509460069, z: 0 }, // 28 + // // { x: 119.65628854805625, y: 39.91802649758608, z: 0 }, // 29 + // // { x: 119.65636637820194, y: 39.91797066998092, z: 0 } // 30 + // + // // { x: 119.65707300491815, y: 39.91886017161463, z: 0 }, + // // { x: 119.65701122244693, y: 39.91889015625408, z: 0 }, + // // { x: 119.65689566241194, y: 39.91877252793814, z: 0 }, + // // { x: 119.6569756406226, y: 39.91873926279735, z: 0 } + // + // { x: 119.6567070953706, y: 39.918561909033095, z: 0 }, + // { x: 119.65649097319742, y: 39.918682579374234, z: 0 }, + // { x: 119.65677803425983, y: 39.919013071288, z: 0 }, + // { x: 119.65700809918584, y: 39.91888632060254, z: 0 } + // + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // // varList[5] = formData + // varList.push(formData) // formData = {} // 车台装卸区(火车装卸台 左侧橙色大区域) // formData['position'] = [ @@ -471,6 +1829,19 @@ function initMapDataOrange() { // // varList[5] = formData // varList.push(formData) + formData = {} // 一公司 高架罐区 + formData['position'] = [ + { x: 119.64437334628414, y: 39.93383339279702, z: 0 }, + { x: 119.6445592346811, y: 39.93357224326331, z: 0 }, + { x: 119.644704756144, y: 39.9336400523696, z: 0 }, + { x: 119.64453028395538, y: 39.933892481019605, z: 0 } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 车台装卸区(左侧橙色大区域内的 正方形油罐) formData['position'] = [ { x: 119.64440456168681, y: 39.934321690165376, z: 0 }, @@ -483,197 +1854,394 @@ function initMapDataOrange() { formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - // formData = {} // 车台装卸区(右侧橙色区域) + formData = {} // #车台装卸区的上面的罐子 + formData['position'] = [ + { + "x": 119.64513003477178, + "y": 39.935144338849454, + "z": 0 + }, + { + "x": 119.64526516660584, + "y": 39.935043944401585, + "z": 0 + }, + { + "x": 119.64540326803939, + "y": 39.93514354025678, + "z": 0 + }, + { + "x": 119.64526381112293, + "y": 39.93525383248512, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // #车台装卸区的下面的罐子 + formData['position'] = [ + { + "x": 119.64435523513254, + "y": 39.9344904041492, + "z": 0 + }, + { + "x": 119.64450744702668, + "y": 39.93438749204943, + "z": 0 + }, + { + "x": 119.64463027859846, + "y": 39.93449000978896, + "z": 0 + }, + { + "x": 119.64448393884038, + "y": 39.93459742295304, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + // formData = {} // #车台装卸区的下面的罐子 // formData['position'] = [ - // { x: 119.6457465888853, y: 39.93510769501491, z: 0 }, // 1 - // { x: 119.64569405473982, y: 39.93511826741439, z: 0 }, // 2 - // { x: 119.64555184569217, y: 39.93512099988858, z: 0 }, // 3 - // { x: 119.64555631634416, y: 39.935122963921934, z: 0 }, // 4 - // { x: 119.64443835251502, y: 39.93419619249873, z: 0 }, // 5 - // { x: 119.64443029498688, y: 39.934182842846056, z: 0 }, // 6 - // { x: 119.64424715977515, y: 39.93403236425357, z: 0 }, // 7 - // { x: 119.64437500625476, y: 39.93394873246545, z: 0 }, // 8 - // { x: 119.64432966585139, y: 39.933912760426395, z: 0 }, // 9 - // { x: 119.64420219295495, y: 39.93381482084956, z: 0 }, // 10 - // { x: 119.64416572770011, y: 39.93377574563012, z: 0 }, // 11 - // { x: 119.64438245355095, y: 39.93346199801979, z: 0 }, // 12 - // { x: 119.64447926464312, y: 39.933393387569666, z: 0 }, // 13 - // { x: 119.64497096936708, y: 39.93359689574843, z: 0 }, // 14 - // { x: 119.64501444784278, y: 39.9337526401183, z: 0 }, // 15 - // { x: 119.64507324581461, y: 39.93379332974524, z: 0 }, // 16 - // { x: 119.64527873326543, y: 39.93381806587838, z: 0 }, // 17 - // { x: 119.64568354469309, y: 39.93465500498186, z: 0 }, // 18 - // { x: 119.64558384763596, y: 39.93472288974315, z: 0 }, // 19 - // { x: 119.64584199571458, y: 39.93499707681805, z: 0 }, // 20 - // { x: 119.64577597800032, y: 39.93504691023246, z: 0 }, // 21 - // { x: 119.64578905412897, y: 39.93505797943123, z: 0 } // 22 + // { x: 119.64560621354842, y: 39.93562497843092, z: 0 }, + // { x: 119.64534389358688, y: 39.93581293163986, z: 0 }, + // { x: 119.64369726141712, y: 39.93444110944038, z: 0 }, + // { x: 119.64397481040113, y: 39.93425660386354, z: 0 } // ] // formData['color'] = 'rgba(243,151,1,0.44)' // formData['stretchHeight'] = 20 // 拉伸高度 // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 // varList.push(formData) - formData = {} // 车台装卸区(右侧橙色区域 白色汽车装卸区) + // formData = {} // #车台装卸区右侧内蓝色棚顶 + // formData['position'] = [ + // // { x: 119.64525602102887, y: 39.934250185401766, z: 0 }, + // { x: 119.6452321944432, y: 39.934248602366914, z: 0 }, + // { x: 119.64519494155503, y: 39.9341699272802, z: 0 }, + // { x: 119.64473779004314, y: 39.93428565238662, z: 0 }, + // { x: 119.64478190775176, y: 39.934386240997554, z: 0 } + // + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList.push(formData) + + // formData = {} // ##107泊位黄色区域右侧开始 + // formData['position'] = [ + // { x: 119.65511704106808, y: 39.92639141926955, z: 0 }, + // { x: 119.65503750494683, y: 39.926375911718786, z: 0 }, + // { x: 119.65497215406894, y: 39.926523724078116, z: 0 }, + // { x: 119.65503049205702, y: 39.926535777174486, z: 0 }, + // { x: 119.65509029139058, y: 39.92640175341284, z: 0 }, + // { x: 119.65510998885289, y: 39.92640596602978, z: 0 } + // + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList.push(formData) + + // formData = {} // ##107泊位小方形 + // formData['position'] = [ + // { x: 119.65542203056188, y: 39.926585395823295, z: 0 }, + // { x: 119.6553947990134, y: 39.92657883444372, z: 0 }, + // { x: 119.65537447158967, y: 39.92662674878071, z: 0 }, + // { x: 119.65540204976135, y: 39.92663366562674, z: 0 } + // + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList.push(formData) + + // formData = {} // ##107泊位小方形 + // formData['position'] = [ + // { x: 119.65573681858258, y: 39.924959459860524, z: 0 }, + // { x: 119.65571582118056, y: 39.924951242776416, z: 0 }, + // { x: 119.65571108209363, y: 39.9249597628282, z: 0 }, + // { x: 119.65569701385427, y: 39.92495566005588, z: 0 }, + // { x: 119.65569796553233, y: 39.924946505491306, z: 0 }, + // { x: 119.65565927836555, y: 39.92493778122129, z: 0 }, + // { x: 119.6556021327318, y: 39.92506825423012, z: 0 }, + // { x: 119.6556468222785, y: 39.9250786664663, z: 0 }, + // { x: 119.65567868884399, y: 39.925013278386864, z: 0 }, + // { x: 119.65570727856851, y: 39.92502003574117, z: 0 } + // + // ] + // formData['color'] = 'rgba(243,151,1,0.44)' + // formData['stretchHeight'] = 20 // 拉伸高度 + // formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList.push(formData) + + + + formData = {} // 橙3 一公司 107泊位 formData['position'] = [ - { x: 119.6452306198813, y: 39.93424885884644, z: 0 }, - { x: 119.64519443024128, y: 39.93416876388136, z: 0 }, - { x: 119.644751651883, y: 39.934292007541025, z: 0 }, - { x: 119.64478701883965, y: 39.93437214607071, z: 0 } + { + "x": 119.65503448880321, + "y": 39.92637794043831, + "z": 0 + }, + { + "x": 119.65509015283133, + "y": 39.926392480254194, + "z": 0 + }, + { + "x": 119.65501422485877, + "y": 39.926568513120394, + "z": 0 + }, + { + "x": 119.6549599245005, + "y": 39.92655471533972, + "z": 0 + } ] - formData['color'] = 'rgba(255,255,255,0.31)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(255,255,255,0.63)' // 边线颜色 + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData varList.push(formData) - formData = {} // 车台装卸区(右侧橙色区域 高架罐区) + formData = {} // 橙4 一公司 105泊位 formData['position'] = [ - { x: 119.6447078340483, y: 39.933632547355444, z: 0 }, - { x: 119.64457366762889, y: 39.93357373975724, z: 0 }, - { x: 119.64438818583643, y: 39.933833648977284, z: 0 }, - { x: 119.64450577570216, y: 39.93388230219254, z: 0 } + { + "x": 119.65565401828417, + "y": 39.92493470961027, + "z": 0 + }, + { + "x": 119.65570268954862, + "y": 39.92494562149662, + "z": 0 + }, + { + "x": 119.6556534973652, + "y": 39.92508034314542, + "z": 0 + }, + { + "x": 119.65559999840916, + "y": 39.92506886620076, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 橙5 一公司 102泊位 + formData['position'] = [ + { + "x": 119.65483990514292, + "y": 39.92278467000115, + "z": 0 + }, + { + "x": 119.65499039261299, + "y": 39.922706279289734, + "z": 0 + }, + { + "x": 119.65516247484612, + "y": 39.92289605208885, + "z": 0 + }, + { + "x": 119.65501238200747, + "y": 39.92297901255581, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 橙6 一公司 102和103泊位中间的 + formData['position'] = [ + { + "x": 119.65804835057769, + "y": 39.920951228797, + "z": 0 + }, + { + "x": 119.65812221746373, + "y": 39.92096048963126, + "z": 0 + }, + { + "x": 119.65809304178588, + "y": 39.92112341134131, + "z": 0 + }, + { + "x": 119.65802458179039, + "y": 39.92111685860071, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 橙7 一公司103泊位 + formData['position'] = [ + { + "x": 119.65646480385472, + "y": 39.91876666071469, + "z": 0 + }, + { + "x": 119.65641626704641, + "y": 39.918710286335646, + "z": 0 + }, + { + "x": 119.65669870267627, + "y": 39.918559435904214, + "z": 0 + }, + { + "x": 119.65699750006523, + "y": 39.91888961480225, + "z": 0 + }, + { + "x": 119.65676036342448, + "y": 39.91901527196699, + "z": 0 + }, + { + "x": 119.65651930643986, + "y": 39.91873785382415, + "z": 0 + } + ] + formData['color'] = 'rgba(243,151,1,0.44)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + +//***** +// formData = {} // 九公司 橙色高压接触网-下 +// formData['position'] = [ +// { +// "x": 119.65642029156852, +// "y": 39.91871424994487, +// "z": 0 +// }, +// { +// "x": 119.65669887864026, +// "y": 39.91855949102403, +// "z": 0 +// }, +// { +// "x": 119.65699755340607, +// "y": 39.9188896497393, +// "z": 0 +// }, +// { +// "x": 119.65676891029585, +// "y": 39.91901257345668, +// "z": 0 +// }, +// { +// "x": 119.65651973928792, +// "y": 39.91873796361755, +// "z": 0 +// }, +// { +// "x": 119.6564653573009, +// "y": 39.918766906630836, +// "z": 0 +// }, +// ] +// formData['color'] = 'rgba(243,151,1,0.44)' +// formData['stretchHeight'] = 20 // 拉伸高度 +// formData['height'] = 18 // 悬空高度 +// formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 +// // varList[5] = formData +// varList.push(formData) +//***** + formData = {} // 九公司 橙色高压接触网-中 + formData['position'] = [ + { + "x": 119.67999734168633, + "y": 39.94507414925377, + "z": 0 + }, + { + "x": 119.67999658939559, + "y": 39.9450881540915, + "z": 0 + }, + { + "x": 119.67676776019547, + "y": 39.945077617907195, + "z": 0 + }, + { + "x": 119.67676782669787, + "y": 39.94506470814441, + "z": 0 + } ] formData['color'] = 'rgba(243,151,1,0.44)' formData['stretchHeight'] = 20 // 拉伸高度 + formData['height'] = 18 // 悬空高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData varList.push(formData) - - formData = {} // 车台装卸区(右侧橙色区域 右侧橙色区域内的装卸台) +//***** + formData = {} // 九公司 橙色高压接触网-上 formData['position'] = [ - { x: 119.64529604774823, y: 39.9346673995945, z: 0 }, - { x: 119.64522901148707, y: 39.93471461335825, z: 0 }, - { x: 119.64555874680201, y: 39.9349894290204, z: 0 }, - { x: 119.64562656747471, y: 39.934941775690426, z: 0 } + { + "x": 119.68004631312158, + "y": 39.945232355240805, + "z": 0 + }, + { + "x": 119.68004687192685, + "y": 39.94524600102893, + "z": 0 + }, + { + "x": 119.67676715991885, + "y": 39.945235201812665, + "z": 0 + }, + { + "x": 119.67676720877436, + "y": 39.945222916623074, + "z": 0 + } ] formData['color'] = 'rgba(243,151,1,0.44)' formData['stretchHeight'] = 20 // 拉伸高度 + formData['height'] = 18 // 悬空高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData varList.push(formData) - formData = {} // 车台装卸区(右侧橙色区域 装卸台上边的正方形,没有名字) - formData['position'] = [ - { x: 119.64563421537747, y: 39.93495249303216, z: 0 }, - { x: 119.64557429659537, y: 39.93499389835336, z: 0 }, - { x: 119.64563512102713, y: 39.93504433265634, z: 0 }, - { x: 119.645693795485, y: 39.93500384071838, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - formData = {} // #车台装卸区的上面的罐子 - formData['position'] = [ - { x: 119.64534969095199, y: 39.93520079673735, z: 0 }, - { x: 119.64538480368554, y: 39.935141350925036, z: 0 }, - { x: 119.64535410467116, y: 39.93509621738202, z: 0 }, - { x: 119.6452775245341, y: 39.935073645354045, z: 0 }, - { x: 119.64520183184784, y: 39.93509343794769, z: 0 }, - { x: 119.645187427389, y: 39.935157954224664, z: 0 }, - { x: 119.64521514694971, y: 39.935200911594166, z: 0 }, - { x: 119.64529588173798, y: 39.93522473411524, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // #车台装卸区的下面的罐子 - formData['position'] = [ - // { x: 119.64458448889054, y: 39.934552933507916, z: 0 }, - // { x: 119.64462299410152, y: 39.9344926080067, z: 0 }, - // { x: 119.64459589815486, y: 39.934447365546674, z: 0 }, - // { x: 119.64450069072579, y: 39.93441979355661, z: 0 }, - // { x: 119.64441680288446, y: 39.93450720599462, z: 0 }, - // { x: 119.64444238698292, y: 39.93454737673552, z: 0 }, - // { x: 119.64450276456675, y: 39.93457232199055, z: 0 } - { x: 119.64458448889054, y: 39.934552933507916, z: 0 }, - { x: 119.64462299410152, y: 39.9344926080067, z: 0 }, - { x: 119.64459589815486, y: 39.934447365546674, z: 0 }, - { x: 119.64451575677656, y: 39.93441864614297, z: 0 }, - { x: 119.644458819589, y: 39.93443317356648, z: 0 }, - { x: 119.64442509084871, y: 39.93446616158926, z: 0 }, - { x: 119.64441680288446, y: 39.93450720599462, z: 0 }, - { x: 119.64444238698292, y: 39.93454737673552, z: 0 }, - { x: 119.64450276456675, y: 39.93457232199055, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // #车台装卸区的下面的罐子 - formData['position'] = [ - { x: 119.64560621354842, y: 39.93562497843092, z: 0 }, - { x: 119.64534389358688, y: 39.93581293163986, z: 0 }, - { x: 119.64369726141712, y: 39.93444110944038, z: 0 }, - { x: 119.64397481040113, y: 39.93425660386354, z: 0 } - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // #车台装卸区右侧内蓝色棚顶 - formData['position'] = [ - // { x: 119.64525602102887, y: 39.934250185401766, z: 0 }, - { x: 119.6452321944432, y: 39.934248602366914, z: 0 }, - { x: 119.64519494155503, y: 39.9341699272802, z: 0 }, - { x: 119.64473779004314, y: 39.93428565238662, z: 0 }, - { x: 119.64478190775176, y: 39.934386240997554, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // ##107泊位黄色区域右侧开始 - formData['position'] = [ - { x: 119.65511704106808, y: 39.92639141926955, z: 0 }, - { x: 119.65503750494683, y: 39.926375911718786, z: 0 }, - { x: 119.65497215406894, y: 39.926523724078116, z: 0 }, - { x: 119.65503049205702, y: 39.926535777174486, z: 0 }, - { x: 119.65509029139058, y: 39.92640175341284, z: 0 }, - { x: 119.65510998885289, y: 39.92640596602978, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // ##107泊位小方形 - formData['position'] = [ - { x: 119.65542203056188, y: 39.926585395823295, z: 0 }, - { x: 119.6553947990134, y: 39.92657883444372, z: 0 }, - { x: 119.65537447158967, y: 39.92662674878071, z: 0 }, - { x: 119.65540204976135, y: 39.92663366562674, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) - - formData = {} // ##107泊位小方形 - formData['position'] = [ - { x: 119.65573681858258, y: 39.924959459860524, z: 0 }, - { x: 119.65571582118056, y: 39.924951242776416, z: 0 }, - { x: 119.65571108209363, y: 39.9249597628282, z: 0 }, - { x: 119.65569701385427, y: 39.92495566005588, z: 0 }, - { x: 119.65569796553233, y: 39.924946505491306, z: 0 }, - { x: 119.65565927836555, y: 39.92493778122129, z: 0 }, - { x: 119.6556021327318, y: 39.92506825423012, z: 0 }, - { x: 119.6556468222785, y: 39.9250786664663, z: 0 }, - { x: 119.65567868884399, y: 39.925013278386864, z: 0 }, - { x: 119.65570727856851, y: 39.92502003574117, z: 0 } - - ] - formData['color'] = 'rgba(243,151,1,0.44)' - formData['stretchHeight'] = 20 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - varList.push(formData) return varList } @@ -682,171 +2250,1275 @@ function initMapDataOrange() { */ function initMapDataYellow() { const varList = [] - let formData = {} // 油泵槽 + let formData = {} // 一公司 油泵槽 formData['position'] = [ - { x: 119.64694350168816, y: 39.935932431480886, z: 0 }, - { x: 119.64676233614186, y: 39.93588817467566, z: 0 }, - { x: 119.64671753286544, y: 39.93599634355246, z: 0 }, - { x: 119.64690141832067, y: 39.936048227161294, z: 0 } + { + "x": 119.64675261595922, + "y": 39.93588975155907, + "z": 0 + }, + { + "x": 119.64670486164115, + "y": 39.93600157720037, + "z": 0 + }, + { + "x": 119.64688316669802, + "y": 39.93604981664942, + "z": 0 + }, + { + "x": 119.64693400300135, + "y": 39.9359346020678, + "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 = {} // 2#中心变 + + + formData = {} // 一公司 污水池 + formData['position'] = [ - { x: 119.6472438377204, y: 39.935997168970694, z: 0 }, - { x: 119.64710917060233, y: 39.935962513530065, z: 0 }, - { x: 119.64700293365452, y: 39.93617363663724, z: 0 }, - { x: 119.64716410999439, y: 39.936199919752646, z: 0 } + { x: 119.6537637425757, y: 39.93379806517932, z: 0 }, + { x: 119.65295731420446, y: 39.93359861511557, z: 0 }, + { x: 119.65274069941401, y: 39.93410818007418, z: 0 }, + { x: 119.65353807336304, y: 39.93431028339493, z: 0 } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 12 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 一公司 污水罐 + formData['position'] = [ + { + "x": 119.65339649843148, + "y": 39.93314233683885, + "z": 0 + }, + { + "x": 119.65346224279332, + "y": 39.932974183761, + "z": 0 + }, + { + "x": 119.6537191093806, + "y": 39.9330307194225, + "z": 0 + }, + { + "x": 119.65365071886094, + "y": 39.93319980702475, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + + formData = {} // 一公司 2#中心变 + formData['position'] = [ + { + "x": 119.64715547590552, + "y": 39.93619853339412, + "z": 0 + }, + { + "x": 119.64700371135478, + "y": 39.93615573933974, + "z": 0 + }, + { + "x": 119.64709583077506, + "y": 39.935958543670694, + "z": 0 + }, + { + "x": 119.64724545376124, + "y": 39.935997199295514, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 14 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 重油泵房 + formData['position'] = [ + { + "x": 119.64747602291827, + "y": 39.937095127087254, + "z": 0 + }, + { + "x": 119.64751644854516, + "y": 39.936996093142625, + "z": 0 + }, + { + "x": 119.64800746415632, + "y": 39.937119012938005, + "z": 0 + }, + { + "x": 119.64794729648773, + "y": 39.937261484578805, + "z": 0 + }, + { + "x": 119.64778774247058, + "y": 39.93721940930273, + "z": 0 + }, + { + "x": 119.64780264621291, + "y": 39.93718229322036, + "z": 0 + }, + { + "x": 119.64747573175073, + "y": 39.93709170659013, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 轻油泵房 + formData['position'] = [ + { + "x": 119.64818411769176, + "y": 39.93740616109522, + "z": 0 + }, + { + "x": 119.64821706901344, + "y": 39.93732159466067, + "z": 0 + }, + { + "x": 119.648509667995, + "y": 39.93740081522917, + "z": 0 + }, + { + "x": 119.64848754006738, + "y": 39.93745026317046, + "z": 0 + }, + { + "x": 119.64847070022317, + "y": 39.93744855969521, + "z": 0 + }, + { + "x": 119.64845513622338, + "y": 39.93747654069873, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 装船泵房 + formData['position'] = [ + { + "x": 119.64893082342202, + "y": 39.93756038816083, + "z": 0 + }, + { + "x": 119.64888910355222, + "y": 39.93766029408344, + "z": 0 + }, + { + "x": 119.64842927265528, + "y": 39.93754289686765, + "z": 0 + }, + { + "x": 119.64847087528885, + "y": 39.93744841197433, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 装船泵房上边,罐1左边的四方形 + formData['position'] = [ + { + "x": 119.6489858123143, + "y": 39.937595784953494, + "z": 0 + }, + { + "x": 119.64903426141252, + "y": 39.93747534921418, + "z": 0 + }, + { + "x": 119.64922054679313, + "y": 39.93752251171477, + "z": 0 + }, + { + "x": 119.64917066670635, + "y": 39.93764314375353, + "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 = {} // 一公司 1#中心变 formData['position'] = [ - { x: 119.64800744076197, y: 39.93712049116005, z: 0 }, - { x: 119.64752691354582, y: 39.93699760943203, z: 0 }, - { x: 119.64748866909706, y: 39.93708576379441, z: 0 }, - { x: 119.64781853269936, y: 39.93717159782033, z: 0 }, - { x: 119.64780485609788, y: 39.937210303082395, z: 0 }, - { x: 119.64796457484249, y: 39.93725562581555, z: 0 } + { + "x": 119.65107227626761, + "y": 39.93537697573911, + "z": 0 + }, + { + "x": 119.65112269759166, + "y": 39.93526161803151, + "z": 0 + }, + { + "x": 119.6515278182699, + "y": 39.93536332954129, + "z": 0 + }, + { + "x": 119.65147466192138, + "y": 39.93547906802932, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 18 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 轻油泵房 + formData = {} // 一公司 航煤泵房 左边 formData['position'] = [ - { x: 119.6485127092356, y: 39.93739580292993, z: 0 }, - { x: 119.64822867226809, y: 39.937324707164265, z: 0 }, - { x: 119.64819525683177, y: 39.937398359992585, z: 0 }, - { x: 119.64846521167085, y: 39.93746791534007, z: 0 }, - { x: 119.64847671685048, y: 39.93744071183442, z: 0 }, - { x: 119.64849079124862, y: 39.93744405929114, z: 0 } + { + "x": 119.65542106009994, + "y": 39.93555795645293, + "z": 0 + }, + { + "x": 119.65531601984925, + "y": 39.93553206698612, + "z": 0 + }, + { + "x": 119.65541329091548, + "y": 39.93530421355924, + "z": 0 + }, + { + "x": 119.65551836892956, + "y": 39.93533293154421, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 12 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 装船泵房 + formData = {} // 一公司 航煤泵房 右边 formData['position'] = [ - { x: 119.64893281319881, y: 39.937556896865104, z: 0 }, - { x: 119.64847748656572, y: 39.9374423228803, z: 0 }, - { x: 119.64843918309832, y: 39.93753438969914, z: 0 }, - { x: 119.6488936922574, y: 39.93764835694488, z: 0 } + { + "x": 119.65552801736641, + "y": 39.935323320042194, + "z": 0 + }, + { + "x": 119.65541612233632, + "y": 39.935296539448494, + "z": 0 + }, + { + "x": 119.65550088419319, + "y": 39.93510312216852, + "z": 0 + }, + { + "x": 119.65557788320714, + "y": 39.935122915171796, + "z": 0 + }, + { + "x": 119.65553517834054, + "y": 39.93522618868531, + "z": 0 + }, + { + "x": 119.65555968993051, + "y": 39.93523617579948, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 12 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 装船泵房上边,罐1左边的四方形 + formData = {} // 一公司 污水处理车间 formData['position'] = [ - { x: 119.64921718097027, y: 39.93752096654376, z: 0 }, - { x: 119.64904327531065, y: 39.93747758326933, z: 0 }, - { x: 119.6489974002112, y: 39.93758613760751, z: 0 }, - { x: 119.64917184291207, y: 39.93762883473895, z: 0 } + { + "x": 119.65320764348246, + "y": 39.93280898485063, + "z": 0 + }, + { + "x": 119.65327258509362, + "y": 39.93265420614109, + "z": 0 + }, + { + "x": 119.65363752102411, + "y": 39.932747218214836, + "z": 0 + }, + { + "x": 119.65357295982567, + "y": 39.93290372198591, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 14 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 1#中心变 + formData = {} // 一公司 10#墩配电室 formData['position'] = [ - { x: 119.65152197348445, y: 39.93536966050758, z: 0 }, - { x: 119.65113027752317, y: 39.93526985981567, z: 0 }, - { x: 119.65108880722619, y: 39.93536564925643, z: 0 }, - { x: 119.65148117896372, y: 39.93546700709305, z: 0 } + { + "x": 119.6567858008791, + "y": 39.924024337567765, + "z": 0 + }, + { + "x": 119.65670223654902, + "y": 39.9241165225259, + "z": 0 + }, + { + "x": 119.65678111629454, + "y": 39.92415783802315, + "z": 0 + }, + { + "x": 119.65686133543122, + "y": 39.92406436422325, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 18 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 车台装卸区(火车装卸台区域的长方形 大概写的是库房) + formData['position'] = [ + { + "x": 119.64471930628166, + "y": 39.93470277750939, + "z": 0 + }, + { + "x": 119.64480164491101, + "y": 39.93464590176776, + "z": 0 + }, + { + "x": 119.64508794969686, + "y": 39.93487979893998, + "z": 0 + }, + { + "x": 119.64499164460709, + "y": 39.93495268357772, + "z": 0 + }, + { + "x": 119.6448456893533, + "y": 39.93483022643145, + "z": 0 + }, + { + "x": 119.64486006307838, + "y": 39.934818388113065, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 车台装卸区(四字方形,在库房旁边的黄色区域) + formData['position'] = [ + { + "x": 119.64474104631252, + "y": 39.934594609616546, + "z": 0 + }, + { + "x": 119.64459345801616, + "y": 39.934700722832694, + "z": 0 + }, + { + "x": 119.64447813383478, + "y": 39.93460529612365, + "z": 0 + }, + { + "x": 119.64462742333843, + "y": 39.9344997969754, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 14 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 黄41 + formData['position'] = [ + { + "x": 119.64935438361401, + "y": 39.937549459614864, + "z": 0 + }, + { + "x": 119.6493687318305, + "y": 39.93753879762773, + "z": 0 + }, + { + "x": 119.64938711332539, + "y": 39.93752787174191, + "z": 0 + }, + { + "x": 119.64940619081366, + "y": 39.937523136119175, + "z": 0 + }, + { + "x": 119.64943339520136, + "y": 39.93752012319133, + "z": 0 + }, + { + "x": 119.64945336235522, + "y": 39.93752239446954, + "z": 0 + }, + { + "x": 119.64946918611537, + "y": 39.93752634518904, + "z": 0 + }, + { + "x": 119.64948354505654, + "y": 39.937533262349575, + "z": 0 + }, + { + "x": 119.64950505830727, + "y": 39.937544315011046, + "z": 0 + }, + { + "x": 119.64951992342456, + "y": 39.937564660653116, + "z": 0 + }, + { + "x": 119.64952327201254, + "y": 39.937586000444135, + "z": 0 + }, + { + "x": 119.64952872214415, + "y": 39.93759598810641, + "z": 0 + }, + { + "x": 119.64952247300927, + "y": 39.93762802568568, + "z": 0 + }, + { + "x": 119.6495083201998, + "y": 39.937637329420724, + "z": 0 + }, + { + "x": 119.64949005539692, + "y": 39.937656362929665, + "z": 0 + }, + { + "x": 119.64947348047883, + "y": 39.93766147838313, + "z": 0 + }, + { + "x": 119.64945802627136, + "y": 39.93766652317375, + "z": 0 + }, + { + "x": 119.64943406173201, + "y": 39.93767021806161, + "z": 0 + }, + { + "x": 119.64941526968525, + "y": 39.93767000928212, + "z": 0 + }, + { + "x": 119.64939725051501, + "y": 39.93766647797905, + "z": 0 + }, + { + "x": 119.64938408170143, + "y": 39.937661647079494, + "z": 0 + }, + { + "x": 119.64937519426358, + "y": 39.9376573833488, + "z": 0 + }, + { + "x": 119.64936102796199, + "y": 39.93764909182799, + "z": 0 + }, + { + "x": 119.64935263812825, + "y": 39.93764069697448, + "z": 0 + }, + { + "x": 119.64934487166148, + "y": 39.93763037190978, + "z": 0 + }, + { + "x": 119.64933844472527, + "y": 39.937620721829695, + "z": 0 + }, + { + "x": 119.64933337190519, + "y": 39.9376058784465, + "z": 0 + }, + { + "x": 119.64933213988792, + "y": 39.93758629253377, + "z": 0 + }, + { + "x": 119.64933946391547, + "y": 39.93756787897886, + "z": 0 + }, + { + "x": 119.64935438361401, + "y": 39.937549459614864, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 一公司 黄42 + formData['position'] = [ + { + "x": 119.64956155353866, + "y": 39.93766048672987, + "z": 0 + }, + { + "x": 119.64956219520462, + "y": 39.937649329806526, + "z": 0 + }, + { + "x": 119.64956183107749, + "y": 39.9376442781186, + "z": 0 + }, + { + "x": 119.64956698144543, + "y": 39.937630489844835, + "z": 0 + }, + { + "x": 119.64957220762724, + "y": 39.937614795848624, + "z": 0 + }, + { + "x": 119.64958073895625, + "y": 39.93759972540601, + "z": 0 + }, + { + "x": 119.64959706769059, + "y": 39.937590989503455, + "z": 0 + }, + { + "x": 119.64961351568665, + "y": 39.93758446305703, + "z": 0 + }, + { + "x": 119.64962423516596, + "y": 39.93758015131844, + "z": 0 + }, + { + "x": 119.64963849268871, + "y": 39.93757829824769, + "z": 0 + }, + { + "x": 119.64964932445719, + "y": 39.937577448723616, + "z": 0 + }, + { + "x": 119.64966515491888, + "y": 39.9375791739814, + "z": 0 + }, + { + "x": 119.64968306947974, + "y": 39.937579819341344, + "z": 0 + }, + { + "x": 119.64970158410439, + "y": 39.93758536380382, + "z": 0 + }, + { + "x": 119.6497133099653, + "y": 39.93759114511226, + "z": 0 + }, + { + "x": 119.64972298533763, + "y": 39.93759665005036, + "z": 0 + }, + { + "x": 119.64973064293838, + "y": 39.93760500735805, + "z": 0 + }, + { + "x": 119.64974058488775, + "y": 39.93761225231026, + "z": 0 + }, + { + "x": 119.64974685514093, + "y": 39.93762269939289, + "z": 0 + }, + { + "x": 119.6497534741057, + "y": 39.93764121446224, + "z": 0 + }, + { + "x": 119.64975622950907, + "y": 39.93765017758825, + "z": 0 + }, + { + "x": 119.64975501091283, + "y": 39.93766264504111, + "z": 0 + }, + { + "x": 119.64975269780864, + "y": 39.93767236443677, + "z": 0 + }, + { + "x": 119.64974924267865, + "y": 39.93768157165041, + "z": 0 + }, + { + "x": 119.64974091355691, + "y": 39.93769374152715, + "z": 0 + }, + { + "x": 119.64972825584509, + "y": 39.93770683261994, + "z": 0 + }, + { + "x": 119.64971867546451, + "y": 39.937713394868325, + "z": 0 + }, + { + "x": 119.64970087139183, + "y": 39.93771935265264, + "z": 0 + }, + { + "x": 119.64968375693836, + "y": 39.93772549831007, + "z": 0 + }, + { + "x": 119.64967411808445, + "y": 39.93772707020383, + "z": 0 + }, + { + "x": 119.64965828732308, + "y": 39.93772938763026, + "z": 0 + }, + { + "x": 119.64964251045897, + "y": 39.93772849786555, + "z": 0 + }, + { + "x": 119.6496276173504, + "y": 39.93772526432062, + "z": 0 + }, + { + "x": 119.64961299507364, + "y": 39.937720570237865, + "z": 0 + }, + { + "x": 119.64960118184581, + "y": 39.93771591775239, + "z": 0 + }, + { + "x": 119.64958454495628, + "y": 39.93770563715298, + "z": 0 + }, + { + "x": 119.64957419163369, + "y": 39.937690925791884, + "z": 0 + }, + { + "x": 119.64956631624672, + "y": 39.93767659571782, + "z": 0 + }, + { + "x": 119.64956155353866, + "y": 39.93766048672987, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + // varList[5] = formData + varList.push(formData) + + formData = {} // 一公司 卸车机房左侧是水罐 黄色 + formData['position'] = [ + { + "x": 119.67571193191387, + "y": 39.945497180971614, + "z": 0 + }, + { + "x": 119.67572506862477, + "y": 39.94572866358916, + "z": 0 + }, + { + "x": 119.67518171247595, + "y": 39.94574085025751, + "z": 0 + }, + { + "x": 119.67518208068056, + "y": 39.94547572709497, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 一公司 黄1 + formData['position'] = [ + { + "x": 119.64545662292429, + "y": 39.93539902676807, + "z": 0 + }, + { + "x": 119.64536555403889, + "y": 39.93532285610675, + "z": 0 + }, + { + "x": 119.64550696507655, + "y": 39.935225619057896, + "z": 0 + }, + { + "x": 119.6455907964595, + "y": 39.935306980732385, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 14 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 卸车部车间 + formData['position'] = [ + { + "x": 119.67837988120894, + "y": 39.945577980061756, + "z": 0 + }, + { + "x": 119.67866945831462, + "y": 39.94557876523195, + "z": 0 + }, + { + "x": 119.67866856167583, + "y": 39.94573033747321, + "z": 0 + }, + { + "x": 119.67838101482991, + "y": 39.94572551425829, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' formData['stretchHeight'] = 20 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 航煤泵房 左边 + formData = {} // 九公司 装部维修车间 formData['position'] = [ - { x: 119.65553389224773, y: 39.9353247599672, z: 0 }, - { x: 119.65542028691645, y: 39.93530667283304, z: 0 }, - { x: 119.65531817394667, y: 39.935540021645814, z: 0 }, - { x: 119.65541981389148, y: 39.93556730409104, z: 0 } + { + "x": 119.67638146945725, + "y": 39.9314943804233, + "z": 0 + }, + { + "x": 119.67657096095611, + "y": 39.93149393752788, + "z": 0 + }, + { + "x": 119.67656858902549, + "y": 39.93183995481393, + "z": 0 + }, + { + "x": 119.67637636171396, + "y": 39.93184198307276, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 19 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 航煤泵房 右边 + formData = {} // 九公司 MSS1 formData['position'] = [ - { x: 119.65557626707123, y: 39.93512145809204, z: 0 }, - { x: 119.65550667100902, y: 39.935103254474335, z: 0 }, - { x: 119.65542881162341, y: 39.93528746596968, z: 0 }, - { x: 119.65552793310619, y: 39.9353123348758, z: 0 }, - { x: 119.65556157812364, y: 39.935231821157316, z: 0 }, - { x: 119.6555421117552, y: 39.93522135293851, z: 0 }, - { x: 119.65557551338391, y: 39.935121145801084, z: 0 } + { + "x": 119.677100156669, + "y": 39.91433947906379, + "z": 0 + }, + { + "x": 119.6771833513014, + "y": 39.914338783913855, + "z": 0 + }, + { + "x": 119.67718443478546, + "y": 39.914485975244304, + "z": 0 + }, + { + "x": 119.6770983994313, + "y": 39.91448483770926, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 13 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 污水处理车间 + formData = {} // 九公司 MSS2 formData['position'] = [ - { x: 119.65362843522897, y: 39.93275033951884, z: 0 }, - { x: 119.65328788623638, y: 39.93266365038469, z: 0 }, - { x: 119.65322814929476, y: 39.93280021380405, z: 0 }, - { x: 119.65356921336642, y: 39.93288713320745, z: 0 } + { + "x": 119.67730438483026, + "y": 39.92431908462055, + "z": 0 + }, + { + "x": 119.67750049739695, + "y": 39.924317393282806, + "z": 0 + }, + { + "x": 119.67750300503378, + "y": 39.92453569280044, + "z": 0 + }, + { + "x": 119.67730095273068, + "y": 39.92453278611813, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 14 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 10#墩配电室 + formData = {} // 九公司 SS4 formData['position'] = [ - { x: 119.65685052439703, y: 39.924065551785596, z: 0 }, - { x: 119.65678488297009, y: 39.924032311669464, z: 0 }, - { x: 119.65671816685585, y: 39.92410855275288, z: 0 }, - { x: 119.6567884379913, y: 39.92415055682675, z: 0 } + { + "x": 119.67686488410037, + "y": 39.945569129044, + "z": 0 + }, + { + "x": 119.67686225977674, + "y": 39.945725321504405, + "z": 0 + }, + { + "x": 119.67747526057079, + "y": 39.94572140324657, + "z": 0 + }, + { + "x": 119.67748560753881, + "y": 39.94557126173028, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 20 // 拉伸高度 + formData['stretchHeight'] = 17 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 车台装卸区(火车装卸台区域的长方形 大概写的是库房) + formData = {} // 九公司 配电箱-1 formData['position'] = [ - { x: 119.64508652642337, y: 39.93487886605786, z: 0 }, - { x: 119.64481496433395, y: 39.93465206298708, z: 0 }, - { x: 119.64473854155202, y: 39.9347056794777, z: 0 }, - { x: 119.64487278262344, y: 39.93481925729815, z: 0 }, - { x: 119.6448601309604, y: 39.934830142864456, z: 0 }, - { x: 119.64499627541201, y: 39.93494364356409, z: 0 }, - { x: 119.64508740943258, y: 39.93487885133817, z: 0 } + { + "x": 119.67689679643377, + "y": 39.94543340727261, + "z": 0 + }, + { + "x": 119.67689258471772, + "y": 39.94535997908461, + "z": 0 + }, + { + "x": 119.6774831880028, + "y": 39.94537077683519, + "z": 0 + }, + { + "x": 119.67748443528197, + "y": 39.945444091530476, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 30 // 拉伸高度 + formData['stretchHeight'] = 13 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 车台装卸区(四字方形,在库房旁边的黄色区域) + formData = {} // 九公司 配电箱-2 formData['position'] = [ - { x: 119.6447415192463, y: 39.934594206971795, z: 0 }, - { x: 119.6446379977513, y: 39.93450768550575, z: 0 }, - { x: 119.64450088039554, y: 39.93460623573525, z: 0 }, - { x: 119.64460540367394, y: 39.934692335537285, z: 0 } + { + "x": 119.67759730388686, + "y": 39.94543828526552, + "z": 0 + }, + { + "x": 119.67759727968894, + "y": 39.945361358157285, + "z": 0 + }, + { + "x": 119.67822641277739, + "y": 39.94536821042086, + "z": 0 + }, + { + "x": 119.67822948729663, + "y": 39.945440868898324, + "z": 0 + } ] formData['color'] = 'rgba(255,240,0,0.4)' - formData['stretchHeight'] = 30 // 拉伸高度 + formData['stretchHeight'] = 15 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) + + formData = {} // 九公司 配电箱-3 + formData['position'] = [ + { + "x": 119.67819117689767, + "y": 39.94489036153427, + "z": 0 + }, + { + "x": 119.67819134848573, + "y": 39.944826312772946, + "z": 0 + }, + { + "x": 119.67876922316195, + "y": 39.9448278055437, + "z": 0 + }, + { + "x": 119.67877094762429, + "y": 39.94489205529577, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 13 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 污水处理厂 + formData['position'] = [ + { + "x": 119.6773899097867, + "y": 39.92803091879639, + "z": 0 + }, + { + "x": 119.67738605284924, + "y": 39.927567248049144, + "z": 0 + }, + { + "x": 119.6780265766188, + "y": 39.927562762523046, + "z": 0 + }, + { + "x": 119.67802993065335, + "y": 39.92803539405898, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 11 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 SS1 + formData['position'] = [ + { + "x": 119.67746393315409, + "y": 39.92688469855177, + "z": 0 + }, + { + "x": 119.67766402891039, + "y": 39.92688310865093, + "z": 0 + }, + { + "x": 119.6776674711235, + "y": 39.927304960620276, + "z": 0 + }, + { + "x": 119.67745701971789, + "y": 39.92730361172924, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 28 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 SS2 + formData['position'] = [ + { + "x": 119.67744695290219, + "y": 39.930341510674786, + "z": 0 + }, + { + "x": 119.6776432266684, + "y": 39.930339500729346, + "z": 0 + }, + { + "x": 119.6776332221384, + "y": 39.93073585590139, + "z": 0 + }, + { + "x": 119.6774315664271, + "y": 39.930737615765345, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 SS3 + formData['position'] = [ + { + "x": 119.69003137834203, + "y": 39.92883213930327, + "z": 0 + }, + { + "x": 119.69022808214932, + "y": 39.928825815014804, + "z": 0 + }, + { + "x": 119.69022854448599, + "y": 39.92926119100762, + "z": 0 + }, + { + "x": 119.69003103218569, + "y": 39.929260247098284, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 17 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 水灌下-1 + formData['position'] = [ + { + "x": 119.67735927104773, + "y": 39.92838542180889, + "z": 0 + }, + { + "x": 119.6773462019506, + "y": 39.92874814903245, + "z": 0 + }, + { + "x": 119.67785558044474, + "y": 39.92875229834242, + "z": 0 + }, + { + "x": 119.67784834212094, + "y": 39.92838066687474, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 13 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + formData = {} // 九公司 水灌下-2 + formData['position'] = [ + { + "x": 119.67734807725795, + "y": 39.929632624246395, + "z": 0 + }, + { + "x": 119.67784824791383, + "y": 39.92963934860632, + "z": 0 + }, + { + "x": 119.67783942980066, + "y": 39.93002256535318, + "z": 0 + }, + { + "x": 119.67734151203285, + "y": 39.93001705073229, + "z": 0 + } + ] + formData['color'] = 'rgba(255,240,0,0.4)' + formData['stretchHeight'] = 13 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + return varList } @@ -857,41 +3529,1458 @@ function initMapDataBlue() { const varList = [] let formData = {} // 陆域消防泵房 formData['position'] = [ - { x: 119.64955585804316, y: 39.93566786438067, z: 0 }, - { x: 119.64918364987703, y: 39.93557002093076, z: 0 }, - { x: 119.64914399867446, y: 39.93569197224068, z: 0 }, - { x: 119.64949109477813, y: 39.93578134659289, z: 0 } + { + "x": 119.64912437695774, + "y": 39.935699196834754, + "z": 0 + }, + { + "x": 119.64918348273837, + "y": 39.935571031771325, + "z": 0 + }, + { + "x": 119.64953787002263, + "y": 39.93567247353756, + "z": 0 + }, + { + "x": 119.64948487108012, + "y": 39.93578703471035, + "z": 0 + } ] + formData['color'] = 'rgba(31,15,221,0.44)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 12 // 拉伸高度 formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 varList.push(formData) formData = {} // 空压机房(氮气罐)(两个罐旁边的机房) formData['position'] = [ - { x: 119.65257145446472, y: 39.9349726725365, z: 0 }, - { x: 119.65237012197518, y: 39.934921378954364, z: 0 }, - { x: 119.65231747698053, y: 39.93503527224209, z: 0 }, - { x: 119.65238022431697, y: 39.93505185021309, z: 0 }, - { x: 119.65236129060722, y: 39.935101824589125, z: 0 }, - { x: 119.65249897259623, y: 39.93513917130059, z: 0 } + { + "x": 119.65230400745084, + "y": 39.93504450554263, + "z": 0 + }, + { + "x": 119.65236034107312, + "y": 39.93492165285554, + "z": 0 + }, + { + "x": 119.65257105486086, + "y": 39.93497565146784, + "z": 0 + }, + { + "x": 119.6524937878445, + "y": 39.935152400882004, + "z": 0 + }, + { + "x": 119.6523499865454, + "y": 39.935115495583176, + "z": 0 + }, + { + "x": 119.65237263272775, + "y": 39.935059288906196, + "z": 0 + } ] formData['color'] = 'rgba(31,15,221,0.44)' - formData['stretchHeight'] = 10 // 拉伸高度 + formData['stretchHeight'] = 12 // 拉伸高度 formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 varList.push(formData) formData = {} // 海域消防泵房 formData['position'] = [ - { x: 119.65753159367137, y: 39.92325871546527, z: 0 }, - { x: 119.65744734103978, y: 39.92321218577981, z: 0 }, - { x: 119.65732632001537, y: 39.923344625588065, z: 0 }, - { x: 119.65741201148377, y: 39.92339037245185, z: 0 } + { + "x": 119.65732226169033, + "y": 39.92334770808114, + "z": 0 + }, + { + "x": 119.65740962315503, + "y": 39.92339324252474, + "z": 0 + }, + { + "x": 119.65753389507483, + "y": 39.92325390297927, + "z": 0 + }, + { + "x": 119.65744465838374, + "y": 39.92320166521457, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 18 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司卸车部 + formData['position'] = [ + { + "x": 119.67768638865024, + "y": 39.9455769333287, + "z": 0 + }, + { + "x": 119.6776828236268, + "y": 39.94577641488915, + "z": 0 + }, + { + "x": 119.67779156410361, + "y": 39.94577335457945, + "z": 0 + }, + { + "x": 119.67779546944834, + "y": 39.94573774469018, + "z": 0 + }, + { + "x": 119.677840506671, + "y": 39.94574092420696, + "z": 0 + }, + { + "x": 119.67783769855419, + "y": 39.94572131072665, + "z": 0 + }, + { + "x": 119.67838216907172, + "y": 39.94571917849807, + "z": 0 + }, + { + "x": 119.67838015361839, + "y": 39.94558669482577, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 23 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司集控中心 + formData['position'] = [ + { + "x": 119.67200901599236, + "y": 39.941835619648735, + "z": 0 + }, + { + "x": 119.67201738431609, + "y": 39.942112043183265, + "z": 0 + }, + { + "x": 119.67139305478653, + "y": 39.94211115957044, + "z": 0 + }, + { + "x": 119.67139569615999, + "y": 39.94184560104185, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 82 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 生产服务部 + formData['position'] = [ + { + "x": 119.6776025379286, + "y": 39.925010821427016, + "z": 0 + }, + { + "x": 119.67760461174765, + "y": 39.9248779657223, + "z": 0 + }, + { + "x": 119.67785588350138, + "y": 39.92487896469747, + "z": 0 + }, + { + "x": 119.67786371428964, + "y": 39.925014162686416, + "z": 0 + } ] formData['color'] = 'rgba(31,15,221,0.44)' formData['stretchHeight'] = 20 // 拉伸高度 formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 varList.push(formData) + + formData = {} // 九公司 供水除尘部 + formData['position'] = [ + { + "x": 119.6774877031668, + "y": 39.92890260596362, + "z": 0 + }, + { + "x": 119.67768012414821, + "y": 39.92890792997685, + "z": 0 + }, + { + "x": 119.67767476768596, + "y": 39.92936128906271, + "z": 0 + }, + { + "x": 119.67741906985133, + "y": 39.929364076032954, + "z": 0 + }, + { + "x": 119.67742279265507, + "y": 39.92918149016198, + "z": 0 + }, + { + "x": 119.6774903859772, + "y": 39.92918374319415, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 装船部 + formData['position'] = [ + { + "x": 119.67628324505276, + "y": 39.93100964720754, + "z": 0 + }, + { + "x": 119.67668523352796, + "y": 39.931010508736776, + "z": 0 + }, + { + "x": 119.67668306815224, + "y": 39.931153438341504, + "z": 0 + }, + { + "x": 119.6762818946619, + "y": 39.931156628245674, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + formData = {} // 九公司 装船采样塔 + formData['position'] = [ + { + "x": 119.67796195488943, + "y": 39.92466498409701, + "z": 0 + }, + { + "x": 119.67795859062356, + "y": 39.9247811431044, + "z": 0 + }, + { + "x": 119.67691832082923, + "y": 39.924766481153206, + "z": 0 + }, + { + "x": 119.67692009974613, + "y": 39.92464336666504, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 28 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 卸车采样塔 + formData['position'] = [ + { + "x": 119.68022135850883, + "y": 39.94311380963631, + "z": 0 + }, + { + "x": 119.68022366379022, + "y": 39.94333722046525, + "z": 0 + }, + { + "x": 119.67994707796517, + "y": 39.94333402777019, + "z": 0 + }, + { + "x": 119.67994719211492, + "y": 39.94311470991544, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 MSS1到6塔 皮带-1 + formData['position'] = [ + { + "x": 119.67696892665762, + "y": 39.92463198873667, + "z": 0 + }, + { + "x": 119.67698069165844, + "y": 39.92463206514674, + "z": 0 + }, + { + "x": 119.67701399664483, + "y": 39.91892833354039, + "z": 0 + }, + { + "x": 119.67699224971862, + "y": 39.91892758022259, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 MSS1到6塔 皮带-2 + formData['position'] = [ + { + "x": 119.67701298964371, + "y": 39.92450862608299, + "z": 0 + }, + { + "x": 119.67702695679398, + "y": 39.92450879109374, + "z": 0 + }, + { + "x": 119.6770844024392, + "y": 39.91398709380116, + "z": 0 + }, + { + "x": 119.6770624181077, + "y": 39.913987033627045, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 MSS1到6塔 皮带-3 + formData['position'] = [ + { + "x": 119.67706055361403, + "y": 39.92451760407259, + "z": 0 + }, + { + "x": 119.67708206819633, + "y": 39.924517516040815, + "z": 0 + }, + { + "x": 119.67712794753359, + "y": 39.91463596518829, + "z": 0 + }, + { + "x": 119.67710524751068, + "y": 39.91463644178648, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 MSS1到6塔 皮带-4 + formData['position'] = [ + { + "x": 119.67710722303735, + "y": 39.92451740624494, + "z": 0 + }, + { + "x": 119.67712896218957, + "y": 39.92451715731904, + "z": 0 + }, + { + "x": 119.67716661725284, + "y": 39.91642840529884, + "z": 0 + }, + { + "x": 119.6771425567425, + "y": 39.91642837941623, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T6塔到T1塔-1 蓝色 + formData['position'] = [ + { + "x": 119.67695138095739, + "y": 39.93165368219812, + "z": 0 + }, + { + "x": 119.67698672922442, + "y": 39.93165375230437, + "z": 0 + }, + { + "x": 119.67701291873739, + "y": 39.925343479632325, + "z": 0 + }, + { + "x": 119.6769802749955, + "y": 39.92534369251772, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到T2-1 蓝色 + formData['position'] = [ + { + "x": 119.67697963703917, + "y": 39.92534407753573, + "z": 0 + }, + { + "x": 119.67701409348633, + "y": 39.92534382461038, + "z": 0 + }, + { + "x": 119.67701015964951, + "y": 39.92600278945478, + "z": 0 + }, + { + "x": 119.6769766227447, + "y": 39.926002938792664, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到T2-2 蓝色 + formData['position'] = [ + { + "x": 119.67702237356467, + "y": 39.92600311585235, + "z": 0 + }, + { + "x": 119.67705498858943, + "y": 39.92600322325658, + "z": 0 + }, + { + "x": 119.67705635637947, + "y": 39.925344129105945, + "z": 0 + }, + { + "x": 119.67702058434153, + "y": 39.92534409489051, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到T2-3 蓝色 + formData['position'] = [ + { + "x": 119.67710056129499, + "y": 39.926005947386, + "z": 0 + }, + { + "x": 119.67706897541677, + "y": 39.92600587812804, + "z": 0 + }, + { + "x": 119.67707233344292, + "y": 39.92534420322235, + "z": 0 + }, + { + "x": 119.67710869514649, + "y": 39.925344229559784, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到T2-4 蓝色 + formData['position'] = [ + { + "x": 119.67711520856773, + "y": 39.9260055189497, + "z": 0 + }, + { + "x": 119.67715164433997, + "y": 39.92600609235246, + "z": 0 + }, + { + "x": 119.67715502403182, + "y": 39.92534424790089, + "z": 0 + }, + { + "x": 119.6771202620172, + "y": 39.92534421365138, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到装采-1 蓝色 + formData['position'] = [ + { + "x": 119.67695541266438, + "y": 39.92508930798499, + "z": 0 + }, + { + "x": 119.67699478703808, + "y": 39.925088471687786, + "z": 0 + }, + { + "x": 119.67699252828687, + "y": 39.92476547209261, + "z": 0 + }, + { + "x": 119.67695869004105, + "y": 39.92476529234873, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 16 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到装采-2 蓝色 + formData['position'] = [ + { + "x": 119.67700153593307, + "y": 39.925088487029946, + "z": 0 + }, + { + "x": 119.67704116834433, + "y": 39.925087991563906, + "z": 0 + }, + { + "x": 119.67704277949481, + "y": 39.92476464838463, + "z": 0 + }, + { + "x": 119.67700400940909, + "y": 39.92476352534532, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 16 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T17塔-1 蓝色 + formData['position'] = [ + { + "x": 119.69039908965236, + "y": 39.92551688538451, + "z": 0 + }, + { + "x": 119.69042620335357, + "y": 39.9255173412793, + "z": 0 + }, + { + "x": 119.69035459261411, + "y": 39.94232458789495, + "z": 0 + }, + { + "x": 119.69032121542753, + "y": 39.942324192167995, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T17塔-2 蓝色 + formData['position'] = [ + { + "x": 119.69039803438142, + "y": 39.942330189676326, + "z": 0 + }, + { + "x": 119.69036411591325, + "y": 39.942330206413075, + "z": 0 + }, + { + "x": 119.6904409078518, + "y": 39.92551779785245, + "z": 0 + }, + { + "x": 119.69047394717641, + "y": 39.92551744541017, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T17塔-3 蓝色 + formData['position'] = [ + { + "x": 119.69044184567755, + "y": 39.942330162229794, + "z": 0 + }, + { + "x": 119.69040572791224, + "y": 39.942330412824234, + "z": 0 + }, + { + "x": 119.69047663419832, + "y": 39.926895152878195, + "z": 0 + }, + { + "x": 119.69050505483793, + "y": 39.92689506887889, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T13塔-1 蓝色 + formData['position'] = [ + { + "x": 119.68031360803883, + "y": 39.942436375797335, + "z": 0 + }, + { + "x": 119.68031423055561, + "y": 39.942464309908466, + "z": 0 + }, + { + "x": 119.68757452683727, + "y": 39.942485915807396, + "z": 0 + }, + { + "x": 119.68757335387562, + "y": 39.94245680293458, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 9 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T13塔-2 蓝色 + formData['position'] = [ + { + "x": 119.68031451910984, + "y": 39.94246977150759, + "z": 0 + }, + { + "x": 119.68031353880029, + "y": 39.94249941864594, + "z": 0 + }, + { + "x": 119.68757777678815, + "y": 39.942519019266946, + "z": 0 + }, + { + "x": 119.68757682376653, + "y": 39.94248854685007, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 9 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T13塔到T13塔-3 蓝色 + formData['position'] = [ + { + "x": 119.68031235745806, + "y": 39.94250329279837, + "z": 0 + }, + { + "x": 119.68031392272248, + "y": 39.94253180957037, + "z": 0 + }, + { + "x": 119.68757827888734, + "y": 39.942551539831335, + "z": 0 + }, + { + "x": 119.68758029846084, + "y": 39.94252394549668, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 9 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T14塔到T15塔-1 蓝色 + formData['position'] = [ + { + "x": 119.68003184348507, + "y": 39.94489015091673, + "z": 0 + }, + { + "x": 119.68006928977594, + "y": 39.94489027476248, + "z": 0 + }, + { + "x": 119.68007524398631, + "y": 39.942575975077645, + "z": 0 + }, + { + "x": 119.68004583196556, + "y": 39.94257532010903, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T14塔到T15塔-2 蓝色 + formData['position'] = [ + { + "x": 119.68007749130342, + "y": 39.94489030472904, + "z": 0 + }, + { + "x": 119.68011173447759, + "y": 39.944890421089006, + "z": 0 + }, + { + "x": 119.68011888534724, + "y": 39.94257670477271, + "z": 0 + }, + { + "x": 119.68008905653572, + "y": 39.9425770550517, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T15塔到廊道-1 蓝色 + formData['position'] = [ + { + "x": 119.67927455395422, + "y": 39.94496838809978, + "z": 0 + }, + { + "x": 119.67927561593899, + "y": 39.94499385382179, + "z": 0 + }, + { + "x": 119.67999849962192, + "y": 39.9449973057853, + "z": 0 + }, + { + "x": 119.67999914416775, + "y": 39.94496986701925, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T15塔到廊道-2 蓝色 + formData['position'] = [ + { + "x": 119.67927466722888, + "y": 39.94501827155403, + "z": 0 + }, + { + "x": 119.6792747549209, + "y": 39.94504462112368, + "z": 0 + }, + { + "x": 119.67999736590933, + "y": 39.9450446436603, + "z": 0 + }, + { + "x": 119.67999804656249, + "y": 39.94501538175941, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T15塔到廊道-3 蓝色 + formData['position'] = [ + { + "x": 119.67927249097022, + "y": 39.94517553897767, + "z": 0 + }, + { + "x": 119.67927409938973, + "y": 39.94520186721292, + "z": 0 + }, + { + "x": 119.68004540288476, + "y": 39.945203335131616, + "z": 0 + }, + { + "x": 119.68004540599372, + "y": 39.945176594508254, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 26 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + formData = {} // 九公司 T14塔到T15塔-3 蓝色 + formData['position'] = [ + { + "x": 119.68011838246683, + "y": 39.94489044465761, + "z": 0 + }, + { + "x": 119.6801547842294, + "y": 39.94489045460076, + "z": 0 + }, + { + "x": 119.68016188711002, + "y": 39.94257539491509, + "z": 0 + }, + { + "x": 119.68013440234893, + "y": 39.942576544789226, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 19 // 拉伸高度 + formData['height'] = 15 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + formData = {} // 九公司 T1塔到装采-3 蓝色 + formData['position'] = [ + { + "x": 119.67704895804474, + "y": 39.92508880972678, + "z": 0 + }, + { + "x": 119.67708679579205, + "y": 39.92508829694439, + "z": 0 + }, + { + "x": 119.67708717490125, + "y": 39.924766686390306, + "z": 0 + }, + { + "x": 119.67705252089743, + "y": 39.92476576291472, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 16 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T1塔到装采-4 蓝色 + formData['position'] = [ + { + "x": 119.67712880373693, + "y": 39.925093031457656, + "z": 0 + }, + { + "x": 119.67709548162425, + "y": 39.925093057673315, + "z": 0 + }, + { + "x": 119.67709876623884, + "y": 39.92476600071473, + "z": 0 + }, + { + "x": 119.67713529772506, + "y": 39.92476617788221, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 16 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + formData = {} // 九公司 堆料机-下到上皮带-1 + formData['position'] = [ + { + "x": 119.67809224714398, + "y": 39.92544497918489, + "z": 0 + }, + { + "x": 119.67809136962559, + "y": 39.92542840268896, + "z": 0 + }, + { + "x": 119.69035362036416, + "y": 39.92546410160653, + "z": 0 + }, + { + "x": 119.69035222193212, + "y": 39.92547753684911, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['height'] = 8 // 悬空高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T6塔到T1塔-2 蓝色 + formData['position'] = [ + { + "x": 119.67702352993717, + "y": 39.92615166049853, + "z": 0 + }, + { + "x": 119.6770566612163, + "y": 39.926152831294665, + "z": 0 + }, + { + "x": 119.67703292044153, + "y": 39.93170802441127, + "z": 0 + }, + { + "x": 119.67699789745396, + "y": 39.931707598598585, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T6塔到T1塔-3 蓝色 + formData['position'] = [ + { + "x": 119.67707027223726, + "y": 39.92615294268521, + "z": 0 + }, + { + "x": 119.67710314280808, + "y": 39.92615290627593, + "z": 0 + }, + { + "x": 119.67708050346286, + "y": 39.93165414151152, + "z": 0 + }, + { + "x": 119.67704450996159, + "y": 39.93165422472582, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 T6塔到T1塔-4 蓝色 + formData['position'] = [ + { + "x": 119.67709236124587, + "y": 39.93170795352176, + "z": 0 + }, + { + "x": 119.6771274309361, + "y": 39.93170804265281, + "z": 0 + }, + { + "x": 119.67715386279116, + "y": 39.926152827098285, + "z": 0 + }, + { + "x": 119.67711586609558, + "y": 39.92615284833404, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + + + + formData = {} // 九公司 堆料机-下到上-2 + formData['position'] = [ + { + "x": 119.67797428516886, + "y": 39.92612133383919, + "z": 0 + }, + { + "x": 119.6779742235127, + "y": 39.92610160483246, + "z": 0 + }, + { + "x": 119.68982769621272, + "y": 39.92613329710027, + "z": 0 + }, + { + "x": 119.68982766371523, + "y": 39.92615318441631, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-3 + formData['position'] = [ + { + "x": 119.6780861469888, + "y": 39.926795687015755, + "z": 0 + }, + { + "x": 119.67808703928125, + "y": 39.926780769355396, + "z": 0 + }, + { + "x": 119.69021832158373, + "y": 39.92682561245546, + "z": 0 + }, + { + "x": 119.69021790185036, + "y": 39.926811737020714, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-4 + formData['position'] = [ + { + "x": 119.6779223191644, + "y": 39.927470602650146, + "z": 0 + }, + { + "x": 119.67792231161059, + "y": 39.92745434878731, + "z": 0 + }, + { + "x": 119.68982039022018, + "y": 39.92748423901589, + "z": 0 + }, + { + "x": 119.68982008762192, + "y": 39.92750386745348, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + formData = {} // 九公司 堆料机-下到上-5 + formData['position'] = [ + { + "x": 119.67803728946163, + "y": 39.928145318465035, + "z": 0 + }, + { + "x": 119.67803766286956, + "y": 39.928130125644, + "z": 0 + }, + { + "x": 119.69021698027359, + "y": 39.928162120760476, + "z": 0 + }, + { + "x": 119.69021413444909, + "y": 39.92817692768863, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-5 + formData['position'] = [ + { + "x": 119.67803728946163, + "y": 39.928145318465035, + "z": 0 + }, + { + "x": 119.67803766286956, + "y": 39.928130125644, + "z": 0 + }, + { + "x": 119.69021698027359, + "y": 39.928162120760476, + "z": 0 + }, + { + "x": 119.69021413444909, + "y": 39.92817692768863, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-6 + formData['position'] = [ + { + "x": 119.6779609667715, + "y": 39.928820587025314, + "z": 0 + }, + { + "x": 119.67796165929096, + "y": 39.92880483518059, + "z": 0 + }, + { + "x": 119.68981555925764, + "y": 39.928833577377056, + "z": 0 + }, + { + "x": 119.68981536062154, + "y": 39.928853619666974, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-7 + formData['position'] = [ + { + "x": 119.67804402455074, + "y": 39.929496585600894, + "z": 0 + }, + { + "x": 119.67804412482994, + "y": 39.929482208501895, + "z": 0 + }, + { + "x": 119.69019565585782, + "y": 39.92951223606839, + "z": 0 + + }, + { + "x": 119.69019532172302, + "y": 39.92952754843253, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-8 + formData['position'] = [ + { + "x": 119.6779543493249, + "y": 39.9301735152747, + "z": 0 + }, + { + "x": 119.67795483671614, + "y": 39.93015516173988, + "z": 0 + }, + { + "x": 119.68980981301564, + "y": 39.93018519322841, + "z": 0 + }, + { + "x": 119.68981026566199, + "y": 39.930204802971836, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-9 + formData['position'] = [ + { + "x": 119.67804849432797, + "y": 39.930847912562896, + "z": 0 + }, + { + "x": 119.67804947338722, + "y": 39.93083261639406, + "z": 0 + }, + { + "x": 119.69020924258494, + "y": 39.93086222843734, + "z": 0 + }, + { + "x": 119.69020891213438, + "y": 39.93088009599198, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-10 + formData['position'] = [ + { + "x": 119.6779516100394, + "y": 39.93152307409542, + "z": 0 + }, + { + "x": 119.6779516659536, + "y": 39.93150631345655, + "z": 0 + }, + { + "x": 119.68980415749976, + "y": 39.93153520713391, + "z": 0 + }, + { + "x": 119.68980434792263, + "y": 39.931554901600784, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + + formData = {} // 九公司 堆料机-下到上-11 + formData['position'] = [ + { + "x": 119.67805797826166, + "y": 39.932198746803756, + "z": 0 + }, + { + "x": 119.67805802533685, + "y": 39.932183496792376, + "z": 0 + }, + { + "x": 119.69019546854621, + "y": 39.932214945652376, + "z": 0 + }, + { + "x": 119.69019485106308, + "y": 39.93222969086129, + "z": 0 + } + ] + formData['color'] = 'rgba(31,15,221,0.44)' + formData['stretchHeight'] = 10 // 拉伸高度 + formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 + varList.push(formData) + return varList } @@ -900,19 +4989,9 @@ function initMapDataBlue() { */ function initWallData() { const varList = [] - const formData = {} + let formData = {} formData['position'] = [ - { x: 119.65539210674117, y: 39.935808889181196, z: 0 }, - { x: 119.65416524340036, y: 39.93548949737263, z: 0 }, - { x: 119.65445139602654, y: 39.93474682196149, z: 0 }, - { x: 119.65333428940956, y: 39.934456497717406, z: 0 }, - { x: 119.65249497300076, y: 39.936400535983665, z: 0 }, - { x: 119.65149762427879, y: 39.9361413977954, z: 0 }, - { x: 119.65068986362597, y: 39.93787480768788, z: 0 }, - { x: 119.65025821704242, y: 39.93775494685622, z: 0 }, - { x: 119.6501373037934, y: 39.93803162904284, z: 0 }, - { x: 119.64743306990808, y: 39.93730745178294, z: 0 }, - { x: 119.64695113396809, y: 39.93684869663789, z: 0 }, + { x: 119.64673898627382, y: 39.93695049155527, z: 0 }, { x: 119.6466249946703, y: 39.93709536445492, z: 0 }, { x: 119.64336814529418, y: 39.93435288739157, z: 0 }, @@ -928,13 +5007,49 @@ function initWallData() { { x: 119.64579416578277, y: 39.93505804985874, z: 0 }, { x: 119.64578170215914, y: 39.93517987549591, z: 0 }, { x: 119.64643655929397, y: 39.936126089461865, z: 0 }, + { x: 119.64673898627382, y: 39.93695049155527, z: 0 }, + ] + formData['type'] = 'wall' + formData['color'] = 'rgba(201,118,243,0)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(201,118,243,1)' // 边线颜色 + varList.push(formData) + + formData = {} + formData['position'] = [ + + { x: 119.65539210674117, y: 39.935808889181196, z: 0 }, + { x: 119.65416524340036, y: 39.93548949737263, z: 0 }, + { x: 119.65445139602654, y: 39.93474682196149, z: 0 }, + { x: 119.65333428940956, y: 39.934456497717406, z: 0 }, + { x: 119.65249497300076, y: 39.936400535983665, z: 0 }, + { x: 119.65149762427879, y: 39.9361413977954, z: 0 }, + { x: 119.65068986362597, y: 39.93787480768788, z: 0 }, + { x: 119.65025821704242, y: 39.93775494685622, z: 0 }, + { x: 119.6501373037934, y: 39.93803162904284, z: 0 }, + { x: 119.64743306990808, y: 39.93730745178294, z: 0 }, + { x: 119.64695113396809, y: 39.93684869663789, z: 0 }, { x: 119.6465935645408, y: 39.936078898651104, z: 0 }, { x: 119.64646589478481, y: 39.93582437457903, z: 0 }, { x: 119.64687205658429, y: 39.9349011629655, z: 0 }, { x: 119.64897265938434, y: 39.935425614244956, z: 0 }, - { x: 119.64975437606716, y: 39.93362794061636, z: 0 }, - { x: 119.6521641893001, y: 39.93421224712606, z: 0 }, + { x: 119.64975437606716, y: 39.93362794061636, z: 0 } , // U行口位置坐标 新增 + { + "x": 119.65023138670696, + "y": 39.93244829846609, + "z": 0 + }, + { + "x": 119.65260384832806, + "y": 39.93293569229582, + "z": 0 + }, + { + "x": 119.65266575329045, + "y": 39.932747559740484, + "z": 0 + }, { x: 119.65287952848264, y: 39.93268237953425, z: 0 }, { x: 119.65429519331823, y: 39.92938405147888, z: 0 }, { x: 119.65428307444085, y: 39.929382695140184, z: 0 }, @@ -1102,5 +5217,251 @@ function initWallData() { formData['stretchHeight'] = 20 // 拉伸高度 formData['strokeColor'] = 'rgba(201,118,243,1)' // 边线颜色 varList.push(formData) + + + /** + * 九公司边界 + */ + + formData = {} + formData['position'] = + [ + { + "x": 119.6751067623398, + "y": 39.94583063719891, + "z": 0 + }, + { + "x": 119.67512410668246, + "y": 39.945304548031054, + "z": 0 + }, + { + "x": 119.67574779346035, + "y": 39.94527766302679, + "z": 0 + }, + { + "x": 119.6757526403552, + "y": 39.944790209940294, + "z": 0 + }, + { + "x": 119.6791017710196, + "y": 39.94478262222738, + "z": 0 + }, + { + "x": 119.67911077815896, + "y": 39.94444906876087, + "z": 0 + }, + { + "x": 119.67976859774106, + "y": 39.94445382099361, + "z": 0 + }, + { + "x": 119.67977708140097, + "y": 39.94435631469692, + "z": 0 + }, + { + "x": 119.68002441469861, + "y": 39.94435330922611, + "z": 0 + }, + { + "x": 119.68003905521327, + "y": 39.9433708275193, + "z": 0 + }, + { + "x": 119.67987703936873, + "y": 39.94336586074091, + "z": 0 + }, + { + "x": 119.67990988030778, + "y": 39.942379637417886, + "z": 0 + }, + { + "x": 119.69024348131643, + "y": 39.94241934778651, + "z": 0 + }, + { + "x": 119.69033093828355, + "y": 39.93230768268547, + "z": 0 + }, + { + "x": 119.67687913510929, + "y": 39.932283287625765, + "z": 0 + }, + { + "x": 119.6768688304027, + "y": 39.93212283420026, + "z": 0 + }, + { + "x": 119.67636170683372, + "y": 39.93213626602472, + "z": 0 + }, + { + "x": 119.6763715826716, + "y": 39.93185137369531, + "z": 0 + }, + { + "x": 119.67637469369714, + "y": 39.93126882339741, + "z": 0 + }, + { + "x": 119.67613225849209, + "y": 39.931268081843, + "z": 0 + }, + { + "x": 119.67613206913929, + "y": 39.93115595898834, + "z": 0 + }, + { + "x": 119.67625033529312, + "y": 39.93116842502508, + "z": 0 + }, + { + "x": 119.67626235099496, + "y": 39.93063702422077, + "z": 0 + }, + { + "x": 119.67673858236019, + "y": 39.93063932064452, + "z": 0 + }, + { + "x": 119.67672056560363, + "y": 39.92424314919875, + "z": 0 + }, + { + "x": 119.67683015398065, + "y": 39.924227240896364, + "z": 0 + }, + { + "x": 119.6768831744748, + "y": 39.91360736976071, + "z": 0 + }, + { + "x": 119.6773102464657, + "y": 39.91363477286178, + "z": 0 + }, + { + "x": 119.67722221759334, + "y": 39.923435800511314, + "z": 0 + }, + { + "x": 119.67927201891189, + "y": 39.92505306425623, + "z": 0 + }, + { + "x": 119.69080051151018, + "y": 39.925099029234495, + "z": 0 + }, + { + "x": 119.6907502473526, + "y": 39.93279117791108, + "z": 0 + }, + { + "x": 119.6904987083243, + "y": 39.932794810969874, + "z": 0 + }, + { + "x": 119.6904779497373, + "y": 39.94263048168709, + "z": 0 + }, + { + "x": 119.69022801940878, + "y": 39.94262252822251, + "z": 0 + }, + { + "x": 119.69025000579295, + "y": 39.942577384823934, + "z": 0 + }, + { + "x": 119.68020182700431, + "y": 39.94256839318844, + "z": 0 + }, + { + "x": 119.68019935397261, + "y": 39.94544370028587, + "z": 0 + }, + { + "x": 119.6801889126522, + "y": 39.94547155193541, + "z": 0 + }, + { + "x": 119.67908832634704, + "y": 39.946077032575225, + "z": 0 + }, + { + "x": 119.67898925650994, + "y": 39.9460649388611, + "z": 0 + }, + { + "x": 119.67897989048451, + "y": 39.94608058249719, + "z": 0 + }, + { + "x": 119.6781189299355, + "y": 39.94608981316312, + "z": 0 + }, + { + "x": 119.67813920398176, + "y": 39.94585055402323, + "z": 0 + }, + { + "x": 119.6751067623398, + "y": 39.94583063719891, + "z": 0 + } + ] + + + formData['type'] = 'wall' + formData['color'] = 'rgba(201,118,243,0)' + formData['stretchHeight'] = 20 // 拉伸高度 + formData['strokeColor'] = 'rgba(201,118,243,1)' // 边线颜色 + varList.push(formData) + + return varList } + + diff --git a/src/views/map/js/ry_dragentity.js b/src/views/map/js/ry_dragentity.js index 1451988..4472aad 100644 --- a/src/views/map/js/ry_dragentity.js +++ b/src/views/map/js/ry_dragentity.js @@ -18,7 +18,6 @@ export default class DragEntity { const position = Cesium.Cartesian3.fromDegrees(point.x, point.y, 0) point.property.addSample(start, position) point.lastTime = start - const entityOption = { id: point.id, name: point.name, @@ -44,6 +43,7 @@ export default class DragEntity { this.viewer.clock.clockRange = Cesium.ClockRange.CLAMPED this.viewer.clock.shouldAnimate = false } + getPosition(point) { if (this.viewer.clock.shouldAnimate === false) { this.viewer.clock.shouldAnimate = true