feat: Echarts 地图标记样式支持能源类型图标

This commit is contained in:
liubo 2023-08-26 00:42:15 +08:00
parent 0bca32f358
commit 9ce4d9af54
8 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1692694613325" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1741" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M470.896845 960.26624L491.172045 495.616h33.50528c0.32768 2.37568 1.06496 5.12 1.14688 7.82336 2.33472 54.23104 4.5056 108.50304 6.92224 162.77504 3.2768 74.62912 6.67648 149.25824 9.99424 223.88736 1.024 23.3472 2.12992 46.6944 2.6624 70.12352h260.096a21.2992 21.2992 0 0 1 0 42.63936H208.220365a21.2992 21.2992 0 0 1 0-42.63936h262.71744zM919.941325 385.024c9.4208 87.2448-6.9632 169.3696-49.11104 246.29248a415.00672 415.00672 0 0 1-95.51872 116.08064c-1.18784 0.98304-2.41664 1.8432-4.42368 3.31776-78.06976-86.58944-156.13952-173.056-233.34912-258.62144l28.4672-28.18048c7.04512 7.7824 15.19616 16.384 22.85568 25.3952 4.5056 5.36576 9.17504 7.41376 16.42496 6.06208 16.22016-2.94912 32.64512-4.5056 48.90624-7.33184 5.07904-0.90112 7.24992 0.4096 9.58464 4.7104a25050.3168 25050.3168 0 0 0 70.8608 129.8432c0.90112 1.76128 2.048 3.56352 4.17792 7.168 10.32192-15.11424 20.56192-28.59008 29.16352-43.008 32.07168-53.8624 45.09696-112.35328 41.24672-174.73536-0.32768-4.99712-1.024-9.95328-1.18784-14.9504-0.2048-4.5056 2.08896-7.45472 6.79936-7.90528 4.5056-0.49152 7.90528 1.31072 8.64256 5.89824 1.10592 6.84032 1.92512 13.76256 2.21184 20.6848 3.72736 84.62336-21.25824 159.58016-75.776 224.58368-1.47456 1.67936-2.4576 5.40672-1.55648 7.04512 11.6736 22.1184 23.7568 43.95008 35.75808 65.82272 0.24576 0.53248 0.8192 0.98304 2.70336 3.19488 13.68064-16.09728 27.60704-31.00672 39.85408-47.18592a389.12 389.12 0 0 0 76.3904-187.10528 380.3136 380.3136 0 0 0 0.6144-95.51872c-0.77824-6.30784 1.88416-10.77248 6.79936-11.4688 5.12-0.73728 8.68352 3.15392 9.46176 9.91232zM344.740045 811.95008a173.21984 173.21984 0 0 1-23.63392-10.81344C205.680845 740.18816 133.755085 645.81632 104.386765 518.84032c-0.98304-4.21888-1.35168-8.56064-2.4576-12.77952-1.10592-3.97312 0.28672-5.24288 4.13696-6.02112 40.5504-8.51968 81.01888-17.2032 121.52832-25.92768 69.79584-14.90944 139.55072-29.85984 209.34656-44.72832 2.08896-0.4096 4.17792-0.69632 5.5296-0.94208 3.2768 12.94336 6.30784 25.3952 9.58464 38.58432-9.37984 2.048-19.98848 4.79232-30.80192 6.47168-8.6016 1.39264-13.76256 5.07904-16.71168 13.7216-4.9152 14.58176-11.4688 28.672-16.67072 43.08992-2.12992 5.85728-5.07904 7.12704-10.97728 6.9632-48.00512-1.39264-96.01024-2.4576-143.9744-3.60448H224.809165c2.21184 5.77536 3.85024 10.6496 5.89824 15.36 31.3344 73.60512 83.47648 127.01696 156.30336 160.19456a18.35008 18.35008 0 0 1 7.9872 7.70048c0.8192 1.51552-1.06496 6.22592-2.82624 7.04512-2.8672 1.31072-7.3728 1.88416-10.07616 0.53248-16.54784-8.51968-33.5872-16.50688-49.07008-26.74688-58.9824-39.07584-100.02432-92.44672-123.65824-159.1296-1.10592-3.15392-2.00704-5.85728-6.38976-5.9392-24.9856-0.36864-49.9712-1.024-74.9568-1.51552-1.024 0-2.048 0.32768-4.25984 0.73728 4.38272 13.5168 8.02816 26.86976 12.98432 39.77216 39.936 103.75168 110.71488 178.5856 211.92704 224.62464 2.4576 1.14688 5.7344 2.58048 6.63552 4.66944 1.10592 2.58048 1.26976 7.5776-0.28672 8.76544-2.58048 2.048-7.33184 3.2768-10.24 2.21184zM273.141965 114.0736c-4.25984 2.74432-8.192 4.13696-12.288 0.2048-4.01408-3.80928-2.70336-9.4208 2.99008-13.59872A404.76672 404.76672 0 0 1 379.637965 40.79616c88.6784-28.83584 177.11104-27.648 265.33888 2.17088 2.4576 0.8192 4.7104 1.92512 7.49568 3.072l-107.43808 331.85792c-13.02528-3.6864-25.31328-7.29088-38.42048-11.0592 3.072-9.70752 6.06208-20.56192 10.07616-31.00672 3.072-7.86432 1.67936-13.76256-3.6864-20.15232-11.4688-13.59872-22.28224-27.8528-33.5872-42.1888l82.90304-136.15104c-10.15808-1.31072-19.0464-2.99008-28.0576-3.64544-71.8848-5.3248-137.74848 12.04224-197.26336 52.92032-3.23584 2.17088-6.144 5.3248-9.70752 6.38976a12.65664 12.65664 0 0 1-9.74848-1.55648c-3.4816-2.6624-3.03104-6.9632-0.12288-10.4448 1.06496-1.31072 2.62144-2.33472 3.97312-3.2768 62.464-45.056 132.21888-65.08544 208.97792-60.57984 11.8784 0.69632 23.63392 3.19488 35.47136 4.42368 2.4576 0.2048 6.3488-0.8192 7.45472-2.6624 13.63968-21.7088 26.86976-43.6224 40.18176-65.536 0.28672-0.49152 0.28672-1.2288 0.65536-2.99008-9.6256-2.2528-19.16928-4.9152-28.79488-6.7584C489.697485 25.8048 399.175885 40.1408 314.183885 87.6544c-14.17216 7.86432-27.4432 17.44896-41.04192 26.46016zM508.457165 387.072a45.38368 45.38368 0 0 1 45.056 45.8752 44.8512 44.8512 0 0 1-45.75232 44.97408 45.2608 45.2608 0 0 1-44.97408-45.30176c0.08192-25.02656 21.01248-45.8752 45.6704-45.54752z" fill="#999999" p-id="1742"></path></svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1692788432953" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21304" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M730.453333 151.466667a85.333333 85.333333 0 0 0-81.92 59.733333l-34.133333 108.8a127.914667 127.914667 0 0 0-45.653333 10.24L490.666667 246.186667l-56.746667-63.146667a85.333333 85.333333 0 0 0-5.12 120.746667l77.226667 84.053333a128.213333 128.213333 0 0 0-9.386667 21.76c-2.261333 7.424-3.84 14.976-4.693333 22.613333l-111.36 24.746667-83.626667 18.773333a85.333333 85.333333 0 0 0 101.973333 64.853334l111.36-25.173334c8.32 13.397333 19.029333 25.130667 31.573334 34.56l-34.133334 108.8-25.6 81.493334a85.333333 85.333333 0 0 0 106.666667-55.893334l34.56-108.373333a128.170667 128.170667 0 0 0 45.653333-10.24l77.653334 84.053333 56.746666 62.72a85.333333 85.333333 0 0 0 5.546667-120.32l-77.226667-84.053333c3.626667-6.912 6.656-14.208 8.96-21.76 2.688-7.424 4.693333-15.146667 5.973334-23.04l110.506666-24.746667 83.2-18.346666a85.333333 85.333333 0 0 0-101.546666-64.853334l-111.36 24.746667a128 128 0 0 0-31.573334-34.133333l34.133334-109.226667 25.6-81.066667a85.290667 85.290667 0 0 0-25.173334-4.266666zM621.226667 384a64 64 0 1 1-21.76 125.013333 64 64 0 0 1 21.333333-125.013333h0.426667zM341.333333 583.253333C289.28 619.946667 229.973333 640 170.666667 640H85.333333v85.333333h85.333334c58.453333 0 116.906667-14.933333 170.666666-42.666666 32.853333 17.066667 67.413333 28.16 102.826667 34.56l22.613333-71.253334 3.84-11.093333c-45.226667-6.4-89.6-23.893333-129.28-51.626667zM872.533333 640c2.133333 29.866667-5.12 60.16-23.04 85.333333H938.666667v-85.333333h-66.133334zM341.333333 753.92C289.28 790.613333 229.973333 810.666667 170.666667 810.666667H85.333333v85.333333h85.333334c58.453333 0 116.906667-14.933333 170.666666-42.666667 106.666667 55.466667 234.666667 55.466667 341.333334 0 53.76 27.733333 111.786667 42.666667 170.666666 42.666667h85.333334v-85.333333h-85.333334c-59.306667 0-118.613333-20.053333-170.666666-56.746667-104.106667 72.96-237.226667 72.96-341.333334 0z" p-id="21305"></path></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1692788339927" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16861" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M554.666667 661.333333a42.666667 42.666667 0 0 1-42.666667 42.666667 42.666667 42.666667 0 0 1-42.666667-42.666667 42.666667 42.666667 0 0 1 42.666667-42.666666 42.666667 42.666667 0 0 1 42.666667 42.666666z m-42.666667-181.333333a181.226667 181.226667 0 0 0-131.242667 56.213333 32 32 0 0 0 1.066667 45.226667 32 32 0 0 0 45.269333-1.066667A116.565333 116.565333 0 0 1 512 544c33.6 0 63.509333 13.930667 84.906667 36.373333a32 32 0 0 0 45.269333 1.066667 32 32 0 0 0 1.066667-45.226667A181.226667 181.226667 0 0 0 512 480z m149.333333 149.333333a32 32 0 0 0-32 32 116.48 116.48 0 0 1-32.384 80.96 117.76 117.76 0 0 1-39.253333 27.114667 32 32 0 0 0-16.938667 41.962667 32 32 0 0 0 41.92 17.002666 181.653333 181.653333 0 0 0 60.586667-41.92A181.162667 181.162667 0 0 0 693.333333 661.333333a32 32 0 0 0-32-32z m-298.666666 0a32 32 0 0 0-32 32c0 48.32 19.093333 92.629333 50.090666 125.12a181.653333 181.653333 0 0 0 60.586667 41.92 32 32 0 0 0 41.898667-17.002666 32 32 0 0 0-16.96-41.962667 117.589333 117.589333 0 0 1-39.189334-27.114667A116.522667 116.522667 0 0 1 394.666667 661.333333a32 32 0 0 0-32-32zM660.053333 62.72l-17.685333 17.664c-10.005333 10.005333-23.552 15.616-37.696 15.616h-14.677333c-31.104 0-60.949333 12.373333-82.944 34.368l-17.685334 17.664a32 32 0 0 0 0 45.269333 32 32 0 0 0 45.269334 0l17.664-17.685333a53.290667 53.290667 0 0 1 37.696-15.616h14.677333c31.104 0 60.949333-12.373333 82.944-34.368l17.685333-17.664a32 32 0 0 0 0-45.269333 32 32 0 0 0-45.269333 0zM298.666667 266.666667a32 32 0 0 0-31.744 28.032l-18.709334 149.717333a181.248 181.248 0 0 1-7.914666 34.837333L169.173333 692.672a245.333333 245.333333 0 0 0-11.392 53.162667l-18.944 189.653333A32 32 0 0 0 170.666667 970.666667h682.666666a32 32 0 0 0 31.829334-35.157334l-18.944-189.674666a245.290667 245.290667 0 0 0-11.392-53.162667l-71.125334-213.418667a181.269333 181.269333 0 0 1-7.893333-34.837333l-18.730667-149.717333A32 32 0 0 0 725.333333 266.666667H512z m28.245333 64h370.176l15.210667 121.664c2.005333 16.021333 5.589333 31.850667 10.709333 47.168l71.125333 213.376c4.245333 12.757333 7.082667 25.92 8.405334 39.296l15.466666 154.496H205.994667l15.466666-154.496a181.290667 181.290667 0 0 1 8.405334-39.296l71.125333-213.376c5.12-15.317333 8.704-31.146667 10.709333-47.146667zM256 266.666667a32 32 0 0 0-32 32 32 32 0 0 0 32 32h512a32 32 0 0 0 32-32 32 32 0 0 0-32-32z m-170.666667 640A32 32 0 0 0 53.333333 938.666667 32 32 0 0 0 85.333333 970.666667h853.333334a32 32 0 0 0 32-32 32 32 0 0 0-32-32z" p-id="16862"></path></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -944,6 +944,7 @@ export default {
'3-rank': 'Rank',
'4-location': 'Location',
'5-weather': 'Weather',
'6-power': 'Power',
chinese: 'Chinese',
mark_field: 'Field',
mark_value: 'Value',

View File

@ -943,6 +943,7 @@ export default {
'3-rank': '排名',
'4-location': '位置',
'5-weather': '天氣',
'6-power': '能源',
chinese: '中文',
mark_field: '字段',
mark_value: '值',

View File

@ -942,6 +942,7 @@ export default {
'3-rank': '排名',
'4-location': '位置',
'5-weather': '天气',
'6-power': '能源',
chinese: '中文',
mark_field: '字段',
mark_value: '值',