智慧园区前端大屏
shuishen
2024-12-25 65d4f562eb0eb48f99f0856cf68a14d8bbb46b2e
园区范围、雨水管网加载
3 files modified
55 ■■■■ changed files
src/assets/json/yqfw.json 6 ●●●● patch | view | raw | blame | history
src/assets/json/ysgw.json 15 ●●●●● patch | view | raw | blame | history
src/pages/map/components/scomponents/layersControl.vue 34 ●●●● patch | view | raw | blame | history
src/assets/json/yqfw.json
@@ -1 +1,5 @@
{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"features":[{"type":"Feature","id":1,"geometry":{"type":"Polygon","coordinates":[[[115.10365802600006,27.296649056000035],[115.10365776500009,27.296628367000039],[115.10365375100002,27.296222454000031],[115.10365354100009,27.296222456000066],[115.10364614000002,27.295473948000051],[115.1036379950001,27.294650274000048],[115.10363789500002,27.294513106000068],[115.10363775600001,27.294324430000074],[115.10363704300005,27.293351550000068],[115.10361784800011,27.29271994800007],[115.10361731400008,27.292142719000026],[115.10361631100011,27.291057846000058],[115.10361616200009,27.290897334000078],[115.10361577700007,27.290480939000076],[115.10376747700002,27.290480827000067],[115.10376747600003,27.29048064400007],[115.10376579600006,27.289678525000056],[115.10376534700004,27.289463893000061],[115.10377063700003,27.289247296000042],[115.10395248200007,27.289247162000038],[115.10395183100002,27.28918129300007],[115.10395066000001,27.289062907000073],[115.10394709800005,27.288702691000026],[115.10394504400006,27.288494962000073],[115.10392778500011,27.286749543000042],[115.10136996200004,27.286753644000044],[115.1013386190001,27.283577536000053],[115.09974306000004,27.283578677000037],[115.09917053800007,27.283579083000063],[115.09873620700012,27.283578514000055],[115.09873415300001,27.281245152000054],[115.0987308230001,27.281245742000067],[115.09873064500005,27.281043303000047],[115.09923738300006,27.281054163000078],[115.09973737100006,27.281053804000067],[115.10080638600004,27.281053031000056],[115.10080431100005,27.278743446000078],[115.10080406200007,27.278465703000052],[115.10080405100007,27.278453697000032],[115.10143086800008,27.278325042000063],[115.10196907000011,27.278214572000024],[115.1023608910001,27.27813414700006],[115.10237797500008,27.278130640000029],[115.10273747500003,27.278056847000073],[115.10275803600007,27.278052626000033],[115.10281853900005,27.27804020800005],[115.10293215100012,27.278016886000046],[115.10309802200004,27.27798283900006],[115.10313972200004,27.277974280000024],[115.10490518300003,27.277611873000069],[115.1051660280001,27.277558326000076],[115.10593080000001,27.277401328000053],[115.10604533700007,27.277377815000023],[115.10617924700011,27.27782318900006],[115.10618069000009,27.279347573000052],[115.10618208900007,27.280825655000058],[115.10618049300001,27.280856052000047],[115.10617980600011,27.280869136000035],[115.10615978900012,27.281250381000063],[115.10585756700004,27.282686498000032],[115.10582536100003,27.282853404000036],[115.10579882400009,27.283021106000035],[115.1057779790001,27.28318944800003],[115.10576284700005,27.283358276000058],[115.10575235600004,27.283884993000072],[115.10576143800006,27.284063648000028],[115.10577690500008,27.284241953000048],[115.10579874300004,27.284419725000078],[115.10582692800006,27.28459678300004],[115.10612941200009,27.286301095000056],[115.10613196100007,27.28632854500006],[115.10618787100009,27.286930579000057],[115.10618985000008,27.289019869000072],[115.10618989200009,27.289064993000068],[115.1061904390001,27.289642575000073],[115.10619071700012,27.289935975000049],[115.1061892140001,27.28993594700006],[115.1061901060001,27.290862898000057],[115.10619180000003,27.292621870000062],[115.10619258200006,27.293434095000066],[115.10619271000007,27.293566878000036],[115.10619452700007,27.295452454000042],[115.10619596000004,27.296939162000058],[115.10619891500005,27.297182842000041],[115.10594368900001,27.297183038000071],[115.10574789200007,27.297183189000066],[115.10557853600005,27.297180065000077],[115.1054094860001,27.297170440000059],[115.10524105600007,27.297154333000037],[115.10507355600009,27.297131772000057],[115.10490729700007,27.297102799000072],[115.10474258600004,27.297067468000023],[115.1045797270001,27.297025844000075],[115.10441902200012,27.296978004000039],[115.10426076700003,27.296924037000053],[115.10410525500004,27.296864043000028],[115.10395277400005,27.29679813100006],[115.10380360600004,27.296726425000031],[115.10365802600006,27.296649056000035]]]},"properties":{"OBJECTID":1,"MJ":823262.44172500004,"Shape_Length":0.053665720487927053,"Shape_Area":7.5044476659468943e-05}},{"type":"Feature","id":2,"geometry":{"type":"Polygon","coordinates":[[[115.09207716700007,27.271114555000054],[115.09209235100002,27.271098952000045],[115.09226971800001,27.270916684000042],[115.09467658500012,27.268443241000057],[115.09471025700009,27.268408636000061],[115.09479860200008,27.268318800000031],[115.09488731500005,27.268385544000068],[115.09627829600004,27.269719727000052],[115.09709618400007,27.270700950000048],[115.09834078100005,27.272148170000037],[115.10005018800007,27.271067370000026],[115.09986505500001,27.270830386000057],[115.09965144100011,27.27055671200003],[115.09956224500002,27.270442923000076],[115.10002292400009,27.270155335000027],[115.10025718300005,27.270012224000027],[115.10033286200007,27.269964324000057],[115.10038478100012,27.269932703000052],[115.10050989500007,27.269855617000076],[115.1006315410001,27.269777616000056],[115.10112449500002,27.269464868000057],[115.10116649400004,27.269514699000069],[115.10124141600011,27.269606010000075],[115.10125545000005,27.269623932000059],[115.10127760300009,27.269650547000026],[115.10171212700004,27.270199163000029],[115.10174238100001,27.270237396000027],[115.10178008700007,27.270286508000027],[115.10201330100006,27.270585269000037],[115.10206968500006,27.270658372000071],[115.10220937700001,27.270839141000067],[115.10224083600008,27.27087894400006],[115.10261014300011,27.271359640000071],[115.10261210600004,27.271363140000062],[115.10261257100001,27.271362800000077],[115.10277357400003,27.271594575000051],[115.1030422980001,27.272025620000079],[115.10304326000005,27.27202875100005],[115.10309932900009,27.272119795000037],[115.10315892400001,27.272215620000054],[115.10319632900007,27.272275759000024],[115.10355051800002,27.272840683000027],[115.1035729140001,27.272877089000076],[115.10359975000006,27.272920875000068],[115.10380431600004,27.273245475000067],[115.10383201100001,27.273289684000076],[115.1040971650001,27.273717669000064],[115.10409947100004,27.273721205000072],[115.10419686800003,27.273871690000078],[115.10422057400001,27.273908317000064],[115.10399387700011,27.27402031400004],[115.10399207000012,27.274021305000076],[115.10398816200006,27.274020392000068],[115.10318520700002,27.274460600000054],[115.10278725400008,27.274678769000047],[115.10258156600003,27.274791533000041],[115.10218512800009,27.275008868000043],[115.10134354100001,27.275470238000025],[115.10102001600001,27.27562037000007],[115.10099954900011,27.275591515000031],[115.10094369500007,27.275623492000079],[115.10093423000001,27.275628911000069],[115.10037571600003,27.275989344000038],[115.09996523100006,27.276254245000075],[115.09856978200003,27.27715476000003],[115.0985690440001,27.277155242000049],[115.09842911900012,27.27724640100007],[115.09835932800002,27.277138475000072],[115.09832419600002,27.277089667000041],[115.09828386700008,27.277033639000024],[115.09820290500011,27.276932133000059],[115.09811662600009,27.276834186000031],[115.09802522700011,27.27674002200007],[115.09799193000003,27.276708850000034],[115.09792891300003,27.276649853000038],[115.09783819800009,27.276568877000045],[115.09741155900008,27.276188038000043],[115.09681631100011,27.275656685000058],[115.0964062590001,27.275290644000052],[115.09456880300002,27.273650356000076],[115.09413908100009,27.27326673500005],[115.09342089800009,27.272625589000029],[115.09322397000005,27.272449782000024],[115.09255174400005,27.271849651000025],[115.09252413600007,27.271824237000033],[115.09246847500003,27.271769753000058],[115.09207716700007,27.271114555000054]]]},"properties":{"OBJECTID":2,"MJ":571119.26753499999,"Shape_Length":0.034800068450911062,"Shape_Area":5.2054563738287781e-05}}]}
{"type":"GeometryCollection", "geometries": [
{"type":"Polygon","coordinates":[[[116.2687397,28.0288794],[116.27753735,28.03414485],[116.27878189,28.03266752],[116.28290176,28.03543276],[116.27878189,28.0405085],[116.27440453,28.0378949],[116.2732029,28.03959943],[116.2648344,28.03448577],[116.2687397,28.0288794]]]},
{"type":"Polygon","coordinates":[[[116.27878189,28.0405085],[116.2814641,28.04247813],[116.28152847,28.04298946],[116.2814641,28.04359549],[116.28135681,28.04410683],[116.28058434,28.04507267],[116.27985477,28.04588701],[116.27841711,28.04675815],[116.27680779,28.0468339],[116.27045631,28.04338717],[116.26607895,28.04107667],[116.26629353,28.04024336],[116.26607895,28.03959943],[116.26569271,28.0386146],[116.26526356,28.03774339],[116.26479149,28.0366449],[116.26461983,28.03558428],[116.26466274,28.03459941],[116.2687397,28.0288794],[116.27135754,28.0256594],[116.27307415,28.0249775],[116.27985477,28.02118912],[116.27766609,28.01910545],[116.2810564,28.01633979],[116.28238678,28.0149001],[116.28371716,28.01361194],[116.28461838,28.01262687],[116.28513336,28.01205855],[116.28637791,28.01111136],[116.28745079,28.0106567],[116.28927469,28.00959582],[116.29041195,28.00946321],[116.29221439,28.00955793],[116.29384518,28.00980421],[116.29457474,28.00982315],[116.29564762,28.00942532],[116.2957871,28.00999365],[116.29610896,28.01019257],[116.29519701,28.01131974],[116.29458547,28.0121438],[116.29343748,28.01360247],[116.29297614,28.01422761],[116.29808307,28.01762791],[116.29663467,28.01965478],[116.29622698,28.02022306],[116.29401684,28.0226666],[116.29127026,28.02690953],[116.28875971,28.03204249],[116.28792286,28.03403121],[116.28732204,28.03484563],[116.28461838,28.03336831],[116.27878189,28.0405085]]]},
{"type":"Polygon","coordinates":[[[116.28212929,27.9971108],[116.28203273,27.99441088],[116.29190326,27.99423089],[116.29186034,27.99520665],[116.29187107,27.99571822],[116.29095912,27.99572769],[116.29071236,27.9955477],[116.29049778,27.9955477],[116.28852367,27.99580348],[116.28852367,27.99710132],[116.28212929,27.9971108]]]}
]}
src/assets/json/ysgw.json
@@ -1 +1,14 @@
{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"EPSG:4326"}},"features":[{"type":"Feature","id":0,"geometry":{"type":"LineString","coordinates":[[115.09243637984869,27.261791789070823,0,null],[115.09499571792243,27.263363427123785,0,null],[115.09570935677479,27.263845484428213,0,null],[115.09761113635751,27.265366310914384,0,null],[115.09940300738074,27.267303969176144,0,null],[115.10045110564738,27.268476650270998,0,null],[115.1026948811196,27.271367438337737,0,null],[115.10411408760903,27.273622718310222,0,null],[115.10537557990429,27.275619085173116,0,null],[115.10558446659191,27.275502036152918,0,null],[115.1058783088919,27.276034710427218,0,null],[115.10637835652221,27.277239211948693,0,null],[115.10642804952224,27.277397794718148,0,null],[115.1065290900152,27.277377703411563,0,null],[115.1065055040102,27.277265772635449,0,null],[115.10665673068284,27.277202397728637,0,null]]},"properties":{"FID":0,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":1,"geometry":{"type":"LineString","coordinates":[[115.10642804952224,27.277397794718148,0,null],[115.10647862323964,27.277716025511555,0,null],[115.10651048015023,27.277947710268091,0,null],[115.10651838792649,27.278722763224607,0,null],[115.10650321198327,27.281218472156457,0,null],[115.10615396703896,27.28297939545574,0,null],[115.10610195871978,27.283406915097565,0,null],[115.10612076638061,27.284458904057015,0,null],[115.1063038307361,27.285314888195813,0,null],[115.10653189408207,27.286532381548252,0,null],[115.10652094859253,27.286870857325436,0,null]]},"properties":{"FID":1,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":2,"geometry":{"type":"LineString","coordinates":[[115.10546565000016,27.299238090000131,0,null],[115.10628818173973,27.297861741833174,0,null],[115.10627718524768,27.293509670179503,0,null],[115.10627668978282,27.287192827221475,0,null]]},"properties":{"FID":2,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":3,"geometry":{"type":"LineString","coordinates":[[115.10648313676332,27.281310935577839,0,null],[115.10624561662897,27.281283735026495,0,null],[115.10577795049412,27.281101549125832,0,null],[115.10241092769017,27.281118358472732,0,null]]},"properties":{"FID":3,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":4,"geometry":{"type":"LineString","coordinates":[[115.10241092769013,27.281118358472838,0,null],[115.09916942327538,27.281094673472921,0,null]]},"properties":{"FID":4,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":5,"geometry":{"type":"LineString","coordinates":[[115.10241093659624,27.283629994560215,0,null],[115.10583103993974,27.283628762455862,0,null]]},"properties":{"FID":5,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":6,"geometry":{"type":"LineString","coordinates":[[115.10698913856841,27.289437772179216,0,null],[115.1076287416612,27.289410021444631,0,null],[115.1081524968064,27.28940794851221,0,null]]},"properties":{"FID":6,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":7,"geometry":{"type":"LineString","coordinates":[[115.10487792564663,27.289409663986817,0,null],[115.10698913856845,27.289437772179213,0,null]]},"properties":{"FID":7,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":8,"geometry":{"type":"LineString","coordinates":[[115.10622381596374,27.286499842229262,0,null],[115.10963509668545,27.28650145921597,0,null]]},"properties":{"FID":8,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":9,"geometry":{"type":"LineString","coordinates":[[115.10240291829507,27.286509752556412,0,null],[115.10622381596374,27.286499842229262,0,null]]},"properties":{"FID":9,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":10,"geometry":{"type":"LineString","coordinates":[[115.10240291829507,27.286509752556412,0,null],[115.10240648354045,27.278599829175221,0,null],[115.10253374400122,27.278531912698497,0,null],[115.1026423651997,27.278265286224894,0,null],[115.1032674565821,27.278044056354929,0,null],[115.10527956310148,27.277615135968574,0,null],[115.1056715645401,27.277529739321324,0,null]]},"properties":{"FID":10,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":11,"geometry":{"type":"LineString","coordinates":[[115.10624561662905,27.281283735026534,0,null],[115.10623511212668,27.277855772535077,0,null],[115.10622309987093,27.277527993398621,0,null],[115.10642804952238,27.277397794718183,0,null]]},"properties":{"FID":11,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":12,"geometry":{"type":"LineString","coordinates":[[115.09523262923857,27.268037439307236,0,null],[115.09776015225464,27.265527454339669,0,null]]},"properties":{"FID":12,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":13,"geometry":{"type":"LineString","coordinates":[[115.09776279264013,27.265524832194025,0,null],[115.10243085422877,27.262061305256299,0,null],[115.10264942055926,27.262046952122123,0,null],[115.10284538502599,27.262090625465763,0,null]]},"properties":{"FID":13,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":14,"geometry":{"type":"LineString","coordinates":[[115.09271921135098,27.261694173606088,0,null],[115.09534871408835,27.263323696072177,0,null],[115.09591353905216,27.26369821395167,0,null],[115.0969089562924,27.26448064825405,0,null],[115.09786744015923,27.265244699990433,0,null],[115.09825583225393,27.265702195115068,0,null]]},"properties":{"FID":14,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":15,"geometry":{"type":"LineString","coordinates":[[115.09825583225394,27.265702195114958,0,null],[115.10064507827795,27.268376423037292,0,null],[115.10113355449711,27.268958907454358,0,null],[115.10246705352151,27.270667502017204,0,null],[115.10289343967426,27.271243040516278,0,null],[115.10344924610617,27.27207461328063,0,null],[115.10408450536688,27.273117961155105,0,null],[115.10460577849386,27.273965595462666,0,null],[115.10543235323919,27.275318333270228,0,null],[115.10556383832012,27.275513595166753,0,null]]},"properties":{"FID":15,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":16,"geometry":{"type":"LineString","coordinates":[[115.10140587932528,27.275311014865622,0,null],[115.10421985506252,27.273790099942346,0,null]]},"properties":{"FID":16,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":17,"geometry":{"type":"LineString","coordinates":[[115.10469959429304,27.2735659107164,0,null],[115.10914404785183,27.271638355668586,0,null]]},"properties":{"FID":17,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":18,"geometry":{"type":"LineString","coordinates":[[115.10531674763286,27.266179837071263,0,null],[115.10621954178714,27.267530204748709,0,null],[115.10679392377324,27.268452840123189,0,null],[115.10714169805658,27.269046661486811,0,null],[115.10735794397567,27.269466641845952,0,null],[115.10801547370909,27.270947852400695,0,null],[115.10850256107153,27.271940046246698,0,null]]},"properties":{"FID":18,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":19,"geometry":{"type":"LineString","coordinates":[[115.0978944038784,27.261470607695156,0,null],[115.10014372385226,27.263758315960299,0,null],[115.10254817633368,27.267154035393649,0,null]]},"properties":{"FID":19,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":20,"geometry":{"type":"LineString","coordinates":[[115.1025481763337,27.267154035393673,0,null],[115.10467220255919,27.270128473237605,0,null]]},"properties":{"FID":20,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":21,"geometry":{"type":"LineString","coordinates":[[115.1029246167875,27.271289686320983,0,null],[115.10424062661855,27.270394571123347,0,null],[115.10460011752389,27.27017106540967,0,null],[115.10496959121508,27.269991465054147,0,null],[115.10546650705714,27.269792131829547,0,null],[115.10721427650878,27.269197880931813,0,null]]},"properties":{"FID":21,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":22,"geometry":{"type":"LineString","coordinates":[[115.09781029547071,27.270609018645931,0,null],[115.10045697158117,27.268470569097829,0,null]]},"properties":{"FID":22,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":23,"geometry":{"type":"LineString","coordinates":[[115.10061467357222,27.268340916282174,0,null],[115.10239056995812,27.267218668344821,0,null],[115.10280482430461,27.267047051161509,0,null],[115.10551715323406,27.266074357116334,0,null]]},"properties":{"FID":23,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":24,"geometry":{"type":"LineString","coordinates":[[115.0999869670004,27.273452605258058,0,null],[115.10272914528093,27.271421887973588,0,null]]},"properties":{"FID":24,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":25,"geometry":{"type":"LineString","coordinates":[[115.10650915290306,27.279303132704225,0,null],[115.11203292060731,27.279297649576989,0,null]]},"properties":{"FID":25,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":26,"geometry":{"type":"LineString","coordinates":[[115.10651995468798,27.27919574154355,0,null],[115.11202862222467,27.279190022933182,0,null]]},"properties":{"FID":26,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":27,"geometry":{"type":"LineString","coordinates":[[115.11174154163714,27.280447942968724,0,null],[115.1119059010595,27.280124776300458,0,null],[115.11203128698791,27.279621630384085,0,null],[115.11200488376161,27.279071406951513,0,null]]},"properties":{"FID":27,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":28,"geometry":{"type":"LineString","coordinates":[[115.10650342726672,27.281183068454425,0,null],[115.11075255749063,27.281178992609512,0,null]]},"properties":{"FID":28,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":29,"geometry":{"type":"LineString","coordinates":[[115.10284538502599,27.262090625465763,0,null],[115.10310383576251,27.262076300071406,0,null],[115.10343868013506,27.262033422121046,0,null]]},"properties":{"FID":29,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":30,"geometry":{"type":"LineString","coordinates":[[115.1027642743892,27.262492129949152,0,null],[115.10309915279993,27.262928081101432,0,null],[115.10343416338755,27.263437529533416,0,null],[115.1038839665526,27.264080784487202,0,null],[115.10451276073223,27.264999874436729,0,null],[115.1053167476329,27.266179837071263,0,null]]},"properties":{"FID":30,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":31,"geometry":{"type":"LineString","coordinates":[[115.1056715645401,27.277529739321324,0,null],[115.10642804952238,27.277397794718183,0,null]]},"properties":{"FID":31,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":"拟建","标高":0}},{"type":"Feature","id":32,"geometry":{"type":"LineString","coordinates":[[115.10652094859267,27.286870857325425,0,null],[115.10650405863316,27.28739315678331,0,null],[115.10656003498434,27.288677418499674,0,null],[115.10652724126624,27.289302264840558,0,null],[115.1065345639488,27.290912526591853,0,null],[115.10651408035028,27.293172692447058,0,null],[115.1065438065018,27.29353956534942,0,null],[115.10646594233458,27.29361896671827,0,null]]},"properties":{"FID":32,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":33,"geometry":{"type":"LineString","coordinates":[[115.10627668978275,27.28719282722146,0,null],[115.10626489106632,27.286916416223399,0,null],[115.10620688311923,27.286328112229455,0,null],[115.10616018457972,27.285866162473432,0,null],[115.10601638668332,27.28517749893037,0,null],[115.10588761446336,27.284469019416214,0,null],[115.10581116481137,27.283883938651847,0,null],[115.10588184198947,27.283123084939323,0,null],[115.10609132598508,27.282029942510984,0,null],[115.10624561662897,27.281283735026495,0,null]]},"properties":{"FID":33,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":" ","标高":0}},{"type":"Feature","id":34,"geometry":{"type":"LineString","coordinates":[[115.10421985506252,27.273790099942346,0,null],[115.10469959429304,27.2735659107164,0,null]]},"properties":{"FID":34,"FID_":0,"Entity":"LWPolyline","Layer":"现状雨水管","Color":92,"Linetype":"Continuous","Elevation":0,"LineWt":25,"RefName":"拟建","标高":0}}]}
{"type":"GeometryCollection", "geometries": [
{"type":"LineString","coordinates":[[116.26925468,28.02761983],[116.26981258,28.027885],[116.27023101,28.02792288],[116.27086401,28.02794182],[116.27133608,28.02792288],[116.27191544,28.02783765],[116.27282739,28.02780924],[116.27339602,28.027724],[116.27520919,28.02785659],[116.27581,28.0279513],[116.27618551,28.02816912],[116.27720475,28.02879417],[116.27790213,28.02921087],[116.27866387,28.02831118],[116.27899647,28.02805547],[116.27941489,28.02789447],[116.28003716,28.02790394],[116.28031611,28.02798918],[116.28071308,28.02833012],[116.28119588,28.02860476],[116.28173769,28.02866395],[116.28212124,28.02869947],[116.28212123999998,28.028699470000014],[116.28269254999998,28.027941820000006],[116.28269255,28.02794182],[116.28325045,28.02726231],[116.2839666,28.02628683],[116.28468275,28.0254179],[116.28527284,28.02461998],[116.28584146,28.02389072],[116.28658175,28.0228868],[116.28706992,28.0222333],[116.2877351,28.02139275],[116.28824204,28.02073213],[116.28884017,28.02001706],[116.28956437,28.01898469],[116.290479,28.01785996],[116.29105836,28.01719459],[116.29133463,28.01703831],[116.29172757,28.01684651],[116.29197299,28.01687019],[116.29217952,28.01711645],[116.29243433,28.01749531],[116.29261941,28.01769895],[116.29289567,28.01789548],[116.29377812,28.01841404],[116.29428238,28.01872422],[116.29522651,28.01929014],[116.29600704,28.0197566],[116.29659712,28.02015676],[116.2972784,28.02047404],[116.29837275,28.02112282],[116.29974067,28.02177633],[116.30113542,28.02254348],[116.30232096,28.02318277],[116.30287886,28.02344322],[116.30344212,28.02331537],[116.30514801,28.02286076],[116.30604923,28.02262872],[116.30646229,28.02271869],[116.30689681,28.02283708],[116.30745471,28.02282761],[116.30779266,28.02295547],[116.30800724,28.02334851],[116.30804479,28.02368],[116.30821645,28.023841],[116.30868316,28.02375103],[116.30948246,28.02389783],[116.31024957,28.02380785],[116.31075919,28.02412986],[116.31085575,28.02436664],[116.31069481,28.02472653],[116.3106519,28.02520007],[116.31082356,28.02545578],[116.31147802,28.02536107],[116.31186426,28.02544631],[116.31222904,28.02577305],[116.31250799,28.02578725],[116.3127923,28.02534213],[116.3129425,28.02485438],[116.31317317,28.02459394],[116.31349504,28.02464603],[116.31376326,28.02498698],[116.31428361,28.02515745],[116.31472886,28.02525689],[116.31525457,28.02548419],[116.3158983,28.02575411],[116.31596804,28.02611399],[116.31627917,28.02683377],[116.31638646,28.02724574],[116.31688535,28.02814544],[116.31732523,28.02861897],[116.31741107,28.0288652],[116.31728768,28.02925349],[116.31694973,28.02978856],[116.31679416,28.03012476],[116.31681561,28.03073086],[116.31696582,28.03113809],[116.31711066,28.03147428],[116.316939,28.03213246],[116.31663859,28.0324355],[116.31654739,28.0326107],[116.31659031,28.03302265],[116.31628454,28.03329728],[116.31610751,28.03354351],[116.31627381,28.03399333],[116.31612897,28.03446683],[116.3158983,28.03530492],[116.31568372,28.03575],[116.31546915,28.03619509],[116.31500244,28.03695267],[116.31456256,28.03784756],[116.31418705,28.03855304],[116.31422997,28.03891289],[116.31433189,28.03949053],[116.31490588,28.04018654],[116.31529748,28.0406032],[116.31544232,28.04058426],[116.31557107,28.04078785],[116.31543159,28.0409725],[116.31561935,28.04121397],[116.31565154,28.04134654],[116.31555498,28.04165903],[116.3154906,28.04182001],[116.31560862,28.04217984],[116.3156569,28.04252547],[116.31556571,28.0428853],[116.31551743,28.04342505],[116.31545842,28.04397899],[116.31538332,28.04464183],[116.31530285,28.04515316],[116.31527066,28.0454325],[116.31537259,28.04589174],[116.31521702,28.04607639],[116.315099,28.04640306],[116.31508827,28.04681496],[116.31512046,28.04713217],[116.31534576,28.04744937],[116.31547987,28.04786127],[116.31569445,28.04813113],[116.31595731,28.0485951],[116.31620407,28.04900698],[116.31624698999997,28.049234230000003],[116.3162516456378,28.049250634562867],[116.31625726770648,28.049266801603203],[116.31626384079624,28.049282686808382],[116.3162713468908,28.049298246638326],[116.31627976541631,28.04931343844474],[116.31628907329838,28.049328220588116],[116.3162992450246,28.04934255255181],[116.31631025271508,28.049356395053067],[116.31632206619838,28.04936971015078],[116.31633465309471,28.049382461349392],[116.3163479789041,28.049394613698936],[116.31635427000003,28.04939993],[116.31636449940146,28.049410201635016],[116.31637532390567,28.0494199867094],[116.31638671384343,28.049429258403116],[116.31639863799569,28.049437991303208],[116.3164110636792,28.049446161473536],[116.31642395683599,28.04945374652036],[116.31643728212686,28.049460725653738],[116.31645100302808,28.04946707974446],[116.31646508193165,28.04947279137651],[116.31647948024823,28.049477844894806],[116.31649415851308,28.049482226448117],[116.31650907649407,28.04948592402698],[116.31652419330209,28.049488927496643],[116.31653946750293,28.049491228624888],[116.31655485723115,28.049492821104526],[116.31657032030455,28.049493700570714],[116.31658581433987,28.049493864612902],[116.31660129686912,28.049493312781465],[116.31661672545573,28.04949204658891],[116.31663205781098,28.049490069505786],[116.31663321999997,28.049489889999954],[116.31663321999997,28.04948989],[116.31668978369981,28.04947474294871],[116.31674537163991,28.049457004051195],[116.3167998314575,28.04943672192721],[116.31685301388211,28.049413952167264],[116.3169047731443,28.04938875718011],[116.31692827,28.04937626000001],[116.31692827,28.04937626],[116.31827474,28.04836311],[116.3196373,28.04776184]]},
{"type":"LineString","coordinates":[[116.2890172,27.99578453],[116.28927469,27.9962582],[116.28933907,27.99716764],[116.28993988,27.99773603],[116.29017591,27.9984181],[116.29043341,27.9984181],[116.29062653,27.99877808],[116.29032612,27.99927068],[116.2902619,27.99956741],[116.29051367,27.99978499],[116.29064758,28.0000643],[116.29101186,28.00012538],[116.29116186,28.00022465],[116.29141899,28.00023377],[116.2915047,28.00032839],[116.29147254,28.00054636],[116.29166539,28.00063136],[116.29195467,28.00056462],[116.29217428,28.00084381],[116.29252783,28.00095226],[116.29299922,28.0011316],[116.29356165,28.00158082],[116.29358305,28.00189819],[116.29383479,28.00214416],[116.29407583,28.00232855],[116.29453111,28.00273528],[116.29466593,28.00314509],[116.29481614,28.00329665],[116.29566371,28.00433391],[116.2958622,28.00440022],[116.29618406,28.00493542],[116.29633427,28.0070762],[116.29637718,28.00800449],[116.29669905,28.0084781],[116.29729986,28.00908432],[116.29594803,28.01059986],[116.29519701,28.01188806],[116.29502535,28.01321412],[116.29487514,28.01391504],[116.29337311,28.01474855],[116.29227877,28.01632084],[116.29201591,28.01680863],[116.29197299,28.01687019]]},
{"type":"LineString","coordinates":[[116.29014373,27.99424984],[116.29186034,27.99427826],[116.29190326,27.99423089],[116.29440308,27.99421194],[116.29508972,27.99792549],[116.29581928,27.9976413],[116.29652739,27.99756551],[116.29714966,27.99745183],[116.29800797,27.99589821],[116.29903793,27.99591716],[116.29985332,27.99521613],[116.30193472,27.99182459],[116.30249262,27.99184354],[116.30279303,27.99216564],[116.30403757,27.99136985]]},
{"type":"LineString","coordinates":[[116.27088547,28.04334929],[116.28200054,28.02876576]]},
{"type":"LineString","coordinates":[[116.267066,28.03346301],[116.27856731,28.04039487]]},
{"type":"LineString","coordinates":[[116.26822472,28.03827369],[116.27667904,28.02732624]]},
{"type":"LineString","coordinates":[[116.26916885,28.02906881],[116.28174305,28.03656914]]},
{"type":"LineString","coordinates":[[116.27358913,28.02531845],[116.2877512,28.03387969]]},
{"type":"LineString","coordinates":[[116.28157139,28.01974949],[116.28650665,28.02270449]]},
{"type":"LineString","coordinates":[[116.28624916,28.01315729],[116.28897429,28.01499481],[116.29126489,28.01657657]]},
{"type":"LineString","coordinates":[[116.28268719,28.01711645],[116.28839493,28.02043142]]},
{"type":"LineString","coordinates":[[116.29652202,28.02009993],[116.29681706,28.0197637],[116.29692972,28.01947483],[116.29674733,28.01936117]]}
]}
src/pages/map/components/scomponents/layersControl.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-31 10:47:29
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-12-24 17:17:34
 * @LastEditTime: 2024-12-25 10:59:51
 * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue
 * @Description:
 *
@@ -73,7 +73,7 @@
import { getList, getGouQu } from "@/api/space/space"
import { getList as getRiskList } from "@/api/riskSource/riskSource"
import { getPanoramaList } from "@/api/panorama/"
import yqfw_01 from "@/assets/json/yqfw_01"
import yqfw from "@/assets/json/yqfw"
// import gsgw from "@/assets/json/gsgw"
// import rqgw from "@/assets/json/rqgw"
import wsgw from "@/assets/json/wsgw"
@@ -369,6 +369,7 @@
      },
      {
        parentId: '3',
        id: '3-7',
        label: '洼地',
        type: 'layer',
@@ -385,6 +386,7 @@
      },
      {
        parentId: '3',
        id: '3-8',
        label: '桥梁',
        type: 'layer',
@@ -398,6 +400,18 @@
        className: 'xfs-box',
        showPanel: false,
        layerName: 'ql'
      },
      {
        parentId: '3',
        id: '3-9',
        label: '雨水管网',
        type: 'layer',
        subType: 'geojsonPipe',
        layerName: 'ysgw',
        source: ysgw,
        color: DC.Color.CYAN.withAlpha(0.9),
        height: 60,
      },
    ]
  },
@@ -536,7 +550,7 @@
    type: 'layer',
    subType: 'geojsonWall',
    layerName: 'yqfw',
    source: yqfw_01
    source: yqfw
  },
  {
@@ -759,9 +773,11 @@
          addTileLayers[item.layerName] = new DC.VectorLayer(item.layerName)
          window.$viewer.addLayer(addTileLayers[item.layerName])
          item.source.features.forEach(i => {
          console.log(item.source.geometries, 906666)
          item.source.geometries.forEach(i => {
            let wall = new DC.Wall(
              i.geometry.coordinates[0].map(d => [d[0], d[1], 125].join(',')).join(';')
              i.coordinates[0].map(d => [d[0], d[1], 125].join(',')).join(';')
            )
            wall.setStyle({
@@ -791,14 +807,14 @@
            }
            return positions
          }
          item.source.features.forEach(i => {
          console.log(item.source.geometries, 465465)
          item.source.geometries.forEach(i => {
            let polylineVolume = new DC.PolylineVolume(
              i.geometry.coordinates.map(d => [d[0], d[1], item.height].join(',')).join(';'),
              i.coordinates.map(d => [d[0], d[1], item.height].join(',')).join(';'),
              computeCircle(1.6)
            )
            if (i.properties.RefName.indexOf('拟建') != -1) {
            if ('properties' in i && i.properties?.RefName.indexOf('拟建') != -1) {
              polylineVolume.setStyle({
                material: DC.Color.fromBytes(255, 0, 0, 230)
              })