diff --git a/src/assets/geojson/kaifeng/oneCenter3.json b/src/assets/geojson/kaifeng/oneCenter3.json index 93e416d..7d5ef57 100644 --- a/src/assets/geojson/kaifeng/oneCenter3.json +++ b/src/assets/geojson/kaifeng/oneCenter3.json @@ -1 +1,787 @@ -{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.1559586437761,34.779275836231093]},"properties":{"FID":0,"Id":0,"name":"郑开同城海绵高品质示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.24090540168424,34.804831247433711]},"properties":{"FID":1,"Id":0,"name":"城乡一体化海绵建设示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34798114694661,34.799406076340418]},"properties":{"FID":2,"Id":0,"name":"古城海绵保护示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.3539773886813,34.828673446712131]},"properties":{"FID":3,"Id":0,"name":"城区海绵提升示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.44948895345533,34.766712282120309]},"properties":{"FID":4,"Id":0,"name":"汴东海绵绿色发展示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.15194265294276,34.81824001781991]},"properties":{"FID":5,"Id":0,"name":"运","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":6,"geometry":{"type":"Point","coordinates":[114.16299304089233,34.805865126067822]},"properties":{"FID":6,"Id":0,"name":"粮","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":7,"geometry":{"type":"Point","coordinates":[114.17440628769285,34.796077908368488]},"properties":{"FID":7,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":8,"geometry":{"type":"Point","coordinates":[114.18360280930195,34.784619947019458]},"properties":{"FID":8,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":9,"geometry":{"type":"Point","coordinates":[114.18511043579524,34.77286046037176]},"properties":{"FID":9,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":10,"geometry":{"type":"Point","coordinates":[114.18887950202847,34.760196397828089]},"properties":{"FID":10,"Id":0,"name":"协","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":11,"geometry":{"type":"Point","coordinates":[114.19903999088022,34.749024733227273]},"properties":{"FID":11,"Id":0,"name":"同","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":12,"geometry":{"type":"Point","coordinates":[114.21331675691521,34.742362242410948]},"properties":{"FID":12,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":13,"geometry":{"type":"Point","coordinates":[114.22645138166739,34.731892613985295]},"properties":{"FID":13,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":14,"geometry":{"type":"Point","coordinates":[114.26164360994365,34.858337171835117]},"properties":{"FID":14,"Id":0,"name":"马","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":15,"geometry":{"type":"Point","coordinates":[114.2693768582126,34.847629597308881]},"properties":{"FID":15,"Id":0,"name":"家","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":16,"geometry":{"type":"Point","coordinates":[114.27948956748737,34.836922022782645]},"properties":{"FID":16,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":17,"geometry":{"type":"Point","coordinates":[114.28543822000195,34.824429852502035]},"properties":{"FID":17,"Id":0,"name":"北","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":18,"geometry":{"type":"Point","coordinates":[114.277704971733,34.811937682221426]},"properties":{"FID":18,"Id":0,"name":"支","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":19,"geometry":{"type":"Point","coordinates":[114.27651524123009,34.798255781437902]},"properties":{"FID":19,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":20,"geometry":{"type":"Point","coordinates":[114.27889470223592,34.785763611157293]},"properties":{"FID":20,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":21,"geometry":{"type":"Point","coordinates":[114.28603308525341,34.773271440876684]},"properties":{"FID":21,"Id":0,"name":"恢","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":22,"geometry":{"type":"Point","coordinates":[114.2931714682709,34.760779270596075]},"properties":{"FID":22,"Id":0,"name":"复","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":23,"geometry":{"type":"Point","coordinates":[114.3086379648088,34.751261426572754]},"properties":{"FID":23,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":24,"geometry":{"type":"Point","coordinates":[114.32945824860981,34.745312774058178]},"properties":{"FID":24,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":25,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.858337171835117]},"properties":{"FID":25,"Id":0,"name":"黄","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":26,"geometry":{"type":"Point","coordinates":[114.32588905710107,34.844060405800136]},"properties":{"FID":26,"Id":0,"name":"汴","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":27,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.830973370268069]},"properties":{"FID":27,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":28,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.811342816969969]},"properties":{"FID":28,"Id":0,"name":"惠","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":29,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.797660916186445]},"properties":{"FID":29,"Id":0,"name":"济","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":30,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.785168745905835]},"properties":{"FID":30,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":31,"geometry":{"type":"Point","coordinates":[114.34135555363896,34.780409823894175]},"properties":{"FID":31,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":32,"geometry":{"type":"Point","coordinates":[114.35801178067977,34.776840632385429]},"properties":{"FID":32,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":33,"geometry":{"type":"Point","coordinates":[114.3716936814633,34.766133057859193]},"properties":{"FID":33,"Id":0,"name":"提","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":34,"geometry":{"type":"Point","coordinates":[114.38894477375557,34.757804944338787]},"properties":{"FID":34,"Id":0,"name":"质","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":35,"geometry":{"type":"Point","coordinates":[114.40500613554492,34.753640887578584]},"properties":{"FID":35,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":36,"geometry":{"type":"Point","coordinates":[114.41987776683136,34.745312774058178]},"properties":{"FID":36,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":37,"geometry":{"type":"Point","coordinates":[114.36336556794289,34.867260150606981]},"properties":{"FID":37,"Id":0,"name":"东","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":38,"geometry":{"type":"Point","coordinates":[114.37407314246913,34.854767980326372]},"properties":{"FID":38,"Id":0,"name":"郊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":39,"geometry":{"type":"Point","coordinates":[114.38775504325265,34.847629597308881]},"properties":{"FID":39,"Id":0,"name":"沟","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":40,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.839896349039932]},"properties":{"FID":40,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":41,"geometry":{"type":"Point","coordinates":[114.40322153979055,34.825619583004951]},"properties":{"FID":41,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":42,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.811342816969969]},"properties":{"FID":42,"Id":0,"name":"保","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":43,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.79885064668936]},"properties":{"FID":43,"Id":0,"name":"育","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":44,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.783384150151463]},"properties":{"FID":44,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":45,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.764943327356278]},"properties":{"FID":45,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}}]} \ No newline at end of file +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 114.1559586437761, + 34.779275836231093 + ] + }, + "properties": { + "FID": 0, + "Id": 0, + "name": "郑开同城海绵高品质示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 114.24090540168424, + 34.804831247433711 + ] + }, + "properties": { + "FID": 1, + "Id": 0, + "name": "城乡一体化海绵建设示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 2, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34798114694661, + 34.799406076340418 + ] + }, + "properties": { + "FID": 2, + "Id": 0, + "name": "古城海绵保护示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 3, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3539773886813, + 34.828673446712131 + ] + }, + "properties": { + "FID": 3, + "Id": 0, + "name": "城区海绵提升示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 4, + "geometry": { + "type": "Point", + "coordinates": [ + 114.44948895345533, + 34.766712282120309 + ] + }, + "properties": { + "FID": 4, + "Id": 0, + "name": "汴东海绵绿色发展示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 5, + "geometry": { + "type": "Point", + "coordinates": [ + 114.15194265294276, + 34.81824001781991 + ] + }, + "properties": { + "FID": 5, + "Id": 0, + "name": "运", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 6, + "geometry": { + "type": "Point", + "coordinates": [ + 114.16299304089233, + 34.805865126067822 + ] + }, + "properties": { + "FID": 6, + "Id": 0, + "name": "粮", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 7, + "geometry": { + "type": "Point", + "coordinates": [ + 114.17440628769285, + 34.796077908368488 + ] + }, + "properties": { + "FID": 7, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 8, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18360280930195, + 34.784619947019458 + ] + }, + "properties": { + "FID": 8, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 9, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18511043579524, + 34.77286046037176 + ] + }, + "properties": { + "FID": 9, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 10, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18887950202847, + 34.760196397828089 + ] + }, + "properties": { + "FID": 10, + "Id": 0, + "name": "协", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 11, + "geometry": { + "type": "Point", + "coordinates": [ + 114.19903999088022, + 34.749024733227273 + ] + }, + "properties": { + "FID": 11, + "Id": 0, + "name": "同", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 12, + "geometry": { + "type": "Point", + "coordinates": [ + 114.21331675691521, + 34.742362242410948 + ] + }, + "properties": { + "FID": 12, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 13, + "geometry": { + "type": "Point", + "coordinates": [ + 114.22645138166739, + 34.731892613985295 + ] + }, + "properties": { + "FID": 13, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 14, + "geometry": { + "type": "Point", + "coordinates": [ + 114.26164360994365, + 34.858337171835117 + ] + }, + "properties": { + "FID": 14, + "Id": 0, + "name": "马", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 15, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2693768582126, + 34.847629597308881 + ] + }, + "properties": { + "FID": 15, + "Id": 0, + "name": "家", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 16, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27948956748737, + 34.836922022782645 + ] + }, + "properties": { + "FID": 16, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 17, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28543822000195, + 34.824429852502035 + ] + }, + "properties": { + "FID": 17, + "Id": 0, + "name": "北", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 18, + "geometry": { + "type": "Point", + "coordinates": [ + 114.277704971733, + 34.811937682221426 + ] + }, + "properties": { + "FID": 18, + "Id": 0, + "name": "支", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 19, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27651524123009, + 34.798255781437902 + ] + }, + "properties": { + "FID": 19, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 20, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27889470223592, + 34.785763611157293 + ] + }, + "properties": { + "FID": 20, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 21, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28603308525341, + 34.773271440876684 + ] + }, + "properties": { + "FID": 21, + "Id": 0, + "name": "恢", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 22, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2931714682709, + 34.760779270596075 + ] + }, + "properties": { + "FID": 22, + "Id": 0, + "name": "复", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 23, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3086379648088, + 34.751261426572754 + ] + }, + "properties": { + "FID": 23, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 24, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32945824860981, + 34.745312774058178 + ] + }, + "properties": { + "FID": 24, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 25, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.858337171835117 + ] + }, + "properties": { + "FID": 25, + "Id": 0, + "name": "黄", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 26, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32588905710107, + 34.844060405800136 + ] + }, + "properties": { + "FID": 26, + "Id": 0, + "name": "汴", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 27, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.830973370268069 + ] + }, + "properties": { + "FID": 27, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 28, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.811342816969969 + ] + }, + "properties": { + "FID": 28, + "Id": 0, + "name": "惠", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 29, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.797660916186445 + ] + }, + "properties": { + "FID": 29, + "Id": 0, + "name": "济", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 30, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.785168745905835 + ] + }, + "properties": { + "FID": 30, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 31, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34135555363896, + 34.780409823894175 + ] + }, + "properties": { + "FID": 31, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 32, + "geometry": { + "type": "Point", + "coordinates": [ + 114.35801178067977, + 34.776840632385429 + ] + }, + "properties": { + "FID": 32, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 33, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3716936814633, + 34.766133057859193 + ] + }, + "properties": { + "FID": 33, + "Id": 0, + "name": "提", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 34, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38894477375557, + 34.757804944338787 + ] + }, + "properties": { + "FID": 34, + "Id": 0, + "name": "质", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 35, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40500613554492, + 34.753640887578584 + ] + }, + "properties": { + "FID": 35, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 36, + "geometry": { + "type": "Point", + "coordinates": [ + 114.41987776683136, + 34.745312774058178 + ] + }, + "properties": { + "FID": 36, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 37, + "geometry": { + "type": "Point", + "coordinates": [ + 114.36336556794289, + 34.867260150606981 + ] + }, + "properties": { + "FID": 37, + "Id": 0, + "name": "东", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 38, + "geometry": { + "type": "Point", + "coordinates": [ + 114.37407314246913, + 34.854767980326372 + ] + }, + "properties": { + "FID": 38, + "Id": 0, + "name": "郊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 39, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38775504325265, + 34.847629597308881 + ] + }, + "properties": { + "FID": 39, + "Id": 0, + "name": "沟", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 40, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.839896349039932 + ] + }, + "properties": { + "FID": 40, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 41, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40322153979055, + 34.825619583004951 + ] + }, + "properties": { + "FID": 41, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 42, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.811342816969969 + ] + }, + "properties": { + "FID": 42, + "Id": 0, + "name": "保", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 43, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.79885064668936 + ] + }, + "properties": { + "FID": 43, + "Id": 0, + "name": "育", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 44, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.783384150151463 + ] + }, + "properties": { + "FID": 44, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 45, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.764943327356278 + ] + }, + "properties": { + "FID": 45, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/geojson/kaifeng/oneCenter3.json b/src/assets/geojson/kaifeng/oneCenter3.json index 93e416d..7d5ef57 100644 --- a/src/assets/geojson/kaifeng/oneCenter3.json +++ b/src/assets/geojson/kaifeng/oneCenter3.json @@ -1 +1,787 @@ -{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.1559586437761,34.779275836231093]},"properties":{"FID":0,"Id":0,"name":"郑开同城海绵高品质示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.24090540168424,34.804831247433711]},"properties":{"FID":1,"Id":0,"name":"城乡一体化海绵建设示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34798114694661,34.799406076340418]},"properties":{"FID":2,"Id":0,"name":"古城海绵保护示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.3539773886813,34.828673446712131]},"properties":{"FID":3,"Id":0,"name":"城区海绵提升示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.44948895345533,34.766712282120309]},"properties":{"FID":4,"Id":0,"name":"汴东海绵绿色发展示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.15194265294276,34.81824001781991]},"properties":{"FID":5,"Id":0,"name":"运","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":6,"geometry":{"type":"Point","coordinates":[114.16299304089233,34.805865126067822]},"properties":{"FID":6,"Id":0,"name":"粮","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":7,"geometry":{"type":"Point","coordinates":[114.17440628769285,34.796077908368488]},"properties":{"FID":7,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":8,"geometry":{"type":"Point","coordinates":[114.18360280930195,34.784619947019458]},"properties":{"FID":8,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":9,"geometry":{"type":"Point","coordinates":[114.18511043579524,34.77286046037176]},"properties":{"FID":9,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":10,"geometry":{"type":"Point","coordinates":[114.18887950202847,34.760196397828089]},"properties":{"FID":10,"Id":0,"name":"协","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":11,"geometry":{"type":"Point","coordinates":[114.19903999088022,34.749024733227273]},"properties":{"FID":11,"Id":0,"name":"同","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":12,"geometry":{"type":"Point","coordinates":[114.21331675691521,34.742362242410948]},"properties":{"FID":12,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":13,"geometry":{"type":"Point","coordinates":[114.22645138166739,34.731892613985295]},"properties":{"FID":13,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":14,"geometry":{"type":"Point","coordinates":[114.26164360994365,34.858337171835117]},"properties":{"FID":14,"Id":0,"name":"马","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":15,"geometry":{"type":"Point","coordinates":[114.2693768582126,34.847629597308881]},"properties":{"FID":15,"Id":0,"name":"家","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":16,"geometry":{"type":"Point","coordinates":[114.27948956748737,34.836922022782645]},"properties":{"FID":16,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":17,"geometry":{"type":"Point","coordinates":[114.28543822000195,34.824429852502035]},"properties":{"FID":17,"Id":0,"name":"北","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":18,"geometry":{"type":"Point","coordinates":[114.277704971733,34.811937682221426]},"properties":{"FID":18,"Id":0,"name":"支","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":19,"geometry":{"type":"Point","coordinates":[114.27651524123009,34.798255781437902]},"properties":{"FID":19,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":20,"geometry":{"type":"Point","coordinates":[114.27889470223592,34.785763611157293]},"properties":{"FID":20,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":21,"geometry":{"type":"Point","coordinates":[114.28603308525341,34.773271440876684]},"properties":{"FID":21,"Id":0,"name":"恢","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":22,"geometry":{"type":"Point","coordinates":[114.2931714682709,34.760779270596075]},"properties":{"FID":22,"Id":0,"name":"复","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":23,"geometry":{"type":"Point","coordinates":[114.3086379648088,34.751261426572754]},"properties":{"FID":23,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":24,"geometry":{"type":"Point","coordinates":[114.32945824860981,34.745312774058178]},"properties":{"FID":24,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":25,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.858337171835117]},"properties":{"FID":25,"Id":0,"name":"黄","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":26,"geometry":{"type":"Point","coordinates":[114.32588905710107,34.844060405800136]},"properties":{"FID":26,"Id":0,"name":"汴","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":27,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.830973370268069]},"properties":{"FID":27,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":28,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.811342816969969]},"properties":{"FID":28,"Id":0,"name":"惠","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":29,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.797660916186445]},"properties":{"FID":29,"Id":0,"name":"济","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":30,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.785168745905835]},"properties":{"FID":30,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":31,"geometry":{"type":"Point","coordinates":[114.34135555363896,34.780409823894175]},"properties":{"FID":31,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":32,"geometry":{"type":"Point","coordinates":[114.35801178067977,34.776840632385429]},"properties":{"FID":32,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":33,"geometry":{"type":"Point","coordinates":[114.3716936814633,34.766133057859193]},"properties":{"FID":33,"Id":0,"name":"提","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":34,"geometry":{"type":"Point","coordinates":[114.38894477375557,34.757804944338787]},"properties":{"FID":34,"Id":0,"name":"质","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":35,"geometry":{"type":"Point","coordinates":[114.40500613554492,34.753640887578584]},"properties":{"FID":35,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":36,"geometry":{"type":"Point","coordinates":[114.41987776683136,34.745312774058178]},"properties":{"FID":36,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":37,"geometry":{"type":"Point","coordinates":[114.36336556794289,34.867260150606981]},"properties":{"FID":37,"Id":0,"name":"东","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":38,"geometry":{"type":"Point","coordinates":[114.37407314246913,34.854767980326372]},"properties":{"FID":38,"Id":0,"name":"郊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":39,"geometry":{"type":"Point","coordinates":[114.38775504325265,34.847629597308881]},"properties":{"FID":39,"Id":0,"name":"沟","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":40,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.839896349039932]},"properties":{"FID":40,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":41,"geometry":{"type":"Point","coordinates":[114.40322153979055,34.825619583004951]},"properties":{"FID":41,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":42,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.811342816969969]},"properties":{"FID":42,"Id":0,"name":"保","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":43,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.79885064668936]},"properties":{"FID":43,"Id":0,"name":"育","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":44,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.783384150151463]},"properties":{"FID":44,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":45,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.764943327356278]},"properties":{"FID":45,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}}]} \ No newline at end of file +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 114.1559586437761, + 34.779275836231093 + ] + }, + "properties": { + "FID": 0, + "Id": 0, + "name": "郑开同城海绵高品质示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 114.24090540168424, + 34.804831247433711 + ] + }, + "properties": { + "FID": 1, + "Id": 0, + "name": "城乡一体化海绵建设示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 2, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34798114694661, + 34.799406076340418 + ] + }, + "properties": { + "FID": 2, + "Id": 0, + "name": "古城海绵保护示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 3, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3539773886813, + 34.828673446712131 + ] + }, + "properties": { + "FID": 3, + "Id": 0, + "name": "城区海绵提升示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 4, + "geometry": { + "type": "Point", + "coordinates": [ + 114.44948895345533, + 34.766712282120309 + ] + }, + "properties": { + "FID": 4, + "Id": 0, + "name": "汴东海绵绿色发展示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 5, + "geometry": { + "type": "Point", + "coordinates": [ + 114.15194265294276, + 34.81824001781991 + ] + }, + "properties": { + "FID": 5, + "Id": 0, + "name": "运", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 6, + "geometry": { + "type": "Point", + "coordinates": [ + 114.16299304089233, + 34.805865126067822 + ] + }, + "properties": { + "FID": 6, + "Id": 0, + "name": "粮", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 7, + "geometry": { + "type": "Point", + "coordinates": [ + 114.17440628769285, + 34.796077908368488 + ] + }, + "properties": { + "FID": 7, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 8, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18360280930195, + 34.784619947019458 + ] + }, + "properties": { + "FID": 8, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 9, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18511043579524, + 34.77286046037176 + ] + }, + "properties": { + "FID": 9, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 10, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18887950202847, + 34.760196397828089 + ] + }, + "properties": { + "FID": 10, + "Id": 0, + "name": "协", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 11, + "geometry": { + "type": "Point", + "coordinates": [ + 114.19903999088022, + 34.749024733227273 + ] + }, + "properties": { + "FID": 11, + "Id": 0, + "name": "同", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 12, + "geometry": { + "type": "Point", + "coordinates": [ + 114.21331675691521, + 34.742362242410948 + ] + }, + "properties": { + "FID": 12, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 13, + "geometry": { + "type": "Point", + "coordinates": [ + 114.22645138166739, + 34.731892613985295 + ] + }, + "properties": { + "FID": 13, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 14, + "geometry": { + "type": "Point", + "coordinates": [ + 114.26164360994365, + 34.858337171835117 + ] + }, + "properties": { + "FID": 14, + "Id": 0, + "name": "马", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 15, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2693768582126, + 34.847629597308881 + ] + }, + "properties": { + "FID": 15, + "Id": 0, + "name": "家", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 16, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27948956748737, + 34.836922022782645 + ] + }, + "properties": { + "FID": 16, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 17, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28543822000195, + 34.824429852502035 + ] + }, + "properties": { + "FID": 17, + "Id": 0, + "name": "北", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 18, + "geometry": { + "type": "Point", + "coordinates": [ + 114.277704971733, + 34.811937682221426 + ] + }, + "properties": { + "FID": 18, + "Id": 0, + "name": "支", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 19, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27651524123009, + 34.798255781437902 + ] + }, + "properties": { + "FID": 19, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 20, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27889470223592, + 34.785763611157293 + ] + }, + "properties": { + "FID": 20, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 21, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28603308525341, + 34.773271440876684 + ] + }, + "properties": { + "FID": 21, + "Id": 0, + "name": "恢", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 22, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2931714682709, + 34.760779270596075 + ] + }, + "properties": { + "FID": 22, + "Id": 0, + "name": "复", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 23, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3086379648088, + 34.751261426572754 + ] + }, + "properties": { + "FID": 23, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 24, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32945824860981, + 34.745312774058178 + ] + }, + "properties": { + "FID": 24, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 25, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.858337171835117 + ] + }, + "properties": { + "FID": 25, + "Id": 0, + "name": "黄", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 26, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32588905710107, + 34.844060405800136 + ] + }, + "properties": { + "FID": 26, + "Id": 0, + "name": "汴", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 27, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.830973370268069 + ] + }, + "properties": { + "FID": 27, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 28, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.811342816969969 + ] + }, + "properties": { + "FID": 28, + "Id": 0, + "name": "惠", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 29, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.797660916186445 + ] + }, + "properties": { + "FID": 29, + "Id": 0, + "name": "济", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 30, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.785168745905835 + ] + }, + "properties": { + "FID": 30, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 31, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34135555363896, + 34.780409823894175 + ] + }, + "properties": { + "FID": 31, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 32, + "geometry": { + "type": "Point", + "coordinates": [ + 114.35801178067977, + 34.776840632385429 + ] + }, + "properties": { + "FID": 32, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 33, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3716936814633, + 34.766133057859193 + ] + }, + "properties": { + "FID": 33, + "Id": 0, + "name": "提", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 34, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38894477375557, + 34.757804944338787 + ] + }, + "properties": { + "FID": 34, + "Id": 0, + "name": "质", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 35, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40500613554492, + 34.753640887578584 + ] + }, + "properties": { + "FID": 35, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 36, + "geometry": { + "type": "Point", + "coordinates": [ + 114.41987776683136, + 34.745312774058178 + ] + }, + "properties": { + "FID": 36, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 37, + "geometry": { + "type": "Point", + "coordinates": [ + 114.36336556794289, + 34.867260150606981 + ] + }, + "properties": { + "FID": 37, + "Id": 0, + "name": "东", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 38, + "geometry": { + "type": "Point", + "coordinates": [ + 114.37407314246913, + 34.854767980326372 + ] + }, + "properties": { + "FID": 38, + "Id": 0, + "name": "郊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 39, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38775504325265, + 34.847629597308881 + ] + }, + "properties": { + "FID": 39, + "Id": 0, + "name": "沟", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 40, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.839896349039932 + ] + }, + "properties": { + "FID": 40, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 41, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40322153979055, + 34.825619583004951 + ] + }, + "properties": { + "FID": 41, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 42, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.811342816969969 + ] + }, + "properties": { + "FID": 42, + "Id": 0, + "name": "保", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 43, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.79885064668936 + ] + }, + "properties": { + "FID": 43, + "Id": 0, + "name": "育", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 44, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.783384150151463 + ] + }, + "properties": { + "FID": 44, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 45, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.764943327356278 + ] + }, + "properties": { + "FID": 45, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + } + ] +} \ No newline at end of file diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index 30f4e2a..23cb519 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -175,13 +175,20 @@ }, { isCheck: false, + name: '蓝色地图', + url: 'blackMap_icon.png', + layername: 'blackMap', + type: 'background', + }, + ], + [ + { + isCheck: false, name: '影像图', url: 'imageMap_icon.png', layername: 'imageMap', type: 'background', }, - ], - [ { isCheck: false, name: '行政区划', @@ -190,6 +197,8 @@ type: 'polygon', data: cityArea, }, + ], + [ { isCheck: false, name: '建成区', @@ -198,18 +207,6 @@ type: 'areaWall', data: builtCity, }, - // { - // isCheck: false, - // name: '三维建筑', - // url: 'building_icon.png', - // layername: 'buildingModel', - // type: '3dModel', - // data: [ - // 'https://server1.wh-nf.cn:9000/newfiber-standard-kaifeng/2024/06/24/kaifengBuilding/kaifengBuilding/kaifengBuilding.scp', - // ], - // }, - ], - [ { isCheck: false, name: '中心城区', @@ -218,13 +215,6 @@ type: 'areaWall', data: centerCity, }, - { - isCheck: false, - name: '气象云图', - url: 'paiShuiArea3_icon.png', - layername: 'weather_cloud', - type: 'weather_cloud', - }, ], [ { @@ -269,13 +259,13 @@ type: 'cesiumPaishuiArea', paishuiArea: YSFQ3, }, - // { - // isCheck: false, - // name: '气象云图', - // url: 'paiShuiArea3_icon.png', - // layername: 'weather_cloud', - // type: 'weather_cloud', - // }, + { + isCheck: false, + name: '气象云图', + url: 'paiShuiArea3_icon.png', + layername: 'weather_cloud', + type: 'weather_cloud', + }, ], ], }, diff --git a/src/assets/geojson/kaifeng/oneCenter3.json b/src/assets/geojson/kaifeng/oneCenter3.json index 93e416d..7d5ef57 100644 --- a/src/assets/geojson/kaifeng/oneCenter3.json +++ b/src/assets/geojson/kaifeng/oneCenter3.json @@ -1 +1,787 @@ -{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.1559586437761,34.779275836231093]},"properties":{"FID":0,"Id":0,"name":"郑开同城海绵高品质示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.24090540168424,34.804831247433711]},"properties":{"FID":1,"Id":0,"name":"城乡一体化海绵建设示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34798114694661,34.799406076340418]},"properties":{"FID":2,"Id":0,"name":"古城海绵保护示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.3539773886813,34.828673446712131]},"properties":{"FID":3,"Id":0,"name":"城区海绵提升示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.44948895345533,34.766712282120309]},"properties":{"FID":4,"Id":0,"name":"汴东海绵绿色发展示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.15194265294276,34.81824001781991]},"properties":{"FID":5,"Id":0,"name":"运","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":6,"geometry":{"type":"Point","coordinates":[114.16299304089233,34.805865126067822]},"properties":{"FID":6,"Id":0,"name":"粮","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":7,"geometry":{"type":"Point","coordinates":[114.17440628769285,34.796077908368488]},"properties":{"FID":7,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":8,"geometry":{"type":"Point","coordinates":[114.18360280930195,34.784619947019458]},"properties":{"FID":8,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":9,"geometry":{"type":"Point","coordinates":[114.18511043579524,34.77286046037176]},"properties":{"FID":9,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":10,"geometry":{"type":"Point","coordinates":[114.18887950202847,34.760196397828089]},"properties":{"FID":10,"Id":0,"name":"协","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":11,"geometry":{"type":"Point","coordinates":[114.19903999088022,34.749024733227273]},"properties":{"FID":11,"Id":0,"name":"同","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":12,"geometry":{"type":"Point","coordinates":[114.21331675691521,34.742362242410948]},"properties":{"FID":12,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":13,"geometry":{"type":"Point","coordinates":[114.22645138166739,34.731892613985295]},"properties":{"FID":13,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":14,"geometry":{"type":"Point","coordinates":[114.26164360994365,34.858337171835117]},"properties":{"FID":14,"Id":0,"name":"马","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":15,"geometry":{"type":"Point","coordinates":[114.2693768582126,34.847629597308881]},"properties":{"FID":15,"Id":0,"name":"家","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":16,"geometry":{"type":"Point","coordinates":[114.27948956748737,34.836922022782645]},"properties":{"FID":16,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":17,"geometry":{"type":"Point","coordinates":[114.28543822000195,34.824429852502035]},"properties":{"FID":17,"Id":0,"name":"北","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":18,"geometry":{"type":"Point","coordinates":[114.277704971733,34.811937682221426]},"properties":{"FID":18,"Id":0,"name":"支","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":19,"geometry":{"type":"Point","coordinates":[114.27651524123009,34.798255781437902]},"properties":{"FID":19,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":20,"geometry":{"type":"Point","coordinates":[114.27889470223592,34.785763611157293]},"properties":{"FID":20,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":21,"geometry":{"type":"Point","coordinates":[114.28603308525341,34.773271440876684]},"properties":{"FID":21,"Id":0,"name":"恢","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":22,"geometry":{"type":"Point","coordinates":[114.2931714682709,34.760779270596075]},"properties":{"FID":22,"Id":0,"name":"复","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":23,"geometry":{"type":"Point","coordinates":[114.3086379648088,34.751261426572754]},"properties":{"FID":23,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":24,"geometry":{"type":"Point","coordinates":[114.32945824860981,34.745312774058178]},"properties":{"FID":24,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":25,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.858337171835117]},"properties":{"FID":25,"Id":0,"name":"黄","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":26,"geometry":{"type":"Point","coordinates":[114.32588905710107,34.844060405800136]},"properties":{"FID":26,"Id":0,"name":"汴","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":27,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.830973370268069]},"properties":{"FID":27,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":28,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.811342816969969]},"properties":{"FID":28,"Id":0,"name":"惠","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":29,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.797660916186445]},"properties":{"FID":29,"Id":0,"name":"济","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":30,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.785168745905835]},"properties":{"FID":30,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":31,"geometry":{"type":"Point","coordinates":[114.34135555363896,34.780409823894175]},"properties":{"FID":31,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":32,"geometry":{"type":"Point","coordinates":[114.35801178067977,34.776840632385429]},"properties":{"FID":32,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":33,"geometry":{"type":"Point","coordinates":[114.3716936814633,34.766133057859193]},"properties":{"FID":33,"Id":0,"name":"提","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":34,"geometry":{"type":"Point","coordinates":[114.38894477375557,34.757804944338787]},"properties":{"FID":34,"Id":0,"name":"质","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":35,"geometry":{"type":"Point","coordinates":[114.40500613554492,34.753640887578584]},"properties":{"FID":35,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":36,"geometry":{"type":"Point","coordinates":[114.41987776683136,34.745312774058178]},"properties":{"FID":36,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":37,"geometry":{"type":"Point","coordinates":[114.36336556794289,34.867260150606981]},"properties":{"FID":37,"Id":0,"name":"东","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":38,"geometry":{"type":"Point","coordinates":[114.37407314246913,34.854767980326372]},"properties":{"FID":38,"Id":0,"name":"郊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":39,"geometry":{"type":"Point","coordinates":[114.38775504325265,34.847629597308881]},"properties":{"FID":39,"Id":0,"name":"沟","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":40,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.839896349039932]},"properties":{"FID":40,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":41,"geometry":{"type":"Point","coordinates":[114.40322153979055,34.825619583004951]},"properties":{"FID":41,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":42,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.811342816969969]},"properties":{"FID":42,"Id":0,"name":"保","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":43,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.79885064668936]},"properties":{"FID":43,"Id":0,"name":"育","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":44,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.783384150151463]},"properties":{"FID":44,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":45,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.764943327356278]},"properties":{"FID":45,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}}]} \ No newline at end of file +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 114.1559586437761, + 34.779275836231093 + ] + }, + "properties": { + "FID": 0, + "Id": 0, + "name": "郑开同城海绵高品质示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 114.24090540168424, + 34.804831247433711 + ] + }, + "properties": { + "FID": 1, + "Id": 0, + "name": "城乡一体化海绵建设示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 2, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34798114694661, + 34.799406076340418 + ] + }, + "properties": { + "FID": 2, + "Id": 0, + "name": "古城海绵保护示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 3, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3539773886813, + 34.828673446712131 + ] + }, + "properties": { + "FID": 3, + "Id": 0, + "name": "城区海绵提升示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 4, + "geometry": { + "type": "Point", + "coordinates": [ + 114.44948895345533, + 34.766712282120309 + ] + }, + "properties": { + "FID": 4, + "Id": 0, + "name": "汴东海绵绿色发展示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 5, + "geometry": { + "type": "Point", + "coordinates": [ + 114.15194265294276, + 34.81824001781991 + ] + }, + "properties": { + "FID": 5, + "Id": 0, + "name": "运", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 6, + "geometry": { + "type": "Point", + "coordinates": [ + 114.16299304089233, + 34.805865126067822 + ] + }, + "properties": { + "FID": 6, + "Id": 0, + "name": "粮", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 7, + "geometry": { + "type": "Point", + "coordinates": [ + 114.17440628769285, + 34.796077908368488 + ] + }, + "properties": { + "FID": 7, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 8, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18360280930195, + 34.784619947019458 + ] + }, + "properties": { + "FID": 8, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 9, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18511043579524, + 34.77286046037176 + ] + }, + "properties": { + "FID": 9, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 10, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18887950202847, + 34.760196397828089 + ] + }, + "properties": { + "FID": 10, + "Id": 0, + "name": "协", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 11, + "geometry": { + "type": "Point", + "coordinates": [ + 114.19903999088022, + 34.749024733227273 + ] + }, + "properties": { + "FID": 11, + "Id": 0, + "name": "同", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 12, + "geometry": { + "type": "Point", + "coordinates": [ + 114.21331675691521, + 34.742362242410948 + ] + }, + "properties": { + "FID": 12, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 13, + "geometry": { + "type": "Point", + "coordinates": [ + 114.22645138166739, + 34.731892613985295 + ] + }, + "properties": { + "FID": 13, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 14, + "geometry": { + "type": "Point", + "coordinates": [ + 114.26164360994365, + 34.858337171835117 + ] + }, + "properties": { + "FID": 14, + "Id": 0, + "name": "马", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 15, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2693768582126, + 34.847629597308881 + ] + }, + "properties": { + "FID": 15, + "Id": 0, + "name": "家", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 16, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27948956748737, + 34.836922022782645 + ] + }, + "properties": { + "FID": 16, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 17, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28543822000195, + 34.824429852502035 + ] + }, + "properties": { + "FID": 17, + "Id": 0, + "name": "北", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 18, + "geometry": { + "type": "Point", + "coordinates": [ + 114.277704971733, + 34.811937682221426 + ] + }, + "properties": { + "FID": 18, + "Id": 0, + "name": "支", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 19, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27651524123009, + 34.798255781437902 + ] + }, + "properties": { + "FID": 19, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 20, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27889470223592, + 34.785763611157293 + ] + }, + "properties": { + "FID": 20, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 21, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28603308525341, + 34.773271440876684 + ] + }, + "properties": { + "FID": 21, + "Id": 0, + "name": "恢", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 22, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2931714682709, + 34.760779270596075 + ] + }, + "properties": { + "FID": 22, + "Id": 0, + "name": "复", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 23, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3086379648088, + 34.751261426572754 + ] + }, + "properties": { + "FID": 23, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 24, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32945824860981, + 34.745312774058178 + ] + }, + "properties": { + "FID": 24, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 25, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.858337171835117 + ] + }, + "properties": { + "FID": 25, + "Id": 0, + "name": "黄", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 26, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32588905710107, + 34.844060405800136 + ] + }, + "properties": { + "FID": 26, + "Id": 0, + "name": "汴", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 27, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.830973370268069 + ] + }, + "properties": { + "FID": 27, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 28, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.811342816969969 + ] + }, + "properties": { + "FID": 28, + "Id": 0, + "name": "惠", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 29, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.797660916186445 + ] + }, + "properties": { + "FID": 29, + "Id": 0, + "name": "济", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 30, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.785168745905835 + ] + }, + "properties": { + "FID": 30, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 31, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34135555363896, + 34.780409823894175 + ] + }, + "properties": { + "FID": 31, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 32, + "geometry": { + "type": "Point", + "coordinates": [ + 114.35801178067977, + 34.776840632385429 + ] + }, + "properties": { + "FID": 32, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 33, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3716936814633, + 34.766133057859193 + ] + }, + "properties": { + "FID": 33, + "Id": 0, + "name": "提", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 34, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38894477375557, + 34.757804944338787 + ] + }, + "properties": { + "FID": 34, + "Id": 0, + "name": "质", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 35, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40500613554492, + 34.753640887578584 + ] + }, + "properties": { + "FID": 35, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 36, + "geometry": { + "type": "Point", + "coordinates": [ + 114.41987776683136, + 34.745312774058178 + ] + }, + "properties": { + "FID": 36, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 37, + "geometry": { + "type": "Point", + "coordinates": [ + 114.36336556794289, + 34.867260150606981 + ] + }, + "properties": { + "FID": 37, + "Id": 0, + "name": "东", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 38, + "geometry": { + "type": "Point", + "coordinates": [ + 114.37407314246913, + 34.854767980326372 + ] + }, + "properties": { + "FID": 38, + "Id": 0, + "name": "郊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 39, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38775504325265, + 34.847629597308881 + ] + }, + "properties": { + "FID": 39, + "Id": 0, + "name": "沟", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 40, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.839896349039932 + ] + }, + "properties": { + "FID": 40, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 41, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40322153979055, + 34.825619583004951 + ] + }, + "properties": { + "FID": 41, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 42, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.811342816969969 + ] + }, + "properties": { + "FID": 42, + "Id": 0, + "name": "保", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 43, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.79885064668936 + ] + }, + "properties": { + "FID": 43, + "Id": 0, + "name": "育", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 44, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.783384150151463 + ] + }, + "properties": { + "FID": 44, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 45, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.764943327356278 + ] + }, + "properties": { + "FID": 45, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + } + ] +} \ No newline at end of file diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index 30f4e2a..23cb519 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -175,13 +175,20 @@ }, { isCheck: false, + name: '蓝色地图', + url: 'blackMap_icon.png', + layername: 'blackMap', + type: 'background', + }, + ], + [ + { + isCheck: false, name: '影像图', url: 'imageMap_icon.png', layername: 'imageMap', type: 'background', }, - ], - [ { isCheck: false, name: '行政区划', @@ -190,6 +197,8 @@ type: 'polygon', data: cityArea, }, + ], + [ { isCheck: false, name: '建成区', @@ -198,18 +207,6 @@ type: 'areaWall', data: builtCity, }, - // { - // isCheck: false, - // name: '三维建筑', - // url: 'building_icon.png', - // layername: 'buildingModel', - // type: '3dModel', - // data: [ - // 'https://server1.wh-nf.cn:9000/newfiber-standard-kaifeng/2024/06/24/kaifengBuilding/kaifengBuilding/kaifengBuilding.scp', - // ], - // }, - ], - [ { isCheck: false, name: '中心城区', @@ -218,13 +215,6 @@ type: 'areaWall', data: centerCity, }, - { - isCheck: false, - name: '气象云图', - url: 'paiShuiArea3_icon.png', - layername: 'weather_cloud', - type: 'weather_cloud', - }, ], [ { @@ -269,13 +259,13 @@ type: 'cesiumPaishuiArea', paishuiArea: YSFQ3, }, - // { - // isCheck: false, - // name: '气象云图', - // url: 'paiShuiArea3_icon.png', - // layername: 'weather_cloud', - // type: 'weather_cloud', - // }, + { + isCheck: false, + name: '气象云图', + url: 'paiShuiArea3_icon.png', + layername: 'weather_cloud', + type: 'weather_cloud', + }, ], ], }, diff --git a/src/views/sponeScreen/gisMF/legendKF.vue b/src/views/sponeScreen/gisMF/legendKF.vue index 92764bb..617cc26 100644 --- a/src/views/sponeScreen/gisMF/legendKF.vue +++ b/src/views/sponeScreen/gisMF/legendKF.vue @@ -85,21 +85,45 @@ // } if (item.layername == 'whiteMap') { legendList.value[0]['children'][0][1].isCheck = false; - // legendList.value[0]['children'][1][0].isCheck = false; - //changeMapStyle.mapSetWhiteStyle(newfiberMap); + legendList.value[0]['children'][1][0].isCheck = false; + let { data } = await axios.get('/static/libs/mapbox/style/customs/whiteMapStyle.json'); + let newMapStyle; + let oldMapStyle = newfiberMapbox.map.getStyle(); + let oldIds = []; + oldMapStyle.layers.forEach(layer => { + oldIds.push(layer.id); + }); + let newIds = data.layers.map(i => i.id); + oldIds.forEach(id => { + let layer = data.layers[newIds.indexOf(id)]; + if (!layer) return; + Object.keys(layer.layout || {}).forEach(key => newfiberMapbox.map.setLayoutProperty(id, key, layer.layout[key])); + Object.keys(layer.paint || {}).forEach(key => newfiberMapbox.map.setPaintProperty(id, key, layer.paint[key])); + }); newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); } - // if (item.layername == 'blackMap') { - // legendList.value[0]['children'][0][0].isCheck = false; - // legendList.value[0]['children'][1][0].isCheck = false; - // //changeMapStyle.mapSetBlueStyle(newfiberMap); - // let config = (await axios.get('/static/libs/mapbox/style/customs/night-style.json')).data; - // newfiberMapbox.map.setStyle(config); - // newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); - // } + if (item.layername == 'blackMap') { + legendList.value[0]['children'][0][0].isCheck = false; + legendList.value[0]['children'][1][0].isCheck = false; + let { data } = await axios.get('/static/libs/mapbox/style/customs/night-style.json'); + let newMapStyle; + let oldMapStyle = newfiberMapbox.map.getStyle(); + let oldIds = []; + oldMapStyle.layers.forEach(layer => { + oldIds.push(layer.id); + }); + let newIds = data.layers.map(i => i.id); + oldIds.forEach(id => { + let layer = data.layers[newIds.indexOf(id)]; + if (!layer) return; + Object.keys(layer.layout || {}).forEach(key => newfiberMapbox.map.setLayoutProperty(id, key, layer.layout[key])); + Object.keys(layer.paint || {}).forEach(key => newfiberMapbox.map.setPaintProperty(id, key, layer.paint[key])); + }); + newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); + } if (item.layername == 'imageMap') { legendList.value[0]['children'][0][0].isCheck = false; - // legendList.value[0]['children'][0][1].isCheck = false; + legendList.value[0]['children'][0][1].isCheck = false; newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'visible'); } 114.110631109158, 34.6762585421128, 114.550431262765, 34.9438974105791; diff --git a/src/assets/geojson/kaifeng/oneCenter3.json b/src/assets/geojson/kaifeng/oneCenter3.json index 93e416d..7d5ef57 100644 --- a/src/assets/geojson/kaifeng/oneCenter3.json +++ b/src/assets/geojson/kaifeng/oneCenter3.json @@ -1 +1,787 @@ -{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.1559586437761,34.779275836231093]},"properties":{"FID":0,"Id":0,"name":"郑开同城海绵高品质示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.24090540168424,34.804831247433711]},"properties":{"FID":1,"Id":0,"name":"城乡一体化海绵建设示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34798114694661,34.799406076340418]},"properties":{"FID":2,"Id":0,"name":"古城海绵保护示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.3539773886813,34.828673446712131]},"properties":{"FID":3,"Id":0,"name":"城区海绵提升示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.44948895345533,34.766712282120309]},"properties":{"FID":4,"Id":0,"name":"汴东海绵绿色发展示范区","fillcolor":"rgba(0, 15, 0,1)"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.15194265294276,34.81824001781991]},"properties":{"FID":5,"Id":0,"name":"运","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":6,"geometry":{"type":"Point","coordinates":[114.16299304089233,34.805865126067822]},"properties":{"FID":6,"Id":0,"name":"粮","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":7,"geometry":{"type":"Point","coordinates":[114.17440628769285,34.796077908368488]},"properties":{"FID":7,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":8,"geometry":{"type":"Point","coordinates":[114.18360280930195,34.784619947019458]},"properties":{"FID":8,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":9,"geometry":{"type":"Point","coordinates":[114.18511043579524,34.77286046037176]},"properties":{"FID":9,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":10,"geometry":{"type":"Point","coordinates":[114.18887950202847,34.760196397828089]},"properties":{"FID":10,"Id":0,"name":"协","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":11,"geometry":{"type":"Point","coordinates":[114.19903999088022,34.749024733227273]},"properties":{"FID":11,"Id":0,"name":"同","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":12,"geometry":{"type":"Point","coordinates":[114.21331675691521,34.742362242410948]},"properties":{"FID":12,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":13,"geometry":{"type":"Point","coordinates":[114.22645138166739,34.731892613985295]},"properties":{"FID":13,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":14,"geometry":{"type":"Point","coordinates":[114.26164360994365,34.858337171835117]},"properties":{"FID":14,"Id":0,"name":"马","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":15,"geometry":{"type":"Point","coordinates":[114.2693768582126,34.847629597308881]},"properties":{"FID":15,"Id":0,"name":"家","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":16,"geometry":{"type":"Point","coordinates":[114.27948956748737,34.836922022782645]},"properties":{"FID":16,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":17,"geometry":{"type":"Point","coordinates":[114.28543822000195,34.824429852502035]},"properties":{"FID":17,"Id":0,"name":"北","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":18,"geometry":{"type":"Point","coordinates":[114.277704971733,34.811937682221426]},"properties":{"FID":18,"Id":0,"name":"支","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":19,"geometry":{"type":"Point","coordinates":[114.27651524123009,34.798255781437902]},"properties":{"FID":19,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":20,"geometry":{"type":"Point","coordinates":[114.27889470223592,34.785763611157293]},"properties":{"FID":20,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":21,"geometry":{"type":"Point","coordinates":[114.28603308525341,34.773271440876684]},"properties":{"FID":21,"Id":0,"name":"恢","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":22,"geometry":{"type":"Point","coordinates":[114.2931714682709,34.760779270596075]},"properties":{"FID":22,"Id":0,"name":"复","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":23,"geometry":{"type":"Point","coordinates":[114.3086379648088,34.751261426572754]},"properties":{"FID":23,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":24,"geometry":{"type":"Point","coordinates":[114.32945824860981,34.745312774058178]},"properties":{"FID":24,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":25,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.858337171835117]},"properties":{"FID":25,"Id":0,"name":"黄","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":26,"geometry":{"type":"Point","coordinates":[114.32588905710107,34.844060405800136]},"properties":{"FID":26,"Id":0,"name":"汴","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":27,"geometry":{"type":"Point","coordinates":[114.32469932659815,34.830973370268069]},"properties":{"FID":27,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":28,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.811342816969969]},"properties":{"FID":28,"Id":0,"name":"惠","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":29,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.797660916186445]},"properties":{"FID":29,"Id":0,"name":"济","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":30,"geometry":{"type":"Point","coordinates":[114.32529419184961,34.785168745905835]},"properties":{"FID":30,"Id":0,"name":"河","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":31,"geometry":{"type":"Point","coordinates":[114.34135555363896,34.780409823894175]},"properties":{"FID":31,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":32,"geometry":{"type":"Point","coordinates":[114.35801178067977,34.776840632385429]},"properties":{"FID":32,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":33,"geometry":{"type":"Point","coordinates":[114.3716936814633,34.766133057859193]},"properties":{"FID":33,"Id":0,"name":"提","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":34,"geometry":{"type":"Point","coordinates":[114.38894477375557,34.757804944338787]},"properties":{"FID":34,"Id":0,"name":"质","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":35,"geometry":{"type":"Point","coordinates":[114.40500613554492,34.753640887578584]},"properties":{"FID":35,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":36,"geometry":{"type":"Point","coordinates":[114.41987776683136,34.745312774058178]},"properties":{"FID":36,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":37,"geometry":{"type":"Point","coordinates":[114.36336556794289,34.867260150606981]},"properties":{"FID":37,"Id":0,"name":"东","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":38,"geometry":{"type":"Point","coordinates":[114.37407314246913,34.854767980326372]},"properties":{"FID":38,"Id":0,"name":"郊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":39,"geometry":{"type":"Point","coordinates":[114.38775504325265,34.847629597308881]},"properties":{"FID":39,"Id":0,"name":"沟","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":40,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.839896349039932]},"properties":{"FID":40,"Id":0,"name":"生","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":41,"geometry":{"type":"Point","coordinates":[114.40322153979055,34.825619583004951]},"properties":{"FID":41,"Id":0,"name":"态","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":42,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.811342816969969]},"properties":{"FID":42,"Id":0,"name":"保","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":43,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.79885064668936]},"properties":{"FID":43,"Id":0,"name":"育","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":44,"geometry":{"type":"Point","coordinates":[114.40203180928764,34.783384150151463]},"properties":{"FID":44,"Id":0,"name":"廊","fillcolor":"rgba(26, 6, 20,1)"}},{"type":"Feature","id":45,"geometry":{"type":"Point","coordinates":[114.40262667453909,34.764943327356278]},"properties":{"FID":45,"Id":0,"name":"道","fillcolor":"rgba(26, 6, 20,1)"}}]} \ No newline at end of file +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "id": 0, + "geometry": { + "type": "Point", + "coordinates": [ + 114.1559586437761, + 34.779275836231093 + ] + }, + "properties": { + "FID": 0, + "Id": 0, + "name": "郑开同城海绵高品质示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 1, + "geometry": { + "type": "Point", + "coordinates": [ + 114.24090540168424, + 34.804831247433711 + ] + }, + "properties": { + "FID": 1, + "Id": 0, + "name": "城乡一体化海绵建设示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 2, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34798114694661, + 34.799406076340418 + ] + }, + "properties": { + "FID": 2, + "Id": 0, + "name": "古城海绵保护示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 3, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3539773886813, + 34.828673446712131 + ] + }, + "properties": { + "FID": 3, + "Id": 0, + "name": "城区海绵提升示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 4, + "geometry": { + "type": "Point", + "coordinates": [ + 114.44948895345533, + 34.766712282120309 + ] + }, + "properties": { + "FID": 4, + "Id": 0, + "name": "汴东海绵绿色发展示范区", + "fillcolor": "rgba(35, 92, 31,1)" + } + }, + { + "type": "Feature", + "id": 5, + "geometry": { + "type": "Point", + "coordinates": [ + 114.15194265294276, + 34.81824001781991 + ] + }, + "properties": { + "FID": 5, + "Id": 0, + "name": "运", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 6, + "geometry": { + "type": "Point", + "coordinates": [ + 114.16299304089233, + 34.805865126067822 + ] + }, + "properties": { + "FID": 6, + "Id": 0, + "name": "粮", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 7, + "geometry": { + "type": "Point", + "coordinates": [ + 114.17440628769285, + 34.796077908368488 + ] + }, + "properties": { + "FID": 7, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 8, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18360280930195, + 34.784619947019458 + ] + }, + "properties": { + "FID": 8, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 9, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18511043579524, + 34.77286046037176 + ] + }, + "properties": { + "FID": 9, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 10, + "geometry": { + "type": "Point", + "coordinates": [ + 114.18887950202847, + 34.760196397828089 + ] + }, + "properties": { + "FID": 10, + "Id": 0, + "name": "协", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 11, + "geometry": { + "type": "Point", + "coordinates": [ + 114.19903999088022, + 34.749024733227273 + ] + }, + "properties": { + "FID": 11, + "Id": 0, + "name": "同", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 12, + "geometry": { + "type": "Point", + "coordinates": [ + 114.21331675691521, + 34.742362242410948 + ] + }, + "properties": { + "FID": 12, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 13, + "geometry": { + "type": "Point", + "coordinates": [ + 114.22645138166739, + 34.731892613985295 + ] + }, + "properties": { + "FID": 13, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 14, + "geometry": { + "type": "Point", + "coordinates": [ + 114.26164360994365, + 34.858337171835117 + ] + }, + "properties": { + "FID": 14, + "Id": 0, + "name": "马", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 15, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2693768582126, + 34.847629597308881 + ] + }, + "properties": { + "FID": 15, + "Id": 0, + "name": "家", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 16, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27948956748737, + 34.836922022782645 + ] + }, + "properties": { + "FID": 16, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 17, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28543822000195, + 34.824429852502035 + ] + }, + "properties": { + "FID": 17, + "Id": 0, + "name": "北", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 18, + "geometry": { + "type": "Point", + "coordinates": [ + 114.277704971733, + 34.811937682221426 + ] + }, + "properties": { + "FID": 18, + "Id": 0, + "name": "支", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 19, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27651524123009, + 34.798255781437902 + ] + }, + "properties": { + "FID": 19, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 20, + "geometry": { + "type": "Point", + "coordinates": [ + 114.27889470223592, + 34.785763611157293 + ] + }, + "properties": { + "FID": 20, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 21, + "geometry": { + "type": "Point", + "coordinates": [ + 114.28603308525341, + 34.773271440876684 + ] + }, + "properties": { + "FID": 21, + "Id": 0, + "name": "恢", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 22, + "geometry": { + "type": "Point", + "coordinates": [ + 114.2931714682709, + 34.760779270596075 + ] + }, + "properties": { + "FID": 22, + "Id": 0, + "name": "复", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 23, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3086379648088, + 34.751261426572754 + ] + }, + "properties": { + "FID": 23, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 24, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32945824860981, + 34.745312774058178 + ] + }, + "properties": { + "FID": 24, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 25, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.858337171835117 + ] + }, + "properties": { + "FID": 25, + "Id": 0, + "name": "黄", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 26, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32588905710107, + 34.844060405800136 + ] + }, + "properties": { + "FID": 26, + "Id": 0, + "name": "汴", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 27, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32469932659815, + 34.830973370268069 + ] + }, + "properties": { + "FID": 27, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 28, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.811342816969969 + ] + }, + "properties": { + "FID": 28, + "Id": 0, + "name": "惠", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 29, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.797660916186445 + ] + }, + "properties": { + "FID": 29, + "Id": 0, + "name": "济", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 30, + "geometry": { + "type": "Point", + "coordinates": [ + 114.32529419184961, + 34.785168745905835 + ] + }, + "properties": { + "FID": 30, + "Id": 0, + "name": "河", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 31, + "geometry": { + "type": "Point", + "coordinates": [ + 114.34135555363896, + 34.780409823894175 + ] + }, + "properties": { + "FID": 31, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 32, + "geometry": { + "type": "Point", + "coordinates": [ + 114.35801178067977, + 34.776840632385429 + ] + }, + "properties": { + "FID": 32, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 33, + "geometry": { + "type": "Point", + "coordinates": [ + 114.3716936814633, + 34.766133057859193 + ] + }, + "properties": { + "FID": 33, + "Id": 0, + "name": "提", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 34, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38894477375557, + 34.757804944338787 + ] + }, + "properties": { + "FID": 34, + "Id": 0, + "name": "质", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 35, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40500613554492, + 34.753640887578584 + ] + }, + "properties": { + "FID": 35, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 36, + "geometry": { + "type": "Point", + "coordinates": [ + 114.41987776683136, + 34.745312774058178 + ] + }, + "properties": { + "FID": 36, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 37, + "geometry": { + "type": "Point", + "coordinates": [ + 114.36336556794289, + 34.867260150606981 + ] + }, + "properties": { + "FID": 37, + "Id": 0, + "name": "东", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 38, + "geometry": { + "type": "Point", + "coordinates": [ + 114.37407314246913, + 34.854767980326372 + ] + }, + "properties": { + "FID": 38, + "Id": 0, + "name": "郊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 39, + "geometry": { + "type": "Point", + "coordinates": [ + 114.38775504325265, + 34.847629597308881 + ] + }, + "properties": { + "FID": 39, + "Id": 0, + "name": "沟", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 40, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.839896349039932 + ] + }, + "properties": { + "FID": 40, + "Id": 0, + "name": "生", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 41, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40322153979055, + 34.825619583004951 + ] + }, + "properties": { + "FID": 41, + "Id": 0, + "name": "态", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 42, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.811342816969969 + ] + }, + "properties": { + "FID": 42, + "Id": 0, + "name": "保", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 43, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.79885064668936 + ] + }, + "properties": { + "FID": 43, + "Id": 0, + "name": "育", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 44, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40203180928764, + 34.783384150151463 + ] + }, + "properties": { + "FID": 44, + "Id": 0, + "name": "廊", + "fillcolor": "rgba(26, 6, 20,1)" + } + }, + { + "type": "Feature", + "id": 45, + "geometry": { + "type": "Point", + "coordinates": [ + 114.40262667453909, + 34.764943327356278 + ] + }, + "properties": { + "FID": 45, + "Id": 0, + "name": "道", + "fillcolor": "rgba(26, 6, 20,1)" + } + } + ] +} \ No newline at end of file diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js index 30f4e2a..23cb519 100644 --- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js +++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js @@ -175,13 +175,20 @@ }, { isCheck: false, + name: '蓝色地图', + url: 'blackMap_icon.png', + layername: 'blackMap', + type: 'background', + }, + ], + [ + { + isCheck: false, name: '影像图', url: 'imageMap_icon.png', layername: 'imageMap', type: 'background', }, - ], - [ { isCheck: false, name: '行政区划', @@ -190,6 +197,8 @@ type: 'polygon', data: cityArea, }, + ], + [ { isCheck: false, name: '建成区', @@ -198,18 +207,6 @@ type: 'areaWall', data: builtCity, }, - // { - // isCheck: false, - // name: '三维建筑', - // url: 'building_icon.png', - // layername: 'buildingModel', - // type: '3dModel', - // data: [ - // 'https://server1.wh-nf.cn:9000/newfiber-standard-kaifeng/2024/06/24/kaifengBuilding/kaifengBuilding/kaifengBuilding.scp', - // ], - // }, - ], - [ { isCheck: false, name: '中心城区', @@ -218,13 +215,6 @@ type: 'areaWall', data: centerCity, }, - { - isCheck: false, - name: '气象云图', - url: 'paiShuiArea3_icon.png', - layername: 'weather_cloud', - type: 'weather_cloud', - }, ], [ { @@ -269,13 +259,13 @@ type: 'cesiumPaishuiArea', paishuiArea: YSFQ3, }, - // { - // isCheck: false, - // name: '气象云图', - // url: 'paiShuiArea3_icon.png', - // layername: 'weather_cloud', - // type: 'weather_cloud', - // }, + { + isCheck: false, + name: '气象云图', + url: 'paiShuiArea3_icon.png', + layername: 'weather_cloud', + type: 'weather_cloud', + }, ], ], }, diff --git a/src/views/sponeScreen/gisMF/legendKF.vue b/src/views/sponeScreen/gisMF/legendKF.vue index 92764bb..617cc26 100644 --- a/src/views/sponeScreen/gisMF/legendKF.vue +++ b/src/views/sponeScreen/gisMF/legendKF.vue @@ -85,21 +85,45 @@ // } if (item.layername == 'whiteMap') { legendList.value[0]['children'][0][1].isCheck = false; - // legendList.value[0]['children'][1][0].isCheck = false; - //changeMapStyle.mapSetWhiteStyle(newfiberMap); + legendList.value[0]['children'][1][0].isCheck = false; + let { data } = await axios.get('/static/libs/mapbox/style/customs/whiteMapStyle.json'); + let newMapStyle; + let oldMapStyle = newfiberMapbox.map.getStyle(); + let oldIds = []; + oldMapStyle.layers.forEach(layer => { + oldIds.push(layer.id); + }); + let newIds = data.layers.map(i => i.id); + oldIds.forEach(id => { + let layer = data.layers[newIds.indexOf(id)]; + if (!layer) return; + Object.keys(layer.layout || {}).forEach(key => newfiberMapbox.map.setLayoutProperty(id, key, layer.layout[key])); + Object.keys(layer.paint || {}).forEach(key => newfiberMapbox.map.setPaintProperty(id, key, layer.paint[key])); + }); newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); } - // if (item.layername == 'blackMap') { - // legendList.value[0]['children'][0][0].isCheck = false; - // legendList.value[0]['children'][1][0].isCheck = false; - // //changeMapStyle.mapSetBlueStyle(newfiberMap); - // let config = (await axios.get('/static/libs/mapbox/style/customs/night-style.json')).data; - // newfiberMapbox.map.setStyle(config); - // newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); - // } + if (item.layername == 'blackMap') { + legendList.value[0]['children'][0][0].isCheck = false; + legendList.value[0]['children'][1][0].isCheck = false; + let { data } = await axios.get('/static/libs/mapbox/style/customs/night-style.json'); + let newMapStyle; + let oldMapStyle = newfiberMapbox.map.getStyle(); + let oldIds = []; + oldMapStyle.layers.forEach(layer => { + oldIds.push(layer.id); + }); + let newIds = data.layers.map(i => i.id); + oldIds.forEach(id => { + let layer = data.layers[newIds.indexOf(id)]; + if (!layer) return; + Object.keys(layer.layout || {}).forEach(key => newfiberMapbox.map.setLayoutProperty(id, key, layer.layout[key])); + Object.keys(layer.paint || {}).forEach(key => newfiberMapbox.map.setPaintProperty(id, key, layer.paint[key])); + }); + newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'none'); + } if (item.layername == 'imageMap') { legendList.value[0]['children'][0][0].isCheck = false; - // legendList.value[0]['children'][0][1].isCheck = false; + legendList.value[0]['children'][0][1].isCheck = false; newfiberMapbox.map.setLayoutProperty('newfiber-XYZLayer', 'visibility', 'visible'); } 114.110631109158, 34.6762585421128, 114.550431262765, 34.9438974105791; diff --git a/src/views/sponeScreen/gisMF/mapboxVectorLayer.js b/src/views/sponeScreen/gisMF/mapboxVectorLayer.js index a4a3c1d..7e5ba73 100644 --- a/src/views/sponeScreen/gisMF/mapboxVectorLayer.js +++ b/src/views/sponeScreen/gisMF/mapboxVectorLayer.js @@ -72,7 +72,7 @@ source: layerId, paint: { 'text-color': ['get', 'fillcolor'], - 'text-halo-color': 'rgba(14, 139, 90, 1)', + 'text-halo-color': 'rgba(250, 247, 227, 1)', 'text-halo-width': 1, }, layout: { @@ -322,8 +322,8 @@ }, paint: { 'text-color': ['get', 'fillcolor'], - 'text-halo-color': 'rgba(14, 139, 90, 1)', - 'text-halo-width': 1.2, + 'text-halo-color': 'rgba(250, 247, 227, 1)', + 'text-halo-width': 1, }, }); }