diff --git a/src/views/keyprojects/platformelectronic/index.vue b/src/views/keyprojects/platformelectronic/index.vue index 5754df6..25cef3f 100644 --- a/src/views/keyprojects/platformelectronic/index.vue +++ b/src/views/keyprojects/platformelectronic/index.vue @@ -392,10 +392,11 @@ export default { // 播放 showVideo(row) { + console.info(row) requestFN( '/platformelectronic/getHlsPath', { - INDEXCODE: row.indexCode + INDEXCODE: row.INDEXCODE } ).then((res) => { this.dialogVideoHLS = true diff --git a/src/views/map/js/mapbox.js b/src/views/map/js/mapbox.js index 91bc730..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,12 +260,95 @@ 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'] = [ + // + // { 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) + + // 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) + //**** @@ -1244,19 +1531,7 @@ 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'] = 12 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) + let formData = {} // formData = {} // 空压机房(氮气罐)(大氮气罐) formData['position'] = [ @@ -1316,33 +1591,254 @@ function initMapDataOrange() { // varList[5] = formData varList.push(formData) - formData = {} // 一公司 污水罐 + + + // formData = {} // 107泊位 + // formData['position'] = [ + // // { x: 119.65517805979214, y: 39.92621288762567, z: 0 }, + // // { x: 119.65507719018647, y: 39.926183922767706, z: 0 }, + // // { x: 119.6548819934711, y: 39.92662706005259, z: 0 }, + // // { x: 119.65499095476237, y: 39.92665433512993, z: 0 }, + // // { x: 119.65503424603091, y: 39.92655984862055, z: 0 }, + // // { x: 119.65564183693665, y: 39.926714844551846, z: 0 }, + // // { x: 119.65573847514483, y: 39.926467480300154, z: 0 }, + // // { x: 119.65514588931754, y: 39.92630369585779, z: 0 } + // + // { x: 119.65562098312087, y: 39.92644500642744, z: 0 }, + // { x: 119.65566391507183, y: 39.92645598349969, z: 0 }, + // { x: 119.65556436784215, y: 39.92667801070873, z: 0 }, + // { x: 119.65502383621828, y: 39.92654337459645, z: 0 }, + // { x: 119.65502668489913, y: 39.926536357262236, z: 0 }, + // { x: 119.65497407976893, y: 39.926521352185546, z: 0 }, + // { x: 119.6550360867747, y: 39.926380045536554, z: 0 }, + // { x: 119.65510743562403, y: 39.92640557207438, z: 0 }, + // { x: 119.6551065120762, y: 39.926407482285924, z: 0 }, + // { x: 119.65505985803875, y: 39.926510070838546, z: 0 }, + // { x: 119.65506064557972, y: 39.92651036337653, z: 0 }, + // { x: 119.6552017891962, y: 39.92654838796891, z: 0 }, + // { x: 119.6552139226029, y: 39.9265323349009, z: 0 }, + // { x: 119.65531276679593, y: 39.926558200514, z: 0 }, + // { x: 119.6553092611744, y: 39.92657543813293, z: 0 }, + // { x: 119.65539495918149, y: 39.92657874437064, z: 0 }, + // { x: 119.65554814435707, y: 39.926607908995926, z: 0 }, + // { x: 119.65558961107985, y: 39.9265288268649, z: 0 }, + // { x: 119.65561622726968, y: 39.926529433300516, z: 0 }, + // { x: 119.65562771565571, y: 39.92650219720955, z: 0 }, + // { x: 119.65560469956021, y: 39.926491042122464, 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 = {} // 105泊位 + // formData['position'] = [ + // // { x: 119.6558050099535, y: 39.924764692567884, z: 0 }, + // // { x: 119.65569743964694, y: 39.92473534847083, z: 0 }, + // // { x: 119.65550419779251, y: 39.92518351347276, z: 0 }, + // // { x: 119.65561526227202, y: 39.92521012002327, z: 0 }, + // // { x: 119.65565587872017, y: 39.92511585598893, z: 0 }, + // // { x: 119.65606508369152, y: 39.925223355884604, z: 0 }, + // // { x: 119.65617690290483, y: 39.92496539485541, z: 0 }, + // // { x: 119.65576704788035, y: 39.92486034744006, z: 0 } + // { x: 119.65629379162867, y: 39.92501171976477, z: 0 }, + // { x: 119.65618618839511, y: 39.92524771779731, z: 0 }, + // { x: 119.65589996119964, y: 39.92515929809536, z: 0 }, + // { x: 119.65590563344115, y: 39.9251407831405, z: 0 }, + // { x: 119.65588094970761, y: 39.92513293743731, z: 0 }, + // { x: 119.6558713980767, y: 39.925147433700936, z: 0 }, + // { x: 119.65562201563645, y: 39.925082864018755, z: 0 }, + // { x: 119.65562785278073, y: 39.92507638598182, z: 0 }, + // { x: 119.65560241698338, y: 39.92506838553406, z: 0 }, + // { x: 119.65566004781995, y: 39.92493602227335, z: 0 }, + // { x: 119.6556984203723, y: 39.92494640669111, z: 0 }, + // { x: 119.65569674623947, y: 39.924956160912224, z: 0 }, + // { x: 119.65571167966608, y: 39.92495720926163, z: 0 }, + // { x: 119.65573698814035, y: 39.92496067686082, z: 0 }, + // { x: 119.65569335176556, y: 39.925070449746705, z: 0 }, + // { x: 119.65583373610244, y: 39.925098959776136, z: 0 }, + // { x: 119.65584917597268, y: 39.92508515799764, z: 0 }, + // { x: 119.65596733651103, y: 39.92511357174754, z: 0 }, + // { x: 119.65598023028721, y: 39.92511918253115, z: 0 }, + // { x: 119.65597375280989, y: 39.92513691537031, z: 0 }, + // { x: 119.65615593023288, y: 39.92517040956841, z: 0 }, + // { x: 119.65624427560493, y: 39.92499761008287, 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 = {} // 海域消防泵右边长方形区域,没有名字 + // 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) + + // 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'] = [ + // { x: 119.64576184044768, y: 39.936361143433814, z: 0 }, + // { x: 119.64336615486667, y: 39.9343483174774, z: 0 }, + // { x: 119.64396218794909, y: 39.933909942755285, z: 0 }, + // { x: 119.64628522128251, y: 39.93604519056998, 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.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 - } + { 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'] = 19 // 拉伸高度 + formData['stretchHeight'] = 20 // 拉伸高度 formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData varList.push(formData) @@ -1360,14 +1856,26 @@ function initMapDataOrange() { 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 } + { + "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 // 拉伸高度 @@ -1375,1023 +1883,25 @@ function initMapDataOrange() { 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 = {} // 橙1 formData['position'] = [ { - "x": 119.64935438361401, - "y": 39.937549459614864, + "x": 119.64435523513254, + "y": 39.9344904041492, "z": 0 }, { - "x": 119.6493687318305, - "y": 39.93753879762773, + "x": 119.64450744702668, + "y": 39.93438749204943, "z": 0 }, { - "x": 119.64938711332539, - "y": 39.93752787174191, + "x": 119.64463027859846, + "y": 39.93449000978896, "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(243,151,1,0.44)' - formData['stretchHeight'] = 17 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) - - formData = {} // 橙2 - 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(243,151,1,0.44)' - formData['stretchHeight'] = 17 // 拉伸高度 - formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 - // varList[5] = formData - varList.push(formData) - - formData = {} // 橙3 - formData['position'] = [ - { - "x": 119.65486812710881, - "y": 39.92663491321977, - "z": 0 - }, - { - "x": 119.65506799570842, - "y": 39.926199037172566, - "z": 0 - }, - { - "x": 119.65518923160755, - "y": 39.9262008772202, - "z": 0 - }, - { - "x": 119.65514967948847, - "y": 39.92629966281359, - "z": 0 - }, - { - "x": 119.65555609240012, - "y": 39.926409319299964, - "z": 0 - }, - { - "x": 119.65544239572795, - "y": 39.92667266256266, - "z": 0 - }, - { - "x": 119.655033748686, - "y": 39.926570211974614, - "z": 0 - }, - { - "x": 119.65499884078477, - "y": 39.92664313036262, - "z": 0 - }, - { - "x": 119.65486812710881, - "y": 39.92663491321977, - "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 = {} // 橙4 - formData['position'] = [ - { - "x": 119.65568344860985, - "y": 39.92472605574625, - "z": 0 - }, - { - "x": 119.65581342592145, - "y": 39.924762937569916, - "z": 0 - }, - { - "x": 119.65577505730418, - "y": 39.92485531176588, - "z": 0 - }, - { - "x": 119.65617776363476, - "y": 39.92495706597584, - "z": 0 - }, - { - "x": 119.65606132296351, - "y": 39.92523254083958, - "z": 0 - }, - { - "x": 119.6556623588168, - "y": 39.92512439157027, - "z": 0 - }, - { - "x": 119.65562383041667, - "y": 39.925222302925825, - "z": 0 - }, - { - "x": 119.65549755372065, - "y": 39.925191273912674, - "z": 0 - }, - { - "x": 119.65568344860985, - "y": 39.92472605574625, - "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 - formData['position'] = [ - { - "x": 119.6558814407709, - "y": 39.923931699388774, - "z": 0 - }, - { - "x": 119.65580296462343, - "y": 39.923968726644866, - "z": 0 - }, - { - "x": 119.65576385652653, - "y": 39.923875177939, - "z": 0 - }, - { - "x": 119.65578835210249, - "y": 39.9238559970694, - "z": 0 - }, - { - "x": 119.65564089600622, - "y": 39.923694026684686, - "z": 0 - }, - { - "x": 119.65560386461422, - "y": 39.923713687300406, - "z": 0 - }, - { - "x": 119.65552643474099, - "y": 39.92362894772641, - "z": 0 - }, - { - "x": 119.65556218806314, - "y": 39.923610025702935, - "z": 0 - }, - { - "x": 119.65541942435225, - "y": 39.92344398495412, - "z": 0 - }, - { - "x": 119.65538191359246, - "y": 39.92346260833229, - "z": 0 - }, - { - "x": 119.65463619817848, - "y": 39.92263752008325, - "z": 0 - }, - { - "x": 119.65470597107722, - "y": 39.92258595734648, - "z": 0 - }, - { - "x": 119.65456757681365, - "y": 39.92242989722546, - "z": 0 - }, - { - "x": 119.65448709864768, - "y": 39.922475418419694, - "z": 0 - }, - { - "x": 119.65441371862781, - "y": 39.92238673030556, - "z": 0 - }, - { - "x": 119.65448420682058, - "y": 39.9223281877092, - "z": 0 - }, - { - "x": 119.65434768492368, - "y": 39.92218508593322, - "z": 0 - }, - { - "x": 119.65427181406115, - "y": 39.922208337221136, - "z": 0 - }, - { - "x": 119.65419041468766, - "y": 39.92214285983839, - "z": 0 - }, - { - "x": 119.65423009752386, - "y": 39.92211477408064, - "z": 0 - }, - { - "x": 119.65408772002195, - "y": 39.921955667076325, - "z": 0 - }, - { - "x": 119.65403750388509, - "y": 39.9219802047692, - "z": 0 - }, - { - "x": 119.65396386575539, - "y": 39.921893842288064, - "z": 0 - }, - { - "x": 119.65417943775923, - "y": 39.921780941452454, - "z": 0 - }, - { - "x": 119.65425317472587, - "y": 39.92186930068118, - "z": 0 - }, - { - "x": 119.65417811076378, - "y": 39.92191250224844, - "z": 0 - }, - { - "x": 119.65431675177098, - "y": 39.92207087738354, - "z": 0 - }, - { - "x": 119.65439515372327, - "y": 39.92202895348724, - "z": 0 - }, - { - "x": 119.65447153433011, - "y": 39.92211668866672, - "z": 0 - }, - { - "x": 119.65439660388537, - "y": 39.922159408189856, - "z": 0 - }, - { - "x": 119.65454432094971, - "y": 39.92230708523677, - "z": 0 - }, - { - "x": 119.6546131211211, - "y": 39.92227404040821, - "z": 0 - }, - { - "x": 119.65463252738172, - "y": 39.922292735983596, - "z": 0 - }, - { - "x": 119.65469524754985, - "y": 39.922263679647145, - "z": 0 - }, - { - "x": 119.65540781416273, - "y": 39.92306287851366, - "z": 0 - }, - { - "x": 119.6553507652258, - "y": 39.923092808318934, - "z": 0 - }, - { - "x": 119.65552178945775, - "y": 39.92328195634125, - "z": 0 - }, - { - "x": 119.6555851849613, - "y": 39.92325075352109, - "z": 0 - }, - { - "x": 119.6558646972585, - "y": 39.92356840477474, - "z": 0 - }, - { - "x": 119.65577928680722, - "y": 39.923619063781516, - "z": 0 - }, - { - "x": 119.65592755386707, - "y": 39.92377428640955, - "z": 0 - }, - { - "x": 119.65595671297513, - "y": 39.92376713200884, - "z": 0 - }, - { - "x": 119.6560369587554, - "y": 39.92385008163501, - "z": 0 - }, - { - "x": 119.6558814407709, - "y": 39.923931699388774, - "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 - formData['position'] = [ - { - "x": 119.65807430379844, - "y": 39.92127579848926, - "z": 0 - }, - { - "x": 119.65793633747886, - "y": 39.92125539052279, - "z": 0 - }, - { - "x": 119.65801112797125, - "y": 39.92084457132422, - "z": 0 - }, - { - "x": 119.65814384072878, - "y": 39.92085772392274, - "z": 0 - }, - { - "x": 119.65807430379844, - "y": 39.92127579848926, - "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 - formData['position'] = [ - { - "x": 119.65749619273508, - "y": 39.919397535394125, - "z": 0 - }, - { - "x": 119.65709019034914, - "y": 39.9189467421968, - "z": 0 - }, - { - "x": 119.65680851309561, - "y": 39.91909276373055, - "z": 0 - }, - { - "x": 119.65685901688474, - "y": 39.91915403189225, - "z": 0 - }, - { - "x": 119.65692521521166, - "y": 39.91912145876949, - "z": 0 - }, - { - "x": 119.65700762769362, - "y": 39.91920890672587, - "z": 0 - }, - { - "x": 119.65685956129626, - "y": 39.91928830691358, - "z": 0 - }, - { - "x": 119.6567796282906, - "y": 39.91919704569315, - "z": 0 - }, - { - "x": 119.6568279277743, - "y": 39.91918394749398, - "z": 0 - }, - { - "x": 119.65677363029157, - "y": 39.91911960107354, - "z": 0 - }, - { - "x": 119.65672897588895, - "y": 39.919146459179466, - "z": 0 - }, - { - "x": 119.65665133533768, - "y": 39.91906003926799, - "z": 0 - }, - { - "x": 119.65668270436157, - "y": 39.91904205708363, - "z": 0 - }, - { - "x": 119.65643010465732, - "y": 39.9187618592167, - "z": 0 - }, - { - "x": 119.65638934347292, - "y": 39.91876584543175, - "z": 0 - }, - { - "x": 119.65631596267792, - "y": 39.918680102483115, - "z": 0 - }, - { - "x": 119.6563662675373, - "y": 39.91866461766347, - "z": 0 - }, - { - "x": 119.65630645284614, - "y": 39.91860078633267, - "z": 0 - }, - { - "x": 119.65626310719969, - "y": 39.91862435856208, - "z": 0 - }, - { - "x": 119.6561832775979, - "y": 39.91853144841284, - "z": 0 - }, - { - "x": 119.65633347042419, - "y": 39.91846738538559, - "z": 0 - }, - { - "x": 119.65641210042662, - "y": 39.91854606754715, - "z": 0 - }, - { - "x": 119.65635189410574, - "y": 39.91857936934573, - "z": 0 - }, - { - "x": 119.65639175794317, - "y": 39.91864793317304, - "z": 0 - }, - { - "x": 119.65667085734916, - "y": 39.91849527022489, - "z": 0 - }, - { - "x": 119.65644160760687, - "y": 39.91823928922533, - "z": 0 - }, - { - "x": 119.65645045708372, - "y": 39.918233165829115, - "z": 0 - }, - { - "x": 119.65627237342359, - "y": 39.91803085492926, - "z": 0 - }, - { - "x": 119.65637298370841, - "y": 39.9179805229675, - "z": 0 - }, - { - "x": 119.65760147823377, - "y": 39.91934579259401, - "z": 0 - }, - { - "x": 119.65749619273508, - "y": 39.919397535394125, - "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 = {} // 橙8 - formData['position'] = [ - { - "x": 119.64456484221985, - "y": 39.93409669726861, - "z": 0 - }, - { - "x": 119.64414413532147, - "y": 39.93373879622121, - "z": 0 - }, - { - "x": 119.64434362474738, - "y": 39.93346147700573, - "z": 0 - }, - { - "x": 119.64448510145286, - "y": 39.93336266789382, - "z": 0 - }, - { - "x": 119.64495458139088, - "y": 39.93357959556202, - "z": 0 - }, - { - "x": 119.64501302326546, - "y": 39.93376862412671, - "z": 0 - }, - { - "x": 119.64526020010764, - "y": 39.93379635619205, - "z": 0 - }, - { - "x": 119.64566026667617, - "y": 39.93464887210654, - "z": 0 - }, - { - "x": 119.64555970077575, - "y": 39.934721278573036, - "z": 0 - }, - { - "x": 119.64581761665318, - "y": 39.935003514425446, - "z": 0 - }, - { - "x": 119.64575490334866, - "y": 39.93505009463951, - "z": 0 - }, - { - "x": 119.6457686558001, - "y": 39.935062609853915, - "z": 0 - }, - { - "x": 119.64573089967989, - "y": 39.93512460381984, - "z": 0 - }, - { - "x": 119.64567709411668, - "y": 39.93514600287301, - "z": 0 - }, - { - "x": 119.64563860749765, - "y": 39.935156772882095, - "z": 0 - }, - { - "x": 119.6456010714021, - "y": 39.93516096702711, - "z": 0 - }, - { - "x": 119.64555929638122, - "y": 39.93515646827731, - "z": 0 - }, - { - "x": 119.6454994938679, - "y": 39.935133617563025, - "z": 0 - }, - { - "x": 119.644397368003, - "y": 39.9342117094583, + "x": 119.64448393884038, + "y": 39.93459742295304, "z": 0 } ] @@ -2400,79 +1910,276 @@ function initMapDataOrange() { formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) - formData = {} // 橙9 + // 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) + + + + formData = {} // 橙3 一公司 107泊位 formData['position'] = [ { - "x": 119.6435308032156, - "y": 39.93431474010811, + "x": 119.65503448880321, + "y": 39.92637794043831, "z": 0 }, { - "x": 119.64355076922563, - "y": 39.93427706269426, + "x": 119.65509015283133, + "y": 39.926392480254194, "z": 0 }, { - "x": 119.64379156036073, - "y": 39.93410918183654, + "x": 119.65501422485877, + "y": 39.926568513120394, "z": 0 }, { - "x": 119.64615372325314, - "y": 39.93608327216392, - "z": 0 - }, - { - "x": 119.64615372325314, - "y": 39.93608327216392, - "z": 0 - }, - { - "x": 119.64588475530968, - "y": 39.9362284207951, - "z": 0 - }, - { - "x": 119.64583584272229, - "y": 39.93623769734483, + "x": 119.6549599245005, + "y": 39.92655471533972, "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 = {} // 橙4 一公司 105泊位 + formData['position'] = [ + { + "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.68000032483924, - "y": 39.94493155670702, - "z": 0 - }, - { - "x": 119.67999994199857, - "y": 39.94494042568884, - "z": 0 - }, - { - "x": 119.67676862973521, - "y": 39.94493383303556, - "z": 0 - }, - { - "x": 119.67676844538725, - "y": 39.94492094746875, - "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.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'] = [ @@ -2571,6 +2278,52 @@ function initMapDataYellow() { formData['strokeColor'] = 'rgba(51,35,108,0.63)' // 边线颜色 varList.push(formData) + + + 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(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'] = [ { @@ -2952,6 +2705,369 @@ function initMapDataYellow() { 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'] = [ { @@ -2983,28 +3099,23 @@ function initMapDataYellow() { formData = {} // 一公司 黄1 formData['position'] = [ { - "x": 119.64536625893162, - "y": 39.93532231274261, + "x": 119.64545662292429, + "y": 39.93539902676807, "z": 0 }, { - "x": 119.64545591154237, - "y": 39.935397992151934, + "x": 119.64536555403889, + "y": 39.93532285610675, "z": 0 }, { - "x": 119.64557923954598, - "y": 39.935313462551555, + "x": 119.64550696507655, + "y": 39.935225619057896, "z": 0 }, { - "x": 119.6455032237429, - "y": 39.93522605931083, - "z": 0 - }, - { - "x": 119.64536625893162, - "y": 39.93532231274261, + "x": 119.6455907964595, + "y": 39.935306980732385, "z": 0 } ] @@ -3418,39 +3529,96 @@ 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'] = 20 // 拉伸高度 + formData['stretchHeight'] = 18 // 拉伸高度 formData['strokeColor'] = 'rgba(150,221,15,0.5)' // 边线颜色 varList.push(formData)