From ba9d161c9d424d6a22bf70b33c53862fb2776dd1 Mon Sep 17 00:00:00 2001 From: huxiaolei <286388969@qq.com> Date: Mon, 6 May 2024 16:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E8=B7=AF=E7=94=BB=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/screen-content-map/cpt/daolu.json | 775 +++++++++++++++--- .../next/screen-content-map/cpt/zdyf-map.vue | 4 +- 2 files changed, 660 insertions(+), 119 deletions(-) diff --git a/src/views/next/screen-content-map/cpt/daolu.json b/src/views/next/screen-content-map/cpt/daolu.json index c369efc..d6ea58e 100644 --- a/src/views/next/screen-content-map/cpt/daolu.json +++ b/src/views/next/screen-content-map/cpt/daolu.json @@ -171,10 +171,7 @@ [120.172651, 36.467254], [120.17255, 36.467168], [120.17182, 36.466546], - [120.171042, 36.465758], - [120.170248, 36.465017], - [120.169717, 36.464529], - [120.169493, 36.464401] + [120.171042, 36.465758] ] ] ] @@ -269,119 +266,663 @@ [120.266529, 36.471744], [120.269248, 36.469657], [120.269586, 36.469395], - [120.272692, 36.467002], - [120.274758, 36.465414], - [120.27692, 36.463746], - [120.277081, 36.463622], - [120.27832, 36.462678], - [120.280433, 36.461053], - [120.283131, 36.458961], - [120.287799, 36.455366], - [120.289011, 36.454428], - [120.290427, 36.453333], - [120.290915, 36.452958], - [120.291334, 36.452636], - [120.291833, 36.45225], - [120.29224, 36.451939], - [120.295041, 36.449793], - [120.295245, 36.449637], - [120.296285, 36.448822], - [120.300292, 36.445764], - [120.301741, 36.444659], - [120.301741, 36.444659], - [120.301773, 36.444418], - [120.301826, 36.442953], - [120.30188, 36.44165], - [120.301896, 36.44129], - [120.301934, 36.440196], - [120.302063, 36.43775], - [120.302063, 36.43775], - [120.303007, 36.437691], - [120.303935, 36.437616], - [120.304632, 36.437562], - [120.304734, 36.437557], - [120.305185, 36.437508], - [120.30563, 36.437466], - [120.306054, 36.437433], - [120.306612, 36.43739], - [120.30732, 36.437326], - [120.30968, 36.437122], - [120.31218, 36.436913], - [120.312464, 36.436891], - [120.314186, 36.436736], - [120.315103, 36.436661], - [120.31719, 36.436484], - [120.317512, 36.436462], - [120.317512, 36.436462], - [120.317518, 36.435937], - [120.317523, 36.435057], - [120.317544, 36.434161], - [120.317544, 36.434161], - [120.31777, 36.433877], - [120.317957, 36.433678], - [120.319175, 36.432385], - [120.319438, 36.432074], - [120.320436, 36.430728], - [120.320484, 36.430663], - [120.32079, 36.430266], - [120.320983, 36.430041], - [120.321181, 36.429853], - [120.321841, 36.429344], - [120.322265, 36.429016], - [120.322785, 36.42862], - [120.322887, 36.428545], - [120.323365, 36.42818], - [120.323917, 36.427745], - [120.325285, 36.426699], - [120.326315, 36.425846], - [120.32676, 36.425449], - [120.330403, 36.422129], - [120.330875, 36.421678], - [120.331588, 36.420932], - [120.331878, 36.42067], - [120.33213, 36.42046], - [120.332575, 36.420138], - [120.333273, 36.419677], - [120.333541, 36.4195], - [120.335123, 36.418427], - [120.335322, 36.418304], - [120.336529, 36.417563], - [120.337441, 36.416979], - [120.338106, 36.41655], - [120.339141, 36.415938], - [120.342076, 36.414259], - [120.344238, 36.413025], - [120.344581, 36.412832], - [120.345321, 36.412376], - [120.345627, 36.412076], - [120.34596, 36.411711], - [120.346646, 36.410933], - [120.347558, 36.409876], - [120.348594, 36.408691], - [120.348663, 36.40861], - [120.349323, 36.407859], - [120.349715, 36.407403], - [120.349801, 36.407312], - [120.349967, 36.407124], - [120.350305, 36.406733], - [120.350358, 36.406674], - [120.350546, 36.406459], - [120.350723, 36.406261], - [120.350879, 36.406084], - [120.35111, 36.405826], - [120.351726, 36.405123], - [120.351903, 36.404989], - [120.352059, 36.404936], - [120.35222, 36.40492], - [120.352483, 36.404914], - [120.353105, 36.40492], - [120.354081, 36.404941], - [120.354376, 36.404952], - [120.35472, 36.404957], - [120.355691, 36.405], - [120.356887, 36.405032], - [120.357509, 36.405043], - [120.357633, 36.405038] + [120.272692, 36.467002] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.200055,36.596338], + [120.203773,36.592894], + [120.203737,36.592857], + [120.205768,36.590955], + [120.207121,36.589868], + [120.20825,36.589551], + [120.20949,36.589868], + [120.211295,36.59109], + [120.212593,36.591362], + [120.242319,36.590321], + [120.244067,36.590683], + [120.244067,36.590683] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.176789,36.584394], + [120.226914,36.582327], + [120.231463,36.582189], + [120.234467,36.582051], + [120.237815,36.581913], + [120.242021,36.581844], + [120.246484,36.581568] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.162785,36.575698], + [120.244753,36.574733], + [120.251105,36.574664], + [120.256769,36.574595] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.15793, 36.564333], + [120.245172, 36.564078], + [120.251737, 36.564163], + [120.259678, 36.564248], + [120.261583, 36.564333], + [120.261583, 36.564333] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.153257, 36.551751], + [120.243478, 36.551363], + [120.254272, 36.549292], + [120.254272, 36.54748] + + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.273722, 36.545573], + [120.260675, 36.547503], + [120.249603, 36.546952], + [120.249775, 36.527297], + [120.261276, 36.52647], + [120.261276, 36.526677] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.281697, 36.567666], + [120.280496, 36.560289], + [120.273029, 36.543328], + [120.271054, 36.526569], + [120.261441, 36.526431] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.146913, 36.535685], +[120.148887, 36.535961], +[120.197553, 36.535892], +[120.201501, 36.535823], +[120.233259, 36.528995], +[120.249652, 36.52734] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.249524,36.527133], + [120.249438,36.520028], + [120.249094,36.517821], + [120.270895,36.517269], + [120.270895,36.52665] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.271196,36.517269], +[120.276517,36.5172], +[120.288448,36.517131], +[120.317201,36.512302] + + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.303182, 36.514862], +[120.305757, 36.534796], +[120.308418, 36.551345] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.220741, 36.591021], + [120.219282, 36.551247], + [120.218998, 36.551335], + [120.216337, 36.507747], + [120.216165, 36.507747], + [120.216595, 36.50409], + [120.216251, 36.496846], + [120.218998, 36.496639], + [120.21977, 36.46441], + [120.219715, 36.464493], + [120.220101, 36.455792], + [120.223656, 36.437515] + + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + +[120.232253, 36.590834], +[120.230793, 36.551611], +[120.23049, 36.551412], +[120.229949, 36.529929], +[120.225003, 36.517819], +[120.217121, 36.518068] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.198713, 36.583163], + [120.197669, 36.564053], + [120.197548, 36.564228], + [120.197617, 36.535777], + [120.197553, 36.535953], + [120.197302, 36.517779] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.188921, 36.575597], +[120.188062, 36.535884] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.16566, 36.551537], + [120.164287, 36.536091] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + +[120.167463, 36.536022], +[120.16772, 36.531884], +[120.167635, 36.524366], +[120.168321, 36.518641], +[120.167806, 36.507673], +[120.169265, 36.498704], +[120.17905, 36.50105], +[120.190465, 36.502637], +[120.192096, 36.500222] + + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [120.162742, 36.518572], + [120.171926, 36.518365], + [120.202911, 36.517883], + [120.21673, 36.517607], + [120.21673, 36.517607] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + +[120.192019, 36.500217], +[120.192534, 36.482414], +[120.193307, 36.477859], +[120.193993, 36.463641], +[120.195796, 36.456185], +[120.196139, 36.454597], +[120.196139, 36.454597], +[120.195195, 36.448867] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + + [120.165156, 36.471902], + [120.168556, 36.465936], + [120.172111, 36.461336], + [120.176516, 36.454934], + [120.177444, 36.45307], + [120.178139, 36.451143], + [120.178132, 36.45134], + [120.177788, 36.445126] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.170407, 36.46349], +[120.241389, 36.465492], +[120.243535, 36.467632], +[120.272631, 36.466941] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.203194, 36.43249], +[120.210919, 36.438291], +[120.224137, 36.4492], +[120.247654, 36.451202], +[120.254263, 36.451823], +[120.254349, 36.451823] + + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + + [120.248886, 36.517716], + [120.243565, 36.500952], + [120.241676, 36.499503], + [120.234123, 36.492465], + [120.234295, 36.483011] + ] + ] + ] + } + }, + { + "type": "Feature", + "properties": { + "adcode": "1202770845325680641", + "level": "street", + "parent": { + "adcode": 100000 + }, + "subFeatureIndex": 0, + "acroutes": [100000] + }, + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ +[120.277725, 36.517233], +[120.277639, 36.512887], +[120.274549, 36.50247], +[120.27309, 36.492396], +[120.271116, 36.479767], +[120.271116, 36.479905], +[120.269657, 36.469346] ] ] ] diff --git a/src/views/next/screen-content-map/cpt/zdyf-map.vue b/src/views/next/screen-content-map/cpt/zdyf-map.vue index db6087a..0e7da1d 100644 --- a/src/views/next/screen-content-map/cpt/zdyf-map.vue +++ b/src/views/next/screen-content-map/cpt/zdyf-map.vue @@ -304,10 +304,10 @@ export default { }) .source(daoluJson) .shape('line') - .color('#25e3b6') + .color('#14f1bd') .size(2) .style({ - opacity: 0.4, + opacity: 0.6, lineWidth: 2 }) scene.addLayer(lineLayer1)