Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Design update etc

Russ Garrettcb41dd77ce26
diff --git a/web/locales/en/translation.json b/web/locales/en/translation.json
index f0edc10..9036742 100644
--- a/web/locales/en/translation.json
+++ b/web/locales/en/translation.json
@@ -190,7 +190,8 @@
"wind": "Wind",
"biomass": "Biomass",
"waste": "Waste",
- "battery": "Battery"
+ "battery": "Battery",
+ "unknown": "Other/Unknown"
},
"substation-type": {
"transmission": "Transmission",
diff --git a/web/package-lock.json b/web/package-lock.json
index afc9aa2..49fbb12 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -16,7 +16,7 @@
"lodash.invert": "^4.3.0",
"lodash.isequal": "^4.5.0",
"lodash.sortby": "^4.7.0",
- "maplibre-gl": "^v5.6.0",
+ "maplibre-gl": "^v5.11.0",
"redom": "^3.29.1",
"title-case": "^3.0.3"
},
@@ -32,7 +32,7 @@
"puppeteer": "^24.6.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.29.0",
- "vite": "^6.3.6",
+ "vite": "^7.2.2",
"vite-plugin-i18next-loader": "^3.0.0",
"vite-plugin-render-svg": "^1.1.1",
"vitest": "^3.1.1",
@@ -556,9 +556,9 @@
}
},
"node_modules/@eslint/config-array/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -627,9 +627,9 @@
}
},
"node_modules/@eslint/eslintrc/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -684,19 +684,32 @@
}
},
"node_modules/@eslint/plugin-kit": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.1.tgz",
- "integrity": "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w==",
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz",
+ "integrity": "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
- "@eslint/core": "^0.14.0",
+ "@eslint/core": "^0.15.2",
"levn": "^0.4.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
+ "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
+ "version": "0.15.2",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.2.tgz",
+ "integrity": "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
"node_modules/@hapi/hoek": {
"version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
@@ -827,15 +840,15 @@
}
},
"node_modules/@mapbox/point-geometry": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz",
- "integrity": "sha512-6j56HdLTwWGO0fJPlrZtdU/B13q8Uwmo18Ck2GnGgN9PCFyKTZ3UbXeEdRFh18i9XQ92eH2VdtpJHpBD3aripQ==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-1.1.0.tgz",
+ "integrity": "sha512-YGcBz1cg4ATXDCM/71L9xveh4dynfGmcLDqufR+nQQy3fKwsAZsWd/x4621/6uJaeB9mwOHE6hPeDgXz9uViUQ==",
"license": "ISC"
},
"node_modules/@mapbox/tiny-sdf": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz",
- "integrity": "sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==",
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-2.0.7.tgz",
+ "integrity": "sha512-25gQLQMcpivjOSA40g3gO6qgiFPDpWRoMfd+G/GoppPIeP6JDaMMkMrEJnMZhKyyS6iKwVt5YKu02vCUyJM3Ug==",
"license": "BSD-2-Clause"
},
"node_modules/@mapbox/unitbezier": {
@@ -845,12 +858,14 @@
"license": "BSD-2-Clause"
},
"node_modules/@mapbox/vector-tile": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz",
- "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-2.0.4.tgz",
+ "integrity": "sha512-AkOLcbgGTdXScosBWwmmD7cDlvOjkg/DetGva26pIRiZPdeJYjYKarIlb4uxVzi6bwHO6EWH82eZ5Nuv4T5DUg==",
"license": "BSD-3-Clause",
"dependencies": {
- "@mapbox/point-geometry": "~0.1.0"
+ "@mapbox/point-geometry": "~1.1.0",
+ "@types/geojson": "^7946.0.16",
+ "pbf": "^4.0.1"
}
},
"node_modules/@mapbox/whoots-js": {
@@ -863,9 +878,9 @@
}
},
"node_modules/@maplibre/maplibre-gl-style-spec": {
- "version": "23.3.0",
- "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-23.3.0.tgz",
- "integrity": "sha512-IGJtuBbaGzOUgODdBRg66p8stnwj9iDXkgbYKoYcNiiQmaez5WVRfXm4b03MCDwmZyX93csbfHFWEJJYHnn5oA==",
+ "version": "24.3.1",
+ "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-24.3.1.tgz",
+ "integrity": "sha512-TUM5JD40H2mgtVXl5IwWz03BuQabw8oZQLJTmPpJA0YTYF+B+oZppy5lNMO6bMvHzB+/5mxqW9VLG3wFdeqtOw==",
"license": "ISC",
"dependencies": {
"@mapbox/jsonlint-lines-primitives": "~2.0.2",
@@ -882,6 +897,30 @@
"gl-style-validate": "dist/gl-style-validate.mjs"
}
},
+ "node_modules/@maplibre/mlt": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@maplibre/mlt/-/mlt-1.1.0.tgz",
+ "integrity": "sha512-anR8WxKIgZUJQLlZtID0v06wd9Q//9K/6lLLU3dOzmeO/xLEzAwmEqP24jEnEUBcnZGkM4vidz9H6Q4guNAAlw==",
+ "license": "(MIT OR Apache-2.0)",
+ "dependencies": {
+ "@mapbox/point-geometry": "^1.1.0"
+ }
+ },
+ "node_modules/@maplibre/vt-pbf": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.0.3.tgz",
+ "integrity": "sha512-YsW99BwnT+ukJRkseBcLuZHfITB4puJoxnqPVjo72rhW/TaawVYsgQHcqWLzTxqknttYoDpgyERzWSa/XrETdA==",
+ "license": "MIT",
+ "dependencies": {
+ "@mapbox/point-geometry": "^1.1.0",
+ "@mapbox/vector-tile": "^2.0.4",
+ "@types/geojson-vt": "3.2.5",
+ "@types/supercluster": "^7.1.3",
+ "geojson-vt": "^4.0.2",
+ "pbf": "^4.0.1",
+ "supercluster": "^8.0.1"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -1184,9 +1223,9 @@
}
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.42.0.tgz",
- "integrity": "sha512-gldmAyS9hpj+H6LpRNlcjQWbuKUtb94lodB9uCz71Jm+7BxK1VIOo7y62tZZwxhA7j1ylv/yQz080L5WkS+LoQ==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.1.tgz",
+ "integrity": "sha512-bxZtughE4VNVJlL1RdoSE545kc4JxL7op57KKoi59/gwuU5rV6jLWFXXc8jwgFoT6vtj+ZjO+Z2C5nrY0Cl6wA==",
"cpu": [
"arm"
],
@@ -1198,9 +1237,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.42.0.tgz",
- "integrity": "sha512-bpRipfTgmGFdCZDFLRvIkSNO1/3RGS74aWkJJTFJBH7h3MRV4UijkaEUeOMbi9wxtxYmtAbVcnMtHTPBhLEkaw==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.1.tgz",
+ "integrity": "sha512-44a1hreb02cAAfAKmZfXVercPFaDjqXCK+iKeVOlJ9ltvnO6QqsBHgKVPTu+MJHSLLeMEUbeG2qiDYgbFPU48g==",
"cpu": [
"arm64"
],
@@ -1212,9 +1251,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.42.0.tgz",
- "integrity": "sha512-JxHtA081izPBVCHLKnl6GEA0w3920mlJPLh89NojpU2GsBSB6ypu4erFg/Wx1qbpUbepn0jY4dVWMGZM8gplgA==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.1.tgz",
+ "integrity": "sha512-usmzIgD0rf1syoOZ2WZvy8YpXK5G1V3btm3QZddoGSa6mOgfXWkkv+642bfUUldomgrbiLQGrPryb7DXLovPWQ==",
"cpu": [
"arm64"
],
@@ -1226,9 +1265,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.42.0.tgz",
- "integrity": "sha512-rv5UZaWVIJTDMyQ3dCEK+m0SAn6G7H3PRc2AZmExvbDvtaDc+qXkei0knQWcI3+c9tEs7iL/4I4pTQoPbNL2SA==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.1.tgz",
+ "integrity": "sha512-is3r/k4vig2Gt8mKtTlzzyaSQ+hd87kDxiN3uDSDwggJLUV56Umli6OoL+/YZa/KvtdrdyNfMKHzL/P4siOOmg==",
"cpu": [
"x64"
],
@@ -1240,9 +1279,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.42.0.tgz",
- "integrity": "sha512-fJcN4uSGPWdpVmvLuMtALUFwCHgb2XiQjuECkHT3lWLZhSQ3MBQ9pq+WoWeJq2PrNxr9rPM1Qx+IjyGj8/c6zQ==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.1.tgz",
+ "integrity": "sha512-QJ1ksgp/bDJkZB4daldVmHaEQkG4r8PUXitCOC2WRmRaSaHx5RwPoI3DHVfXKwDkB+Sk6auFI/+JHacTekPRSw==",
"cpu": [
"arm64"
],
@@ -1254,9 +1293,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.42.0.tgz",
- "integrity": "sha512-CziHfyzpp8hJpCVE/ZdTizw58gr+m7Y2Xq5VOuCSrZR++th2xWAz4Nqk52MoIIrV3JHtVBhbBsJcAxs6NammOQ==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.1.tgz",
+ "integrity": "sha512-J6ma5xgAzvqsnU6a0+jgGX/gvoGokqpkx6zY4cWizRrm0ffhHDpJKQgC8dtDb3+MqfZDIqs64REbfHDMzxLMqQ==",
"cpu": [
"x64"
],
@@ -1268,9 +1307,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.42.0.tgz",
- "integrity": "sha512-UsQD5fyLWm2Fe5CDM7VPYAo+UC7+2Px4Y+N3AcPh/LdZu23YcuGPegQly++XEVaC8XUTFVPscl5y5Cl1twEI4A==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.1.tgz",
+ "integrity": "sha512-JzWRR41o2U3/KMNKRuZNsDUAcAVUYhsPuMlx5RUldw0E4lvSIXFUwejtYz1HJXohUmqs/M6BBJAUBzKXZVddbg==",
"cpu": [
"arm"
],
@@ -1282,9 +1321,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.42.0.tgz",
- "integrity": "sha512-/i8NIrlgc/+4n1lnoWl1zgH7Uo0XK5xK3EDqVTf38KvyYgCU/Rm04+o1VvvzJZnVS5/cWSd07owkzcVasgfIkQ==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.1.tgz",
+ "integrity": "sha512-L8kRIrnfMrEoHLHtHn+4uYA52fiLDEDyezgxZtGUTiII/yb04Krq+vk3P2Try+Vya9LeCE9ZHU8CXD6J9EhzHQ==",
"cpu": [
"arm"
],
@@ -1296,9 +1335,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.42.0.tgz",
- "integrity": "sha512-eoujJFOvoIBjZEi9hJnXAbWg+Vo1Ov8n/0IKZZcPZ7JhBzxh2A+2NFyeMZIRkY9iwBvSjloKgcvnjTbGKHE44Q==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.1.tgz",
+ "integrity": "sha512-ysAc0MFRV+WtQ8li8hi3EoFi7us6d1UzaS/+Dp7FYZfg3NdDljGMoVyiIp6Ucz7uhlYDBZ/zt6XI0YEZbUO11Q==",
"cpu": [
"arm64"
],
@@ -1310,9 +1349,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.42.0.tgz",
- "integrity": "sha512-/3NrcOWFSR7RQUQIuZQChLND36aTU9IYE4j+TB40VU78S+RA0IiqHR30oSh6P1S9f9/wVOenHQnacs/Byb824g==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.1.tgz",
+ "integrity": "sha512-UV6l9MJpDbDZZ/fJvqNcvO1PcivGEf1AvKuTcHoLjVZVFeAMygnamCTDikCVMRnA+qJe+B3pSbgX2+lBMqgBhA==",
"cpu": [
"arm64"
],
@@ -1323,10 +1362,10 @@
"linux"
]
},
- "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.42.0.tgz",
- "integrity": "sha512-O8AplvIeavK5ABmZlKBq9/STdZlnQo7Sle0LLhVA7QT+CiGpNVe197/t8Aph9bhJqbDVGCHpY2i7QyfEDDStDg==",
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.1.tgz",
+ "integrity": "sha512-UDUtelEprkA85g95Q+nj3Xf0M4hHa4DiJ+3P3h4BuGliY4NReYYqwlc0Y8ICLjN4+uIgCEvaygYlpf0hUj90Yg==",
"cpu": [
"loong64"
],
@@ -1337,10 +1376,10 @@
"linux"
]
},
- "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.42.0.tgz",
- "integrity": "sha512-6Qb66tbKVN7VyQrekhEzbHRxXXFFD8QKiFAwX5v9Xt6FiJ3BnCVBuyBxa2fkFGqxOCSGGYNejxd8ht+q5SnmtA==",
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.1.tgz",
+ "integrity": "sha512-vrRn+BYhEtNOte/zbc2wAUQReJXxEx2URfTol6OEfY2zFEUK92pkFBSXRylDM7aHi+YqEPJt9/ABYzmcrS4SgQ==",
"cpu": [
"ppc64"
],
@@ -1352,9 +1391,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.42.0.tgz",
- "integrity": "sha512-KQETDSEBamQFvg/d8jajtRwLNBlGc3aKpaGiP/LvEbnmVUKlFta1vqJqTrvPtsYsfbE/DLg5CC9zyXRX3fnBiA==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.1.tgz",
+ "integrity": "sha512-gto/1CxHyi4A7YqZZNznQYrVlPSaodOBPKM+6xcDSCMVZN/Fzb4K+AIkNz/1yAYz9h3Ng+e2fY9H6bgawVq17w==",
"cpu": [
"riscv64"
],
@@ -1366,9 +1405,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.42.0.tgz",
- "integrity": "sha512-qMvnyjcU37sCo/tuC+JqeDKSuukGAd+pVlRl/oyDbkvPJ3awk6G6ua7tyum02O3lI+fio+eM5wsVd66X0jQtxw==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.1.tgz",
+ "integrity": "sha512-KZ6Vx7jAw3aLNjFR8eYVcQVdFa/cvBzDNRFM3z7XhNNunWjA03eUrEwJYPk0G8V7Gs08IThFKcAPS4WY/ybIrQ==",
"cpu": [
"riscv64"
],
@@ -1380,9 +1419,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.42.0.tgz",
- "integrity": "sha512-I2Y1ZUgTgU2RLddUHXTIgyrdOwljjkmcZ/VilvaEumtS3Fkuhbw4p4hgHc39Ypwvo2o7sBFNl2MquNvGCa55Iw==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.1.tgz",
+ "integrity": "sha512-HvEixy2s/rWNgpwyKpXJcHmE7om1M89hxBTBi9Fs6zVuLU4gOrEMQNbNsN/tBVIMbLyysz/iwNiGtMOpLAOlvA==",
"cpu": [
"s390x"
],
@@ -1394,9 +1433,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.42.0.tgz",
- "integrity": "sha512-Gfm6cV6mj3hCUY8TqWa63DB8Mx3NADoFwiJrMpoZ1uESbK8FQV3LXkhfry+8bOniq9pqY1OdsjFWNsSbfjPugw==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.1.tgz",
+ "integrity": "sha512-E/n8x2MSjAQgjj9IixO4UeEUeqXLtiA7pyoXCFYLuXpBA/t2hnbIdxHfA7kK9BFsYAoNU4st1rHYdldl8dTqGA==",
"cpu": [
"x64"
],
@@ -1408,9 +1447,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.42.0.tgz",
- "integrity": "sha512-g86PF8YZ9GRqkdi0VoGlcDUb4rYtQKyTD1IVtxxN4Hpe7YqLBShA7oHMKU6oKTCi3uxwW4VkIGnOaH/El8de3w==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.1.tgz",
+ "integrity": "sha512-IhJ087PbLOQXCN6Ui/3FUkI9pWNZe/Z7rEIVOzMsOs1/HSAECCvSZ7PkIbkNqL/AZn6WbZvnoVZw/qwqYMo4/w==",
"cpu": [
"x64"
],
@@ -1421,10 +1460,24 @@
"linux"
]
},
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.1.tgz",
+ "integrity": "sha512-0++oPNgLJHBblreu0SFM7b3mAsBJBTY0Ksrmu9N6ZVrPiTkRgda52mWR7TKhHAsUb9noCjFvAw9l6ZO1yzaVbA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.42.0.tgz",
- "integrity": "sha512-+axkdyDGSp6hjyzQ5m1pgcvQScfHnMCcsXkx8pTgy/6qBmWVhtRVlgxjWwDp67wEXXUr0x+vD6tp5W4x6V7u1A==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.1.tgz",
+ "integrity": "sha512-VJXivz61c5uVdbmitLkDlbcTk9Or43YC2QVLRkqp86QoeFSqI81bNgjhttqhKNMKnQMWnecOCm7lZz4s+WLGpQ==",
"cpu": [
"arm64"
],
@@ -1436,9 +1489,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.42.0.tgz",
- "integrity": "sha512-F+5J9pelstXKwRSDq92J0TEBXn2nfUrQGg+HK1+Tk7VOL09e0gBqUHugZv7SW4MGrYj41oNCUe3IKCDGVlis2g==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.1.tgz",
+ "integrity": "sha512-NmZPVTUOitCXUH6erJDzTQ/jotYw4CnkMDjCYRxNHVD9bNyfrGoIse684F9okwzKCV4AIHRbUkeTBc9F2OOH5Q==",
"cpu": [
"ia32"
],
@@ -1449,10 +1502,24 @@
"win32"
]
},
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.1.tgz",
+ "integrity": "sha512-2SNj7COIdAf6yliSpLdLG8BEsp5lgzRehgfkP0Av8zKfQFKku6JcvbobvHASPJu4f3BFxej5g+HuQPvqPhHvpQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.42.0.tgz",
- "integrity": "sha512-LpHiJRwkaVz/LqjHjK8LCi8osq7elmpwujwbXKNW88bM8eeGxavJIKKjkjpMHAh/2xfnrt1ZSnhTv41WYUHYmA==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.1.tgz",
+ "integrity": "sha512-rLarc1Ofcs3DHtgSzFO31pZsCh8g05R2azN1q3fF+H423Co87My0R+tazOEvYVKXSLh8C4LerMK41/K7wlklcg==",
"cpu": [
"x64"
],
@@ -1573,23 +1640,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/@types/mapbox__point-geometry": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@types/mapbox__point-geometry/-/mapbox__point-geometry-0.1.4.tgz",
- "integrity": "sha512-mUWlSxAmYLfwnRBmgYV86tgYmMIICX4kza8YnE/eIlywGe2XoOxlpVnXWwir92xRLjwyarqwpu2EJKD2pk0IUA==",
- "license": "MIT"
- },
- "node_modules/@types/mapbox__vector-tile": {
- "version": "1.3.4",
- "resolved": "https://registry.npmjs.org/@types/mapbox__vector-tile/-/mapbox__vector-tile-1.3.4.tgz",
- "integrity": "sha512-bpd8dRn9pr6xKvuEBQup8pwQfD4VUyqO/2deGjfpe6AwC8YRlyEipvefyRJUSiCJTZuCb8Pl1ciVV5ekqJ96Bg==",
- "license": "MIT",
- "dependencies": {
- "@types/geojson": "*",
- "@types/mapbox__point-geometry": "*",
- "@types/pbf": "*"
- }
- },
"node_modules/@types/node": {
"version": "24.0.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.0.tgz",
@@ -1601,12 +1651,6 @@
"undici-types": "~7.8.0"
}
},
- "node_modules/@types/pbf": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/@types/pbf/-/pbf-3.0.5.tgz",
- "integrity": "sha512-j3pOPiEcWZ34R6a6mN07mUkM4o4Lwf6hPNt8eilOeZhTFbxFXmKhvXl9Y28jotFPaI1bpPDJsbCprUoNke6OrA==",
- "license": "MIT"
- },
"node_modules/@types/supercluster": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/supercluster/-/supercluster-7.1.3.tgz",
@@ -2137,14 +2181,14 @@
"license": "MIT"
},
"node_modules/axios": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.9.0.tgz",
- "integrity": "sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==",
+ "version": "1.12.2",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.12.2.tgz",
+ "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==",
"dev": true,
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
- "form-data": "^4.0.0",
+ "form-data": "^4.0.4",
"proxy-from-env": "^1.1.0"
}
},
@@ -2263,9 +2307,9 @@
}
},
"node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2925,9 +2969,9 @@
}
},
"node_modules/earcut": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.1.tgz",
- "integrity": "sha512-0l1/0gOjESMeQyYaK5IDiPNvFeu93Z/cO0TjZh9eZ1vyCtZnA7KMZ8rQggpsJHIbGSdrqYq9OhuveadOVHCshw==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/earcut/-/earcut-3.0.2.tgz",
+ "integrity": "sha512-X7hshQbLyMJ/3RPhyObLARM2sNxxmRALLKx1+NVFFnQ9gKzmCrxm9+uLIAdBcvc8FNLpctqlQ2V6AE92Ol9UDQ==",
"license": "ISC"
},
"node_modules/eastasianwidth": {
@@ -3275,9 +3319,9 @@
}
},
"node_modules/eslint/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3862,9 +3906,9 @@
}
},
"node_modules/gl-matrix": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.3.tgz",
- "integrity": "sha512-wcCp8vu8FT22BnvKVPjXa/ICBWRq/zjFfdofZy1WSpQZpphblv12/bOQLBC1rMM7SGOFS9ltVmKOHil5+Ml7gA==",
+ "version": "3.4.4",
+ "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.4.tgz",
+ "integrity": "sha512-latSnyDNt/8zYUB6VIJ6PCh2jBjJX6gnDsoCZ7LyW7GkqrD51EWwa9qCoGixj8YqBtETQK/xY7OmpTF8xz1DdQ==",
"license": "MIT"
},
"node_modules/glob": {
@@ -3970,44 +4014,6 @@
"which": "bin/which"
}
},
- "node_modules/global-prefix": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-4.0.0.tgz",
- "integrity": "sha512-w0Uf9Y9/nyHinEk5vMJKRie+wa4kR5hmDbEhGGds/kG1PwGLLHKRoNMeJOyCQjjBkANlnScqgzcFwGHgmgLkVA==",
- "license": "MIT",
- "dependencies": {
- "ini": "^4.1.3",
- "kind-of": "^6.0.3",
- "which": "^4.0.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/global-prefix/node_modules/isexe": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
- "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
- "license": "ISC",
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/global-prefix/node_modules/which": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
- "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
- "license": "ISC",
- "dependencies": {
- "isexe": "^3.1.1"
- },
- "bin": {
- "node-which": "bin/which.js"
- },
- "engines": {
- "node": "^16.13.0 || >=18.0.0"
- }
- },
"node_modules/globals": {
"version": "14.0.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
@@ -4176,26 +4182,6 @@
"@babel/runtime": "^7.23.2"
}
},
- "node_modules/ieee754": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "BSD-3-Clause"
- },
"node_modules/ignore": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
@@ -4233,15 +4219,6 @@
"node": ">=0.8.19"
}
},
- "node_modules/ini": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz",
- "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
- "license": "ISC",
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
"node_modules/ip-address": {
"version": "9.0.5",
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
@@ -4443,15 +4420,6 @@
"json-buffer": "3.0.1"
}
},
- "node_modules/kind-of": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
- "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/kleur": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
@@ -4574,37 +4542,34 @@
}
},
"node_modules/maplibre-gl": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-5.6.0.tgz",
- "integrity": "sha512-7TuHMozUC4rlIp08bSsxCixFn18P24otrlZU/7UGCO5RufFTJadFzauTrvBHr9FB67MbJ6nvFXEftGd0bUl4Iw==",
+ "version": "5.12.0",
+ "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-5.12.0.tgz",
+ "integrity": "sha512-2B/H+DpjDO2NzsvNQYVIuKPyijhYJW/Hk3W+6BloAzXhm6nqXC3gVrntPPgP6hRH8f8j23nbNLOtM6OKplHwRQ==",
"license": "BSD-3-Clause",
"dependencies": {
"@mapbox/geojson-rewind": "^0.5.2",
"@mapbox/jsonlint-lines-primitives": "^2.0.2",
- "@mapbox/point-geometry": "^0.1.0",
- "@mapbox/tiny-sdf": "^2.0.6",
+ "@mapbox/point-geometry": "^1.1.0",
+ "@mapbox/tiny-sdf": "^2.0.7",
"@mapbox/unitbezier": "^0.0.1",
- "@mapbox/vector-tile": "^1.3.1",
+ "@mapbox/vector-tile": "^2.0.4",
"@mapbox/whoots-js": "^3.1.0",
- "@maplibre/maplibre-gl-style-spec": "^23.3.0",
+ "@maplibre/maplibre-gl-style-spec": "^24.3.1",
+ "@maplibre/mlt": "^1.1.0",
+ "@maplibre/vt-pbf": "^4.0.3",
"@types/geojson": "^7946.0.16",
"@types/geojson-vt": "3.2.5",
- "@types/mapbox__point-geometry": "^0.1.4",
- "@types/mapbox__vector-tile": "^1.3.4",
- "@types/pbf": "^3.0.5",
"@types/supercluster": "^7.1.3",
- "earcut": "^3.0.1",
+ "earcut": "^3.0.2",
"geojson-vt": "^4.0.2",
- "gl-matrix": "^3.4.3",
- "global-prefix": "^4.0.0",
+ "gl-matrix": "^3.4.4",
"kdbush": "^4.0.2",
"murmurhash-js": "^1.0.0",
- "pbf": "^3.3.0",
- "potpack": "^2.0.0",
+ "pbf": "^4.0.1",
+ "potpack": "^2.1.0",
"quickselect": "^3.0.0",
"supercluster": "^8.0.1",
- "tinyqueue": "^3.0.0",
- "vt-pbf": "^3.1.3"
+ "tinyqueue": "^3.0.0"
},
"engines": {
"node": ">=16.14.0",
@@ -5100,12 +5065,11 @@
}
},
"node_modules/pbf": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/pbf/-/pbf-3.3.0.tgz",
- "integrity": "sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pbf/-/pbf-4.0.1.tgz",
+ "integrity": "sha512-SuLdBvS42z33m8ejRbInMapQe8n0D3vN/Xd5fmWM3tufNgRQFBpaW2YVJxQZV4iPNqb0vEFvssMEo5w9c6BTIA==",
"license": "BSD-3-Clause",
"dependencies": {
- "ieee754": "^1.1.12",
"resolve-protobuf-schema": "^2.1.0"
},
"bin": {
@@ -5140,9 +5104,9 @@
}
},
"node_modules/postcss": {
- "version": "8.5.4",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.4.tgz",
- "integrity": "sha512-QSa9EBe+uwlGTFmHsPKokv3B/oEMQZxfqW0QqNCyhpa6mB1afzulwn8hihglqAb2pOw+BJgNlmXQ8la2VeHB7w==",
+ "version": "8.5.6",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
+ "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
"dev": true,
"funding": [
{
@@ -5169,9 +5133,9 @@
}
},
"node_modules/potpack": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz",
- "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.1.0.tgz",
+ "integrity": "sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==",
"license": "ISC"
},
"node_modules/prelude-ls": {
@@ -5436,13 +5400,13 @@
}
},
"node_modules/rollup": {
- "version": "4.42.0",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.42.0.tgz",
- "integrity": "sha512-LW+Vse3BJPyGJGAJt1j8pWDKPd73QM8cRXYK1IxOBgL2AGLu7Xd2YOW0M2sLUBCkF5MshXXtMApyEAEzMVMsnw==",
+ "version": "4.53.1",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.1.tgz",
+ "integrity": "sha512-n2I0V0lN3E9cxxMqBCT3opWOiQBzRN7UG60z/WDKqdX2zHUS/39lezBcsckZFsV6fUTSnfqI7kHf60jDAPGKug==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/estree": "1.0.7"
+ "@types/estree": "1.0.8"
},
"bin": {
"rollup": "dist/bin/rollup"
@@ -5452,36 +5416,31 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.42.0",
- "@rollup/rollup-android-arm64": "4.42.0",
- "@rollup/rollup-darwin-arm64": "4.42.0",
- "@rollup/rollup-darwin-x64": "4.42.0",
- "@rollup/rollup-freebsd-arm64": "4.42.0",
- "@rollup/rollup-freebsd-x64": "4.42.0",
- "@rollup/rollup-linux-arm-gnueabihf": "4.42.0",
- "@rollup/rollup-linux-arm-musleabihf": "4.42.0",
- "@rollup/rollup-linux-arm64-gnu": "4.42.0",
- "@rollup/rollup-linux-arm64-musl": "4.42.0",
- "@rollup/rollup-linux-loongarch64-gnu": "4.42.0",
- "@rollup/rollup-linux-powerpc64le-gnu": "4.42.0",
- "@rollup/rollup-linux-riscv64-gnu": "4.42.0",
- "@rollup/rollup-linux-riscv64-musl": "4.42.0",
- "@rollup/rollup-linux-s390x-gnu": "4.42.0",
- "@rollup/rollup-linux-x64-gnu": "4.42.0",
- "@rollup/rollup-linux-x64-musl": "4.42.0",
- "@rollup/rollup-win32-arm64-msvc": "4.42.0",
- "@rollup/rollup-win32-ia32-msvc": "4.42.0",
- "@rollup/rollup-win32-x64-msvc": "4.42.0",
+ "@rollup/rollup-android-arm-eabi": "4.53.1",
+ "@rollup/rollup-android-arm64": "4.53.1",
+ "@rollup/rollup-darwin-arm64": "4.53.1",
+ "@rollup/rollup-darwin-x64": "4.53.1",
+ "@rollup/rollup-freebsd-arm64": "4.53.1",
+ "@rollup/rollup-freebsd-x64": "4.53.1",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.53.1",
+ "@rollup/rollup-linux-arm-musleabihf": "4.53.1",
+ "@rollup/rollup-linux-arm64-gnu": "4.53.1",
+ "@rollup/rollup-linux-arm64-musl": "4.53.1",
+ "@rollup/rollup-linux-loong64-gnu": "4.53.1",
+ "@rollup/rollup-linux-ppc64-gnu": "4.53.1",
+ "@rollup/rollup-linux-riscv64-gnu": "4.53.1",
+ "@rollup/rollup-linux-riscv64-musl": "4.53.1",
+ "@rollup/rollup-linux-s390x-gnu": "4.53.1",
+ "@rollup/rollup-linux-x64-gnu": "4.53.1",
+ "@rollup/rollup-linux-x64-musl": "4.53.1",
+ "@rollup/rollup-openharmony-arm64": "4.53.1",
+ "@rollup/rollup-win32-arm64-msvc": "4.53.1",
+ "@rollup/rollup-win32-ia32-msvc": "4.53.1",
+ "@rollup/rollup-win32-x64-gnu": "4.53.1",
+ "@rollup/rollup-win32-x64-msvc": "4.53.1",
"fsevents": "~2.3.2"
}
},
- "node_modules/rollup/node_modules/@types/estree": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",
- "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
@@ -5976,14 +5935,14 @@
"license": "MIT"
},
"node_modules/tinyglobby": {
- "version": "0.2.14",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
- "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "fdir": "^6.4.4",
- "picomatch": "^4.0.2"
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
},
"engines": {
"node": ">=12.0.0"
@@ -5993,11 +5952,14 @@
}
},
"node_modules/tinyglobby/node_modules/fdir": {
- "version": "6.4.6",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",
- "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==",
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
"peerDependencies": {
"picomatch": "^3 || ^4"
},
@@ -6008,9 +5970,9 @@
}
},
"node_modules/tinyglobby/node_modules/picomatch": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
- "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -6216,24 +6178,24 @@
}
},
"node_modules/vite": {
- "version": "6.3.6",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.6.tgz",
- "integrity": "sha512-0msEVHJEScQbhkbVTb/4iHZdJ6SXp/AvxL2sjwYQFfBqleHtnCqv1J3sa9zbWz/6kW1m9Tfzn92vW+kZ1WV6QA==",
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz",
+ "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"esbuild": "^0.25.0",
- "fdir": "^6.4.4",
- "picomatch": "^4.0.2",
- "postcss": "^8.5.3",
- "rollup": "^4.34.9",
- "tinyglobby": "^0.2.13"
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
},
"bin": {
"vite": "bin/vite.js"
},
"engines": {
- "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ "node": "^20.19.0 || >=22.12.0"
},
"funding": {
"url": "https://github.com/vitejs/vite?sponsor=1"
@@ -6242,14 +6204,14 @@
"fsevents": "~2.3.3"
},
"peerDependencies": {
- "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@types/node": "^20.19.0 || >=22.12.0",
"jiti": ">=1.21.0",
- "less": "*",
+ "less": "^4.0.0",
"lightningcss": "^1.21.0",
- "sass": "*",
- "sass-embedded": "*",
- "stylus": "*",
- "sugarss": "*",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
"terser": "^5.16.0",
"tsx": "^4.8.1",
"yaml": "^2.4.2"
@@ -6348,11 +6310,14 @@
}
},
"node_modules/vite/node_modules/fdir": {
- "version": "6.4.6",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz",
- "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==",
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
"dev": true,
"license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
"peerDependencies": {
"picomatch": "^3 || ^4"
},
@@ -6363,9 +6328,9 @@
}
},
"node_modules/vite/node_modules/picomatch": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
- "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -6513,17 +6478,6 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/vt-pbf": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz",
- "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==",
- "license": "MIT",
- "dependencies": {
- "@mapbox/point-geometry": "0.1.0",
- "@mapbox/vector-tile": "^1.3.1",
- "pbf": "^3.2.1"
- }
- },
"node_modules/wait-on": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/wait-on/-/wait-on-8.0.3.tgz",
diff --git a/web/package.json b/web/package.json
index 31f4df8..ec93075 100644
--- a/web/package.json
+++ b/web/package.json
@@ -33,7 +33,7 @@
"puppeteer": "^24.6.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.29.0",
- "vite": "^6.3.6",
+ "vite": "^7.2.2",
"vite-plugin-i18next-loader": "^3.0.0",
"vite-plugin-render-svg": "^1.1.1",
"vitest": "^3.1.1",
@@ -49,7 +49,7 @@
"lodash.invert": "^4.3.0",
"lodash.isequal": "^4.5.0",
"lodash.sortby": "^4.7.0",
- "maplibre-gl": "^v5.6.0",
+ "maplibre-gl": "^v5.11.0",
"redom": "^3.29.1",
"title-case": "^3.0.3"
}
diff --git a/web/src/friendlyicons.ts b/web/src/friendlyicons.ts
index f2285de..22e8dcd 100644
--- a/web/src/friendlyicons.ts
+++ b/web/src/friendlyicons.ts
@@ -4,7 +4,8 @@ import { manifest } from 'virtual:render-svg'
const friendlyIcons: { [key: string]: string } = {
power_transformer: manifest['svg']['power_transformer'],
power_tower: manifest['svg']['power_tower'],
- power_pole: manifest['svg']['power_pole']
+ power_pole: manifest['svg']['power_pole'],
+ power_generator_symbol: manifest['svg']['power_generator']
}
export default friendlyIcons
diff --git a/web/src/icons/cabinet.svg b/web/src/icons/cabinet.svg
index 0ce4048..90c9376 100644
--- a/web/src/icons/cabinet.svg
+++ b/web/src/icons/cabinet.svg
@@ -1,13 +1,39 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 70" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(0.89149,0,0,0.632698,5.36502,3.43722)">
- <rect x="3.834" y="3.653" width="92.467" height="92.467" style="fill:white;stroke:black;stroke-width:4.04px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.415,81.875c21.8,0,39.5-17.6,39.5-39.5S64.215,2.875,42.415,2.875,2.915,20.575,2.915,42.375s17.6,39.5,39.5,39.5Z" />
+ <rect class="c" x="24.015" y="23.975" width="36.9" height="36.8" />
+ <line class="c" x1="42.415" y1="60.775" x2="42.415" y2="23.975" />
+ </g>
</g>
- <g transform="matrix(1,0,0,1,0,-7.3509)">
- <path d="M50,13.099L50,71.603" style="fill:none;stroke:black;stroke-width:2.08px;"/>
- </g>
- <g transform="matrix(1.34462,0,0,1.34462,-15.4305,-19.3279)">
- <path d="M57.383,39.43C57.383,38.893 56.947,38.457 56.41,38.457L54.184,38.457C53.646,38.457 53.21,38.893 53.21,39.43L53.21,41.377C53.21,41.915 53.646,42.351 54.184,42.351L56.41,42.351C56.947,42.351 57.383,41.915 57.383,41.377L57.383,39.43Z" style="stroke:white;stroke-width:0.74px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/comms_tower.svg b/web/src/icons/comms_tower.svg
index e49b0bb..5782da7 100644
--- a/web/src/icons/comms_tower.svg
+++ b/web/src/icons/comms_tower.svg
@@ -1,20 +1,44 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="15" height="25.604" viewBox="0, 0, 15, 25.604">
- <g id="Layer_1">
- <g id="path1061">
- <path d="M8.563,5.157 C8.554,5.725 8.034,6.179 7.401,6.173 C6.768,6.166 6.26,5.702 6.266,5.134 C6.271,4.566 6.788,4.11 7.421,4.113 C8.054,4.116 8.565,4.579 8.563,5.146" fill="#000000"/>
- <path d="M8.563,5.157 C8.554,5.725 8.034,6.179 7.401,6.173 C6.768,6.166 6.26,5.702 6.266,5.134 C6.271,4.566 6.788,4.11 7.421,4.113 C8.054,4.116 8.565,4.579 8.563,5.146" fill-opacity="0" stroke="#000000" stroke-width="0.125" stroke-linecap="round"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <polygon class="d" points="52.318 71.159 42.792 8.975 42.592 8.975 33.018 71.159 52.318 71.159" />
+ <path class="c" d="M72.592,4.075c6.1,10.6,6.4,24.2-.1,35.6" />
+ <path class="c" d="M62.492,9.275c4.3,7.5,4.5,17.1-.1,25.2" />
+ <path class="c" d="M12.792,4.075c-6.1,10.6-6.4,24.2.1,35.6" />
+ <path class="c" d="M22.892,9.275c-4.3,7.5-4.5,17.1.1,25.2" />
+ <path class="d" d="M42.718,80.759c5.3,0,9.6-4.3,9.6-9.6,0-5.4-4.3-9.7-9.6-9.7-5.4,0-9.7,4.3-9.7,9.7,0,5.3,4.3,9.6,9.7,9.6Z" />
+ <line class="c" x1="52.318" y1="71.059" x2="82.018" y2="71.059" />
+ <line class="c" x1="3.018" y1="71.159" x2="33.018" y2="71.159" />
+ </g>
</g>
- <path d="M4.026,22.46 C10.409,22.46 10.409,22.46 10.409,22.46" fill-opacity="0" stroke="#000000" stroke-width="0.774" id="path2935"/>
- <path d="M5.155,19.753 C11.05,19.753 8.363,19.753 9.224,19.753" fill-opacity="0" stroke="#000000" stroke-width="0.774" id="path3557"/>
- <path d="M7.387,6.031 C7.387,6.046 7.387,6.062 7.387,6.077 C7.387,7.312 7.561,18.068 2.67,25.12" fill-opacity="0" stroke="#000000" stroke-width="0.967" id="path1686"/>
- <path d="M7.373,6.007 C7.373,6.023 7.373,6.038 7.373,6.054 C7.373,7.289 7.199,18.045 12.089,25.097" fill-opacity="0" stroke="#000000" stroke-width="0.967" id="path2308"/>
- <path d="M12.393,0.117 C14.102,1.482 15.015,3.477 14.869,5.525 C14.723,7.573 13.535,9.448 11.647,10.607" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4190"/>
- <path d="M10.387,1.78 C11.607,2.646 12.277,3.993 12.179,5.386 C12.081,6.778 11.227,8.039 9.895,8.76" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4196"/>
- <path d="M8.924,3.439 C9.537,3.874 9.874,4.552 9.825,5.252 C9.776,5.953 9.346,6.587 8.676,6.95" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4198"/>
- <path d="M2.607,0.127 C0.898,1.493 -0.015,3.487 0.131,5.535 C0.277,7.583 1.465,9.458 3.353,10.618" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4209"/>
- <path d="M4.613,1.79 C3.393,2.656 2.723,4.003 2.821,5.396 C2.919,6.789 3.773,8.05 5.105,8.771" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4210"/>
- <path d="M6.077,3.449 C5.463,3.884 5.126,4.562 5.175,5.263 C5.224,5.963 5.654,6.597 6.324,6.96" fill-opacity="0" stroke="#5A5A5A" stroke-width="0.247" stroke-linecap="round" id="path4212"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/converter.svg b/web/src/icons/converter.svg
index d8b888e..bccca98 100644
--- a/web/src/icons/converter.svg
+++ b/web/src/icons/converter.svg
@@ -1,15 +1,38 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
- <g transform="matrix(1,0,0,1,0.5,0.313814)">
- <g id="Layer_1">
- <g>
- <g transform="matrix(1,0,0,1,-0.5,-0.284314)">
- <path d="M12.5,23.529C6.377,23.529 1.413,18.578 1.413,12.471C1.413,6.363 6.377,1.412 12.5,1.412C18.623,1.412 23.587,6.363 23.587,12.471C23.587,18.578 18.623,23.529 12.5,23.529Z" style="fill:white;fill-rule:nonzero;"/>
- <path d="M12.5,23.529C6.377,23.529 1.413,18.578 1.413,12.471C1.413,6.363 6.377,1.412 12.5,1.412C18.623,1.412 23.587,6.363 23.587,12.471C23.587,18.578 18.623,23.529 12.5,23.529Z" style="fill-opacity:0;fill-rule:nonzero;stroke:black;stroke-width:1.8px;"/>
- </g>
- <path d="M4.078,20.886L20.848,4.056" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:0.72px;"/>
- </g>
- </g>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.518,81.875c21.8,0,39.5-17.6,39.5-39.5S64.318,2.875,42.518,2.875,3.018,20.575,3.018,42.375s17.6,39.5,39.5,39.5Z" />
+ <line class="c" x1="14.618" y1="70.275" x2="70.718" y2="14.175" />
+ </g>
</g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_capacitor.svg b/web/src/icons/power_capacitor.svg
index 8f43be6..89f33ab 100644
--- a/web/src/icons/power_capacitor.svg
+++ b/web/src/icons/power_capacitor.svg
@@ -1,16 +1,43 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 80 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g>
- <path d="M12.252,45.361L67.748,45.765" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- <path d="M12.252,54.504L67.748,54.908" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- <path d="M40,45.361L40,10.219" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- <path d="M40,54.908L40,89.781" style="fill:none;stroke:white;stroke-width:14.58px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.441,81.892c21.8,0,39.5-17.6,39.5-39.5S64.241,2.892,42.441,2.892,2.941,20.592,2.941,42.392s17.6,39.5,39.5,39.5Z" />
+ <line class="c" x1="19.741" y1="49.792" x2="65.441" y2="49.792" />
+ <line class="c" x1="19.741" y1="49.792" x2="65.441" y2="49.792" />
+ <line class="c" x1="20.041" y1="34.992" x2="65.741" y2="34.992" />
+ <line class="c" x1="20.041" y1="34.992" x2="65.741" y2="34.992" />
+ <path class="c" d="M42.441,49.792v23.596" />
+ <path class="c" d="M42.441,11.396v23.596" />
+ </g>
</g>
- <g>
- <path d="M12.252,45.361L67.748,45.765" style="fill:none;stroke:rgb(25,25,25);stroke-width:5.21px;stroke-linecap:butt;"/>
- <path d="M12.252,54.504L67.748,54.908" style="fill:none;stroke:rgb(25,25,25);stroke-width:5.21px;stroke-linecap:butt;"/>
- <path d="M40,45.361L40,10.219" style="fill:none;stroke:rgb(25,25,25);stroke-width:3.13px;"/>
- <path d="M40,54.908L40,89.781" style="fill:none;stroke:rgb(25,25,25);stroke-width:3.13px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_capacitor_shunt.svg b/web/src/icons/power_capacitor_shunt.svg
index 9238a91..c641407 100644
--- a/web/src/icons/power_capacitor_shunt.svg
+++ b/web/src/icons/power_capacitor_shunt.svg
@@ -1,50 +1,28 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 80 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(1.08347,0,0,1.08347,-3.33867,0.72)">
- <g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-0.12591)">
- <path d="M22.944,78.4L57.056,78.4" style="fill:none;stroke:white;stroke-width:7.5px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-1.41703)">
- <path d="M28.357,84.7L51.643,84.7" style="fill:none;stroke:white;stroke-width:7.5px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-3.05585)">
- <path d="M33.325,90.969L46.675,90.969" style="fill:none;stroke:white;stroke-width:7.5px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M12.252,45.361L67.748,45.765" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M12.252,54.504L67.748,54.908" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M40,45.361L40,10.219" style="fill:none;stroke:white;stroke-width:14.58px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.55529,3.08146,18.5842)">
- <path d="M40,54.908L40,89.781" style="fill:none;stroke:white;stroke-width:17.67px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M12.252,45.361L67.748,45.765" style="fill:none;stroke:rgb(25,25,25);stroke-width:5.21px;stroke-linecap:butt;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M12.252,54.504L67.748,54.908" style="fill:none;stroke:rgb(25,25,25);stroke-width:5.21px;stroke-linecap:butt;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08146,-1.60378)">
- <path d="M40,45.361L40,10.219" style="fill:none;stroke:rgb(25,25,25);stroke-width:3.13px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.638932,3.08146,13.9916)">
- <path d="M40,54.908L40,89.781" style="fill:none;stroke:rgb(25,25,25);stroke-width:3.63px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-0.12591)">
- <path d="M22.944,78.4L57.056,78.4" style="fill:none;stroke:rgb(25,25,25);stroke-width:2px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-1.41703)">
- <path d="M28.357,84.7L51.643,84.7" style="fill:none;stroke:rgb(25,25,25);stroke-width:2px;"/>
- </g>
- <g transform="matrix(0.92296,0,0,0.92296,3.08134,-3.05585)">
- <path d="M33.325,90.969L46.675,90.969" style="fill:none;stroke:rgb(25,25,25);stroke-width:2px;"/>
- </g>
- </g>
- </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.73001,82.13573c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.83001,3.13573,3.23001,20.83573,3.23001,42.63573c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <line class="c" x1="20.03001" y1="50.03573" x2="65.73001" y2="50.03573"/>
+ <line class="c" x1="20.03001" y1="50.03573" x2="65.73001" y2="50.03573"/>
+ <line class="c" x1="20.33001" y1="35.23573" x2="66.03001" y2="35.23573"/>
+ <line class="c" x1="20.33001" y1="35.23573" x2="66.03001" y2="35.23573"/>
+ <path class="c" d="M42.73001,50.03573v23.59606"/>
+ <path class="c" d="M42.73001,11.63967v23.59606"/>
</svg>
diff --git a/web/src/icons/power_compensator.svg b/web/src/icons/power_compensator.svg
index 6f506b5..7b5a537 100644
--- a/web/src/icons/power_compensator.svg
+++ b/web/src/icons/power_compensator.svg
@@ -1,16 +1,15 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="14.173" height="22.11" viewBox="0, 0, 14.173, 22.11">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="35.0px" height="54.60029633810767px" viewBox="0, 0, 14.173, 22.11">
<g id="Layer_1">
- <path d="M0.5,0 L13.673,0 C13.949,0 14.173,0.224 14.173,0.5 L14.173,21.61 C14.173,21.886 13.949,22.11 13.673,22.11 L0.5,22.11 C0.224,22.11 0,21.886 0,21.61 L0,0.5 C0,0.224 0.224,0 0.5,0 z" fill="#FFFFFF"/>
- <path d="M10.288,2.188" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M7.087,0.519 L7.087,8.206" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M7.046,10.188 L7.046,19.281" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M0.54,8.394 L13.665,8.394" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M0.54,10.188 L13.665,10.188" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
+ <path d="M0.5,0 L13.673,0 C13.949,0 14.173,0.224 14.173,0.5 L14.173,21.61 C14.173,21.886 13.949,22.11 13.673,22.11 L0.5,22.11 C0.224,22.11 0,21.886 0,21.61 L0,0.5 C0,0.224 0.224,0 0.5,0 z" fill="#FFFFFF" />
+ <path d="M10.288,2.188" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" />
+ <path d="M7.087,0.519 L7.087,8.206" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round" />
+ <path d="M7.046,10.188 L7.046,19.281" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" />
+ <path d="M0.54,8.394 L13.665,8.394" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round" />
+ <path d="M0.54,10.188 L13.665,10.188" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round" />
<g>
- <path d="M5.105,19.281 L9.149,19.281 L7.087,21.344 L5.024,19.281 z" fill="#3B3B3B"/>
- <path d="M5.105,19.281 L9.149,19.281 L7.087,21.344 L5.024,19.281 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-miterlimit="3"/>
+ <path d="M5.105,19.281 L9.149,19.281 L7.087,21.344 L5.024,19.281 z" fill="#3B3B3B" />
+ <path d="M5.105,19.281 L9.149,19.281 L7.087,21.344 L5.024,19.281 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-miterlimit="3" />
</g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_compensator_frame.svg b/web/src/icons/power_compensator_frame.svg
index 9665200..d969760 100644
--- a/web/src/icons/power_compensator_frame.svg
+++ b/web/src/icons/power_compensator_frame.svg
@@ -1,7 +1,6 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 100 80" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
<g transform="matrix(1.05749,0,0,0.941319,-2.01476,-7.53568)">
- <rect x="5.946" y="13.23" width="86.482" height="74.538" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.52px;"/>
+ <rect x="5.946" y="13.23" width="86.482" height="74.538" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.52px;" />
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_filter.svg b/web/src/icons/power_filter.svg
index 4a9d962..c9ec9e2 100644
--- a/web/src/icons/power_filter.svg
+++ b/web/src/icons/power_filter.svg
@@ -1,13 +1,39 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(1.05749,0,0,0.941319,-2.01476,-7.53568)">
- <rect x="5.946" y="13.23" width="86.482" height="74.538" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.52px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.415,81.892c21.8,0,39.5-17.6,39.5-39.5S64.215,2.892,42.415,2.892,2.915,20.592,2.915,42.392s17.6,39.5,39.5,39.5Z" />
+ <line class="c" x1="22.749" y1="62.058" x2="62.08" y2="22.727" />
+ <path class="c" d="M13.415,42.392c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5,6.5,14.5,14.5,14.5,14.5-6.5,14.5-14.5" />
+ </g>
</g>
- <g transform="matrix(0.165807,0,0,0.327873,-23.4896,-62.2501)">
- <path d="M229.957,316.755C231.816,315.277 233.668,313.79 235.52,312.303M235.52,312.303C248.281,302.079 261.055,291.794 274.773,282.87M274.773,282.87C286.904,274.978 299.941,268.09 314.027,264.47M314.027,264.47C326.877,261.186 340.351,260.939 353.28,263.956M353.28,263.956C367.341,267.196 380.415,273.829 392.534,281.519M392.534,281.519C406.301,290.244 419.087,300.427 431.787,310.619M431.787,310.619C444.606,320.888 457.372,331.289 471.041,340.419M471.041,340.419C483.18,348.545 496.187,355.772 510.294,359.823M510.294,359.823C523.043,363.484 536.522,364.24 549.547,361.605M549.547,361.605C563.572,358.831 576.686,352.539 588.801,345.102M588.801,345.102C602.613,336.61 615.404,326.571 628.054,316.458M628.054,316.458C637.471,308.931 646.839,301.337 656.49,294.11" style="fill:none;stroke:black;stroke-width:24.06px;stroke-linejoin:miter;stroke-miterlimit:2;"/>
- </g>
- <g transform="matrix(1,0,0,1,3.24379,-10.5993)">
- <path d="M24.251,75.003L69.261,26.62" style="fill:none;stroke:black;stroke-width:2.92px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_generator.svg b/web/src/icons/power_generator.svg
index 02e9d04..e1d915b 100644
--- a/web/src/icons/power_generator.svg
+++ b/web/src/icons/power_generator.svg
@@ -1,10 +1,38 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(0.928178,0,0,0.928178,3.59111,3.59301)">
- <circle cx="50" cy="50" r="50" style="fill:rgb(235,235,235);stroke:black;stroke-width:6.73px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.441,81.927c21.8,0,39.5-17.6,39.5-39.5S64.241,2.927,42.441,2.927,2.941,20.627,2.941,42.427s17.6,39.5,39.5,39.5Z" />
+ <path class="c" d="M13.441,42.427c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5,6.5,14.5,14.5,14.5,14.5-6.5,14.5-14.5" />
+ </g>
</g>
- <g transform="matrix(0.165807,0,0,0.327873,-23.4894,-52.4604)">
- <path d="M229.957,316.755C231.816,315.277 233.668,313.79 235.52,312.303M235.52,312.303C248.281,302.079 261.055,291.794 274.773,282.87M274.773,282.87C286.904,274.978 299.941,268.09 314.027,264.47M314.027,264.47C326.877,261.186 340.351,260.939 353.28,263.956M353.28,263.956C367.341,267.196 380.415,273.829 392.534,281.519M392.534,281.519C406.301,290.244 419.087,300.427 431.787,310.619M431.787,310.619C444.606,320.888 457.372,331.289 471.041,340.419M471.041,340.419C483.18,348.545 496.187,355.772 510.294,359.823M510.294,359.823C523.043,363.484 536.522,364.24 549.547,361.605M549.547,361.605C563.572,358.831 576.686,352.539 588.801,345.102M588.801,345.102C602.613,336.61 615.404,326.571 628.054,316.458M628.054,316.458C637.471,308.931 646.839,301.337 656.49,294.11" style="fill:none;stroke:black;stroke-width:24.06px;stroke-linejoin:miter;stroke-miterlimit:2;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_generator_solar.svg b/web/src/icons/power_generator_solar.svg
index a223a89..381e648 100644
--- a/web/src/icons/power_generator_solar.svg
+++ b/web/src/icons/power_generator_solar.svg
@@ -1,21 +1,42 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(0.974987,0,0,0.965938,1.50148,1.70308)">
- <g transform="matrix(1.0539,0,0,1.0539,-1.87758,-4.45753)">
- <path d="M28.334,91.592C13.975,84.057 4.171,69 4.171,51.672C4.171,26.807 24.359,6.619 49.224,6.619C70.563,6.619 88.456,21.486 93.103,41.418" style="fill:rgb(235,235,235);stroke:black;stroke-width:6.06px;"/>
- </g>
- <g transform="matrix(1.0539,0,0,1.0539,-1.87758,-4.45753)">
- <path d="M93.103,41.418C93.871,44.712 94.277,48.145 94.277,51.672C94.277,76.538 74.09,96.725 49.224,96.725C41.687,96.725 34.58,94.87 28.334,91.592" style="fill:rgb(114,107,169);stroke:black;stroke-width:6.06px;"/>
- </g>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.467,81.927c21.8,0,39.5-17.6,39.5-39.5S64.267,2.927,42.467,2.927,2.967,20.627,2.967,42.427s17.6,39.5,39.5,39.5Z" />
+ <line class="c" x1="15.567" y1="34.427" x2="29.667" y2="48.527" />
+ <line class="c" x1="35.167" y1="15.227" x2="49.267" y2="29.327" />
+ <polyline class="c" points="37.267 41.127 37.267 56.127 22.267 56.127" />
+ <polyline class="c" points="56.867 21.927 56.867 36.927 41.867 36.927" />
+ <line class="c" x1="34.867" y1="71.027" x2="70.767" y2="35.127" />
+ </g>
</g>
- <g transform="matrix(0.502803,0.684469,-0.680672,0.500015,24.1819,-10.5527)">
- <path d="M37.189,37.377L37.189,32.29L78.905,32.29L78.905,22.962L90.71,34.833L78.905,46.705L78.905,37.377L37.189,37.377Z"/>
- </g>
- <g transform="matrix(0.502803,0.684469,-0.680672,0.500015,49.6324,-29.5056)">
- <path d="M37.189,37.377L37.189,32.29L78.905,32.29L78.905,22.962L90.71,34.833L78.905,46.705L78.905,37.377L37.189,37.377Z"/>
- </g>
- <g transform="matrix(0.994864,0.0343776,-0.0268535,0.996496,1.28994,-1.30264)">
- <path d="M29.329,92.516C29.329,92.516 83.414,48.004 88.336,44.032C89.039,43.465 98.524,35.585 96.451,37.31C79.872,51.105 29.329,92.516 29.329,92.516Z" style="fill:rgb(114,107,169);stroke:black;stroke-width:0.63px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_line_ref.svg b/web/src/icons/power_line_ref.svg
index c9b5e48..39c6af6 100644
--- a/web/src/icons/power_line_ref.svg
+++ b/web/src/icons/power_line_ref.svg
@@ -1,10 +1,9 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="34" height="14" viewBox="0, 0, 34, 14">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="35.0px" height="14.411764705882353px" viewBox="0, 0, 34, 14">
<g id="Layer_1">
<g>
- <path d="M8.702,13.521 L0.403,7.002 L8.7,0.481 L25.297,0.479 L33.597,6.998 L25.299,13.518 z" fill="#FFFFFF"/>
- <path d="M8.702,13.521 L0.403,7.002 L8.7,0.481 L25.297,0.479 L33.597,6.998 L25.299,13.518 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="0.48" stroke-linecap="round" stroke-linejoin="round"/>
+ <path d="M8.702,13.521 L0.403,7.002 L8.7,0.481 L25.297,0.479 L33.597,6.998 L25.299,13.518 z" fill="#FFFFFF" />
+ <path d="M8.702,13.521 L0.403,7.002 L8.7,0.481 L25.297,0.479 L33.597,6.998 L25.299,13.518 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="0.48" stroke-linecap="round" stroke-linejoin="round" />
</g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant.svg b/web/src/icons/power_plant.svg
old mode 100644
new mode 100755
index 825a586..2593198
--- a/web/src/icons/power_plant.svg
+++ b/web/src/icons/power_plant.svg
@@ -1,10 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
- </g>
- </g>
-</svg>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: #fff;
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 4.99996px;
+ }
+ </style>
+ </defs>
+ <rect class="c" x="3.0731" y="2.91112" width="78.99874" height="78.99874"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_battery.svg b/web/src/icons/power_plant_battery.svg
old mode 100644
new mode 100755
index 669f9ac..bc0f45e
--- a/web/src/icons/power_plant_battery.svg
+++ b/web/src/icons/power_plant_battery.svg
@@ -1,20 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Background">
- <rect x="0" y="0" width="28.346" height="28.346" fill="#000000" fill-opacity="0"/>
- </g>
- <g id="Layer_1">
- <g>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill="#FFFFFF"/>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
- </g>
- <path d="M5.017,7.193 L23.329,7.193" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M8.142,9.318 L20.204,9.318" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5" stroke-linecap="round"/>
- <path d="M5.017,18.5 L23.329,18.5" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M8.142,20.625 L20.204,20.625" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5" stroke-linecap="round"/>
- <path d="M14.173,3.131 L14.173,7.193" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M14.173,20.562 L14.173,24.625" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M14.173,9.318 L14.173,18.5" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-dasharray="2,2"/>
- </g>
-</svg>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ fill: none;
+ }
+
+ .c, .d, .e {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .d, .e {
+ stroke-width: 4.99996px;
+ }
+
+ .e {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <rect class="e" x="3.0731" y="2.91112" width="78.99874" height="78.99874"/>
+ <line class="c" x1="35.39344" y1="64.98295" x2="35.39344" y2="19.28295"/>
+ <path class="c" d="M50.19344,42.58295c11,0,12.59606,0,23.59606,0"/>
+ <path class="c" d="M11.79738,42.58295c11,0,12.59606,0,23.59606,0"/>
+ <line class="d" x1="50.19344" y1="59.92046" x2="50.19344" y2="24.92046"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_biomass.svg b/web/src/icons/power_plant_biomass.svg
index 270aac7..c67ed50 100644
--- a/web/src/icons/power_plant_biomass.svg
+++ b/web/src/icons/power_plant_biomass.svg
@@ -1,15 +1,47 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Background">
- <rect x="0" y="0" width="28.346" height="28.346" fill="#000000" fill-opacity="0"/>
- </g>
- <g id="Layer_1">
- <g>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill="#FFFFFF"/>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <path class="c" d="M42.367,13.244c0,5-7.4,10.9-15.3,14" />
+ <path class="c" d="M42.367,28.044c0,6.2-11.2,13.7-21,15.7" />
+ <path class="c" d="M42.367,45.844c0,6.5-13.9,14.7-23.3,14.7" />
+ <path class="c" d="M42.467,13.244c0,5,7.4,10.9,15.3,14" />
+ <path class="c" d="M42.467,28.044c0,6.2,11.2,13.7,21,15.7" />
+ <path class="c" d="M42.467,45.844c0,6.5,13.9,14.7,23.3,14.7" />
+ <line class="c" x1="42.467" y1="13.344" x2="42.467" y2="72.944" />
+ </g>
+ </g>
</g>
- <path d="M6.872,19.12 L21.122,19.057 L15.504,13.432 L21.122,13.432 L13.553,5.87 L6.872,13.432 L12.489,13.432 L6.872,19.12 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.8"/>
- <path d="M14.173,19.12 L14.173,23.307" fill-opacity="0" stroke="#3B3B3B" stroke-width="2"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_coal.svg b/web/src/icons/power_plant_coal.svg
index 4fc8174..503ab30 100644
--- a/web/src/icons/power_plant_coal.svg
+++ b/web/src/icons/power_plant_coal.svg
@@ -1,12 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <line class="c" x1="14.818" y1="29.961" x2="70.318" y2="29.961" />
+ <line class="c" x1="14.818" y1="54.961" x2="70.318" y2="54.961" />
+ </g>
+ </g>
</g>
- <path d="M2.185,11.507 L26.767,11.507" fill-opacity="0" stroke="#3B3B3B" stroke-width="3"/>
- <path d="M2.185,16.82 L26.767,16.82" fill-opacity="0" stroke="#3B3B3B" stroke-width="3"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_geothermal.svg b/web/src/icons/power_plant_geothermal.svg
index c434b21..650dc08 100644
--- a/web/src/icons/power_plant_geothermal.svg
+++ b/web/src/icons/power_plant_geothermal.svg
@@ -1,14 +1,43 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <line class="c" x1="29.992" y1="70.661" x2="54.992" y2="70.661" />
+ <line class="c" x1="24.992" y1="59.661" x2="59.992" y2="59.661" />
+ <line class="c" x1="12.492" y1="37.661" x2="72.492" y2="37.661" />
+ <line class="c" x1="19.992" y1="48.661" x2="64.992" y2="48.661" />
+ </g>
+ </g>
</g>
- <path d="M2.445,14.673 L26.767,14.673" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linecap="round"/>
- <path d="M7.704,17.382 L21.642,17.382" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linecap="round"/>
- <path d="M9.236,20.382 L20.111,20.382" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linecap="round"/>
- <path d="M11.204,23.257 L18.142,23.257" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linecap="round"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_hydro.svg b/web/src/icons/power_plant_hydro.svg
index 43ffad0..386b761 100644
--- a/web/src/icons/power_plant_hydro.svg
+++ b/web/src/icons/power_plant_hydro.svg
@@ -1,11 +1,39 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <line class="c" x1="22.801" y1="62.127" x2="62.132" y2="22.796" />
+ </g>
</g>
- <path d="M2.579,26.767 L26.767,2.579" fill-opacity="0" stroke="#3B3B3B" stroke-width="3"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_nuclear.svg b/web/src/icons/power_plant_nuclear.svg
index 0ba5399..7abf568 100644
--- a/web/src/icons/power_plant_nuclear.svg
+++ b/web/src/icons/power_plant_nuclear.svg
@@ -1,11 +1,39 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <path class="c" d="M42.441,67.461c13.8,0,25-11,25-25.2,0-13.8-11.2-24.8-25-24.8s-25,11-25,24.8c0,14.2,11.2,25.2,25,25.2Z" />
+ </g>
</g>
- <path d="M14.673,19.361 C12.084,19.361 9.986,17.262 9.986,14.673 C9.986,12.084 12.084,9.986 14.673,9.986 C17.262,9.986 19.361,12.084 19.361,14.673 C19.361,17.262 17.262,19.361 14.673,19.361 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="2"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_oilgas.svg b/web/src/icons/power_plant_oilgas.svg
index 59851d9..b12293e 100644
--- a/web/src/icons/power_plant_oilgas.svg
+++ b/web/src/icons/power_plant_oilgas.svg
@@ -1,14 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <polyline class="c" points="32.215 70.427 32.215 17.261 16.915 32.461" />
+ <polyline class="c" points="52.715 14.096 52.715 67.261 68.015 52.061" />
+ </g>
+ </g>
</g>
- <path d="M11.435,2.195 L11.435,26.767" fill-opacity="0" stroke="#3B3B3B" stroke-width="3"/>
- <path d="M18.247,2.195 L18.247,26.767" fill-opacity="0" stroke="#3B3B3B" stroke-width="3"/>
- <path d="M11.872,2.579 L3.122,11.329" fill-opacity="0" stroke="#3B3B3B" stroke-width="2"/>
- <path d="M18.247,26.767 L26.882,18.132" fill-opacity="0" stroke="#3B3B3B" stroke-width="2"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_solar.svg b/web/src/icons/power_plant_solar.svg
index 2b12ebb..c8c3d7c 100644
--- a/web/src/icons/power_plant_solar.svg
+++ b/web/src/icons/power_plant_solar.svg
@@ -1,21 +1,45 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
- </g>
- <path d="M2.445,14.673 L26.902,14.673" fill-opacity="0" stroke="#3B3B3B" stroke-width="2"/>
- <g>
- <path d="M7.997,7.07 L12.122,11.007" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M12.122,11.007 L12.122,8.195" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M12.122,11.007 L9.435,11.007" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- </g>
- <g>
- <path d="M15.188,7.07 L19.312,11.007" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M19.312,11.007 L19.312,8.195" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
- <path d="M19.312,11.007 L16.625,11.007" fill-opacity="0" stroke="#3B3B3B" stroke-width="1" stroke-linecap="round"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <line class="c" x1="14.618" y1="30.644" x2="28.718" y2="44.744" />
+ <line class="c" x1="40.218" y1="19.444" x2="54.318" y2="33.544" />
+ <polyline class="c" points="36.318 37.344 36.318 52.344 21.318 52.344" />
+ <polyline class="c" points="61.918 26.144 61.918 41.144 46.918 41.144" />
+ <line class="c" x1="19.953" y1="62.644" x2="64.984" y2="62.644" />
+ </g>
+ </g>
</g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_waste.svg b/web/src/icons/power_plant_waste.svg
index 4dc4c5e..3f7211d 100644
--- a/web/src/icons/power_plant_waste.svg
+++ b/web/src/icons/power_plant_waste.svg
@@ -1,19 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Background">
- <rect x="0" y="0" width="28.346" height="28.346" fill="#000000" fill-opacity="0"/>
- </g>
- <g id="Layer_1">
- <g>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill="#FFFFFF"/>
- <path d="M2.079,2.079 L26.267,2.079 L26.267,26.267 L2.079,26.267 L2.079,2.079 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <path class="c" d="M37.641,44.644c11,0,15.7-3.5,15.7-9.4,0-6.5,11.4-2.7,11.4-9.9,0-2.6-2.7-5.1-7.3-5.1-10.2,0-9.1,8.3-18,8.3-8.4,0-13.4,3.3-13.4,8.7,0,4.6,4.4,7.4,11.6,7.4Z" />
+ <polyline class="c" points="39.6 44.604 41.842 69.604 25.603 69.604 28.141 41.844" />
+ </g>
+ </g>
</g>
- <path d="M21.159,9.495 L19.346,22.557 L9,22.557 L7.187,9.495 L21.159,9.495 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5"/>
- <path d="M6.142,7.37 L22.204,7.37" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M11.97,7.091 L11.97,5.497 L16.376,5.497 L16.376,7.091" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M14.227,11.713 L14.227,20.338" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5" stroke-linecap="round"/>
- <path d="M11.236,11.713 L11.236,20.338" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5" stroke-linecap="round"/>
- <path d="M17.111,11.713 L17.111,20.338" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.5" stroke-linecap="round"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_plant_wind.svg b/web/src/icons/power_plant_wind.svg
index 9bb3653..0ce040f 100644
--- a/web/src/icons/power_plant_wind.svg
+++ b/web/src/icons/power_plant_wind.svg
@@ -1,13 +1,42 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="28.346" height="28.346" viewBox="0, 0, 28.346, 28.346">
- <g id="Layer_1">
- <g>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill="#FFFFFF"/>
- <path d="M2.579,2.579 L26.767,2.579 L26.767,26.767 L2.579,26.767 L2.579,2.579 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="4"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ stroke-width: 5px;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <rect class="d" x="3.02" y="3.02" width="78.999" height="78.999" />
+ <g>
+ <polyline class="c" points="26.692 18.844 42.492 42.444 42.492 73.44" />
+ <polyline class="c" points="69.592 42.244 42.492 42.444 29.092 66.044" />
+ </g>
+ </g>
</g>
- <path d="M2.445,14.673 L20.747,14.673" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linecap="round"/>
- <path d="M17.122,2.32 L25.435,26.767" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M25.435,2.32 L17.81,26.767" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_pole.svg b/web/src/icons/power_pole.svg
index 8b58f98..4cf6129 100644
--- a/web/src/icons/power_pole.svg
+++ b/web/src/icons/power_pole.svg
@@ -1,12 +1,11 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 10 10" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;">
<g transform="matrix(1,0,0,1,-0.5,-0.5)">
<g id="Layer_1">
<g>
- <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill:rgb(119,82,17);fill-rule:nonzero;"/>
- <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(46,46,46);stroke-width:1px;"/>
+ <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill:rgb(119,82,17);fill-rule:nonzero;" />
+ <path d="M5.5,9.969C3.032,9.969 1.031,7.968 1.031,5.5C1.031,3.032 3.032,1.031 5.5,1.031C7.968,1.031 9.969,3.032 9.969,5.5C9.969,7.968 7.968,9.969 5.5,9.969Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(46,46,46);stroke-width:1px;" />
</g>
</g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_pole_transition.svg b/web/src/icons/power_pole_transition.svg
index bdb82a0..afaf8c3 100644
--- a/web/src/icons/power_pole_transition.svg
+++ b/web/src/icons/power_pole_transition.svg
@@ -1,17 +1,16 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="20" height="20" viewBox="0, 0, 20, 20">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="60.0px" height="60.0px" viewBox="0, 0, 20, 20">
<g id="Background">
- <rect x="0" y="0" width="20" height="20" fill="#000000" fill-opacity="0"/>
+ <rect x="0" y="0" width="20" height="20" fill="#000000" fill-opacity="0" />
</g>
<g id="Layer_1">
<g>
- <path d="M0.75,0.858 L19.25,0.858 L9.848,18.979 L0.75,0.858 z" fill="#FFFFFF"/>
- <path d="M0.75,0.858 L19.25,0.858 L9.848,18.979 L0.75,0.858 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333" stroke-linejoin="round"/>
+ <path d="M0.75,0.858 L19.25,0.858 L9.848,18.979 L0.75,0.858 z" fill="#FFFFFF" />
+ <path d="M0.75,0.858 L19.25,0.858 L9.848,18.979 L0.75,0.858 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333" stroke-linejoin="round" />
</g>
<g>
- <path d="M10,9.156 C9.059,9.156 8.297,8.394 8.297,7.453 C8.297,6.513 9.059,5.75 10,5.75 C10.941,5.75 11.703,6.513 11.703,7.453 C11.703,8.394 10.941,9.156 10,9.156 z" fill="#3B3B3B"/>
- <path d="M10,9.156 C9.059,9.156 8.297,8.394 8.297,7.453 C8.297,6.513 9.059,5.75 10,5.75 C10.941,5.75 11.703,6.513 11.703,7.453 C11.703,8.394 10.941,9.156 10,9.156 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333"/>
+ <path d="M10,9.156 C9.059,9.156 8.297,8.394 8.297,7.453 C8.297,6.513 9.059,5.75 10,5.75 C10.941,5.75 11.703,6.513 11.703,7.453 C11.703,8.394 10.941,9.156 10,9.156 z" fill="#3B3B3B" />
+ <path d="M10,9.156 C9.059,9.156 8.297,8.394 8.297,7.453 C8.297,6.513 9.059,5.75 10,5.75 C10.941,5.75 11.703,6.513 11.703,7.453 C11.703,8.394 10.941,9.156 10,9.156 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333" />
</g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_portal.svg b/web/src/icons/power_portal.svg
new file mode 100644
index 0000000..c455708
--- /dev/null
+++ b/web/src/icons/power_portal.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg width="100%" height="100%" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;">
+ <g transform="matrix(1,5.55112e-17,5.55112e-17,1,0.47373,-0.540584)">
+ <path d="M4.014,18.041L30.039,18.021" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:4px;"/>
+ </g>
+ <g transform="matrix(1.35901,0,0,1.35901,-38.3627,-6.299)">
+ <rect x="30.008" y="16.007" width="3.045" height="2.982" style="fill:rgb(235,235,235);stroke:black;stroke-width:0.63px;stroke-miterlimit:1.5;"/>
+ </g>
+ <g transform="matrix(1.35901,0,0,1.35901,-12.3382,-6.299)">
+ <rect x="30.008" y="16.007" width="3.045" height="2.982" style="fill:rgb(235,235,235);stroke:black;stroke-width:0.63px;stroke-miterlimit:1.5;"/>
+ </g>
+</svg>
diff --git a/web/src/icons/power_reactor.svg b/web/src/icons/power_reactor.svg
index 923af84..b7704b3 100644
--- a/web/src/icons/power_reactor.svg
+++ b/web/src/icons/power_reactor.svg
@@ -1,9 +1,38 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 80 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g transform="matrix(0.875853,0,0,0.844677,-4.12918,7.31623)">
- <path d="M16.282,47.278C16.282,28.456 31.563,13.175 50.384,13.175C69.206,13.175 84.487,28.456 84.487,47.278C84.487,66.099 69.206,81.38 50.384,81.38M16.282,47.278L50.384,47.278L50.384,-0.912M50,81.38L50,97.163" style="fill:rgb(235,235,235);fill-opacity:0;"/>
- <path d="M16.282,47.278C16.282,28.456 31.563,13.175 50.384,13.175C69.206,13.175 84.487,28.456 84.487,47.278C84.487,66.099 69.206,81.38 50.384,81.38M16.282,47.278L50.384,47.278L50.384,-0.912M50,81.38L50,97.163" style="fill:none;stroke:white;stroke-width:12.11px;"/>
- <path d="M16.282,47.278C16.282,28.456 31.563,13.175 50.384,13.175C69.206,13.175 84.487,28.456 84.487,47.278C84.487,66.099 69.206,81.38 50.384,81.38M16.282,47.278L50.384,47.278L50.384,-0.912M50,81.38L50,97.163" style="fill:none;stroke:black;stroke-width:3.63px;stroke-miterlimit:1.5;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.492,81.892c21.8,0,39.5-17.6,39.5-39.5S64.292,2.892,42.492,2.892,2.992,20.592,2.992,42.392s17.6,39.5,39.5,39.5Z" />
+ <path class="c" d="M42.492,11.396l-.4,29.996h-16.2c0-9.1,7.4-16.4,16.6-16.4s16.6,7.3,16.6,16.4c0,9.5-7.4,16.8-16.6,16.8v15.196" />
+ </g>
</g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_reactor_shunt.svg b/web/src/icons/power_reactor_shunt.svg
index 6922c1d..57ad9b9 100644
--- a/web/src/icons/power_reactor_shunt.svg
+++ b/web/src/icons/power_reactor_shunt.svg
@@ -1,7 +1,47 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 80 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <path d="M13.381,44.171C13.381,30.002 25.308,18.499 40,18.499C54.692,18.499 66.619,30.002 66.619,44.171C66.619,58.34 54.692,69.843 40,69.843M13.381,44.171L40,44.171L40,7.895M39.7,69.843L39.7,81.724M24.258,81.724L55.742,81.724M29.254,87.538L50.746,87.538M33.839,93.324L46.161,93.324" style="fill:rgb(235,235,235);fill-opacity:0;"/>
- <path d="M13.381,44.171C13.381,30.002 25.308,18.499 40,18.499C54.692,18.499 66.619,30.002 66.619,44.171C66.619,58.34 54.692,69.843 40,69.843M13.381,44.171L40,44.171L40,7.895M39.7,69.843L39.7,81.724M24.258,81.724L55.742,81.724M29.254,87.538L50.746,87.538M33.839,93.324L46.161,93.324" style="fill:none;stroke:white;stroke-width:10.42px;"/>
- <path d="M13.381,44.171C13.381,30.002 25.308,18.499 40,18.499C54.692,18.499 66.619,30.002 66.619,44.171C66.619,58.34 54.692,69.843 40,69.843M13.381,44.171L40,44.171L40,7.895M39.7,69.843L39.7,81.724M24.258,81.724L55.742,81.724M29.254,87.538L50.746,87.538M33.839,93.324L46.161,93.324" style="fill:none;stroke:black;stroke-width:3.13px;stroke-miterlimit:1.5;"/>
-</svg>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ fill: #1d1d1b;
+ font-family: Topography-Regularcondensed, Topography;
+ font-size: 10px;
+ }
+
+ .g {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="g">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.467,81.892c21.8,0,39.5-17.6,39.5-39.5S64.267,2.892,42.467,2.892,2.967,20.592,2.967,42.392s17.6,39.5,39.5,39.5Z" />
+ <line class="c" x1="34.667" y1="73.192" x2="50.367" y2="73.192" />
+ <line class="c" x1="30.667" y1="65.692" x2="54.367" y2="65.692" />
+ <path class="c" d="M42.467,11.396l-.4,29.996h-16.2c0-9.1,7.4-16.4,16.6-16.4s16.6,7.3,16.6,16.4c0,9.5-7.4,16.8-16.6,16.8v7.3" />
+ </g>
+ <text class="f" transform="translate(11.997 -8.641)"><tspan x="0" y="0">DISCONNECTOR</tspan></text>
+ </g>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_switch.svg b/web/src/icons/power_switch.svg
index 9cd6822..b143548 100644
--- a/web/src/icons/power_switch.svg
+++ b/web/src/icons/power_switch.svg
@@ -1,17 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 60 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g id="Layer_1" transform="matrix(3.125,0,0,2.85714,5,2)">
- <path d="M1,5.359L5.116,5.359L8.821,1.641" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:3.48px;"/>
- <g transform="matrix(1,0,0,1,0.47414,0)">
- <path d="M9.665,5.359L14.853,5.359" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:3.48px;"/>
+<svg width="100%" height="100%" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;">
+ <g>
+ <g id="b">
+ <path d="M19.105,11.48L11.984,17.489L4.783,17.489M30.298,17.448L23.22,17.448" style="fill:none;fill-rule:nonzero;stroke:white;stroke-opacity:0.8;stroke-width:8px;"/>
</g>
- <path d="M1,5.359L5.116,5.359L8.821,1.641" style="fill:none;fill-rule:nonzero;stroke:rgb(25,25,25);stroke-width:1.04px;stroke-miterlimit:1.5;"/>
- <g transform="matrix(1,0,0,1,0.47414,0)">
- <path d="M9.665,5.359L14.853,5.359" style="fill:none;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(1,0,0,1,0.47414,0)">
- <path d="M9.665,5.359L14.853,5.359" style="fill:none;fill-rule:nonzero;stroke:rgb(25,25,25);stroke-width:1.04px;stroke-miterlimit:1.5;"/>
+ <g id="b1" serif:id="b">
+ <g>
+ <path d="M19.105,11.48L11.984,17.489L4.783,17.489" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ <path d="M30.298,17.448L23.22,17.448" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ </g>
</g>
</g>
</svg>
diff --git a/web/src/icons/power_switch_circuit_breaker.svg b/web/src/icons/power_switch_circuit_breaker.svg
index aef6817..3b38e45 100644
--- a/web/src/icons/power_switch_circuit_breaker.svg
+++ b/web/src/icons/power_switch_circuit_breaker.svg
@@ -1,22 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 60 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g id="Layer_1" transform="matrix(3.125,0,0,2.85714,5,5)">
- <g transform="matrix(0.415325,0,0,0.391426,-4.74849,-2.57837)">
- <ellipse cx="34.496" cy="18.456" rx="6.455" ry="7.076" style="fill:white;"/>
+<svg width="100%" height="100%" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;">
+ <g transform="matrix(1,0,0,1,-0.0308682,-2.75148)">
+ <g transform="matrix(1,0,0,1,0.0308682,2.75148)">
+ <g id="b">
+ <path d="M25.647,12.634C25.647,8.139 21.969,4.461 17.474,4.461C12.942,4.461 9.265,8.139 9.265,12.634M10.119,17.5L6.145,17.5M28.855,17.463L24.83,17.463" style="fill:none;fill-rule:nonzero;stroke:white;stroke-opacity:0.8;stroke-width:8px;"/>
+ </g>
</g>
- <g transform="matrix(0.32,0,0,0.35,-1.6,-1.75)">
- <path d="M7.981,18.274L20.843,18.274L32.421,7.651" style="fill:rgb(235,235,235);fill-opacity:0;fill-rule:nonzero;"/>
- <path d="M7.981,18.274L20.843,18.274L32.421,7.651" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:10.42px;"/>
- <path d="M7.981,18.274L20.843,18.274L32.421,7.651" style="fill:none;fill-rule:nonzero;stroke:rgb(25,25,25);stroke-width:3.13px;stroke-miterlimit:1.5;"/>
- </g>
- <g transform="matrix(0.310226,0,0,0.35,-1.09155,-1.75)">
- <path d="M35.807,18.274L52.019,18.274" style="fill:none;fill-rule:nonzero;"/>
- <path d="M35.807,18.274L52.019,18.274" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:10.58px;"/>
- <path d="M35.807,18.274L52.019,18.274" style="fill:none;fill-rule:nonzero;stroke:rgb(25,25,25);stroke-width:3.17px;stroke-miterlimit:1.5;"/>
- </g>
- <g transform="matrix(0.412053,0,0,0.450683,-9.87793,2.05248)">
- <path d="M49.559,2.572L43.913,8.937M43.913,2.572L49.559,8.937" style="fill:none;stroke:rgb(25,25,25);stroke-width:1.55px;stroke-miterlimit:1.5;"/>
+ <g id="b1" serif:id="b" transform="matrix(1,0,0,1,0,-1.85014)">
+ <g>
+ <path d="M25.678,17.235C25.678,12.74 22,9.062 17.505,9.062C12.973,9.062 9.295,12.74 9.295,17.235" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ <path d="M10.15,22.102L6.176,22.102" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ <path d="M28.886,22.065L24.86,22.065" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ </g>
</g>
</g>
</svg>
diff --git a/web/src/icons/power_switch_disconnector.svg b/web/src/icons/power_switch_disconnector.svg
index 4744544..15f0757 100644
--- a/web/src/icons/power_switch_disconnector.svg
+++ b/web/src/icons/power_switch_disconnector.svg
@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 60 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g transform="matrix(1,0,0,1,-0.144149,0.96274)">
- <g id="Layer_1">
- <path d="M8.125,17.311L20.987,17.311L32.566,6.689M35.951,17.311L52.163,17.311M35.951,13.237L35.951,21.386" style="fill:none;fill-rule:nonzero;stroke:white;stroke-width:10.42px;"/>
- <path d="M8.125,17.311L20.987,17.311L32.566,6.689M35.951,17.311L52.163,17.311M35.951,13.237L35.951,21.386" style="fill:none;fill-rule:nonzero;stroke:rgb(25,25,25);stroke-width:3.13px;stroke-miterlimit:1.5;"/>
+<svg width="100%" height="100%" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;">
+ <g>
+ <g id="b">
+ <path d="M23.199,21.776L23.199,17.455M30.277,17.455L23.199,17.455L23.199,13.133M19.084,11.487L11.963,17.496L5.229,17.496" style="fill:none;fill-rule:nonzero;stroke:white;stroke-opacity:0.8;stroke-width:8px;"/>
+ </g>
+ <g id="b1" serif:id="b">
+ <g>
+ <path d="M23.199,21.776L23.199,17.455" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ <path d="M30.277,17.455L23.199,17.455L23.199,13.133" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ <path d="M19.084,11.487L11.963,17.496L5.229,17.496" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:2.06px;"/>
+ </g>
</g>
</g>
</svg>
diff --git a/web/src/icons/power_tower.svg b/web/src/icons/power_tower.svg
old mode 100644
new mode 100755
index 12a0077..403f4a9
--- a/web/src/icons/power_tower.svg
+++ b/web/src/icons/power_tower.svg
@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="15" height="15" viewBox="0, 0, 15, 15">
- <g id="Background">
- <rect x="0" y="0" width="15" height="15" fill="#000000" fill-opacity="0"/>
- </g>
- <g id="Layer_1">
- <g>
- <path d="M1.094,13.947 L1.093,1.072 L13.969,1.071 L13.969,13.946 z" fill="#FFFFFF"/>
- <path d="M1.094,13.947 L1.093,1.072 L13.969,1.071 L13.969,13.946 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linejoin="bevel"/>
- </g>
- <path d="M0.267,1.391 L13.587,14.478 L14.517,13.564 L1.197,0.478 z" fill="#3B3B3B"/>
- <path d="M13.595,0.478 L0.392,13.564 L1.313,14.478 L14.517,1.391 z" fill="#3B3B3B"/>
- </g>
-</svg>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: #fff;
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+ </style>
+ </defs>
+ <rect class="c" x="24.04043" y="24.0197" width="36.8" height="36.9"/>
+ <line class="c" x1="24.04043" y1="24.0197" x2="60.84043" y2="60.9197"/>
+ <line class="c" x1="24.04043" y1="60.9197" x2="60.84043" y2="24.0197"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_tower_transformer.svg b/web/src/icons/power_tower_transformer.svg
deleted file mode 100644
index 9bd2956..0000000
--- a/web/src/icons/power_tower_transformer.svg
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="36" height="30" viewBox="0, 0, 36, 30">
- <g id="Background"/>
- <g id="Layer_1">
- <g>
- <path d="M1.094,21.447 L1.093,8.572 L13.969,8.571 L13.969,21.446 z" fill="#FFFFFF"/>
- <path d="M1.094,21.447 L1.093,8.572 L13.969,8.571 L13.969,21.446 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linejoin="bevel"/>
- </g>
- <path d="M0.267,8.891 L13.587,21.978 L14.517,21.064 L1.197,7.978 z" fill="#3B3B3B"/>
- <path d="M13.595,7.978 L0.392,21.064 L1.313,21.978 L14.517,8.891 z" fill="#3B3B3B"/>
- <g id="power_transformer">
- <g>
- <path d="M26.741,28.776 C21.871,28.776 17.923,24.829 17.923,19.959 C17.923,15.089 21.871,11.141 26.741,11.141 C31.611,11.141 35.559,15.089 35.559,19.959 C35.559,24.829 31.611,28.776 26.741,28.776 z" fill="#FFFFFF"/>
- <path d="M26.741,28.776 C21.871,28.776 17.923,24.829 17.923,19.959 C17.923,15.089 21.871,11.141 26.741,11.141 C31.611,11.141 35.559,15.089 35.559,19.959 C35.559,24.829 31.611,28.776 26.741,28.776 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- </g>
- <g>
- <path d="M26.741,18.877 C21.871,18.877 17.923,14.929 17.923,10.06 C17.923,5.19 21.871,1.242 26.741,1.242 C31.611,1.242 35.559,5.19 35.559,10.06 C35.559,14.929 31.611,18.877 26.741,18.877 z" fill="#FFFFFF"/>
- <path d="M26.741,18.877 C21.871,18.877 17.923,14.929 17.923,10.06 C17.923,5.19 21.871,1.242 26.741,1.242 C31.611,1.242 35.559,5.19 35.559,10.06 C35.559,14.929 31.611,18.877 26.741,18.877 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- </g>
- <path d="M30.285,2.407" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- <path d="M26.741,28.776 C21.871,28.776 17.923,24.829 17.923,19.959 C17.923,15.089 21.871,11.141 26.741,11.141 C31.611,11.141 35.559,15.089 35.559,19.959 C35.559,24.829 31.611,28.776 26.741,28.776 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="1"/>
- </g>
- </g>
-</svg>
diff --git a/web/src/icons/power_tower_transition.svg b/web/src/icons/power_tower_transition.svg
index 4866883..dec5e74 100644
--- a/web/src/icons/power_tower_transition.svg
+++ b/web/src/icons/power_tower_transition.svg
@@ -1,16 +1,15 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" width="20" height="20" viewBox="0, 0, 20, 20">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="20.0px" height="20.0px" viewBox="0, 0, 20, 20">
<g id="Background">
- <rect x="0" y="0" width="20" height="20" fill="#000000" fill-opacity="0"/>
+ <rect x="0" y="0" width="20" height="20" fill="#000000" fill-opacity="0" />
</g>
- <g id="Background"/>
+ <g id="Background" />
<g id="Layer_1">
<g>
- <path d="M1.061,1.109 L18.874,1.107 L9.824,18.979 L1.061,1.109 z" fill="#FFFFFF"/>
- <path d="M1.061,1.109 L18.874,1.107 L9.824,18.979 L1.061,1.109 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linejoin="round"/>
+ <path d="M1.061,1.109 L18.874,1.107 L9.824,18.979 L1.061,1.109 z" fill="#FFFFFF" />
+ <path d="M1.061,1.109 L18.874,1.107 L9.824,18.979 L1.061,1.109 z" fill-opacity="0" stroke="#3B3B3B" stroke-width="2" stroke-linejoin="round" />
</g>
- <path d="M0.75,0.858 L14.514,10.354" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333"/>
- <path d="M19.25,0.858 L5.264,10.354" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333"/>
+ <path d="M0.75,0.858 L14.514,10.354" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333" />
+ <path d="M19.25,0.858 L5.264,10.354" fill-opacity="0" stroke="#3B3B3B" stroke-width="1.333" />
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/power_transformer.svg b/web/src/icons/power_transformer.svg
index 7051a22..32180af 100644
--- a/web/src/icons/power_transformer.svg
+++ b/web/src/icons/power_transformer.svg
@@ -1,18 +1,24 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 50 74" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
- <g id="Layer_1" transform="matrix(3.33333,0,0,3.33333,1.37833,-0.183333)">
- <g transform="matrix(1,0,0,1,-0.5385,-0.601)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-rule:nonzero;"/>
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- <g transform="matrix(1,0,0,1,-0.5385,-0.601)">
- <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill:white;fill-rule:nonzero;"/>
- <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- <g transform="matrix(1,0,0,1,-0.5385,-0.601)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-opacity:0;fill-rule:nonzero;"/>
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.46756,82.10003c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.56756,3.10003,2.96756,20.80003,2.96756,42.60003c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <path class="c" d="M42.45958,69.05487c9.07575,0,16.55483-7.47909,16.55483-16.63887,0-9.07575-7.47909-16.4708-16.55483-16.4708-9.15978,0-16.63887,7.39505-16.63887,16.4708,0,9.15978,7.47909,16.63887,16.63887,16.63887Z"/>
+ <path class="c" d="M42.45958,49.35487c9.07575,0,16.55483-7.39505,16.55483-16.55483,0-9.07575-7.47909-16.55483-16.55483-16.55483-9.15978,0-16.63887,7.47909-16.63887,16.55483,0,9.15978,7.47909,16.55483,16.63887,16.55483Z"/>
</svg>
diff --git a/web/src/icons/power_transformer_3_winding.svg b/web/src/icons/power_transformer_3_winding.svg
index 5264ae0..b2fb73a 100644
--- a/web/src/icons/power_transformer_3_winding.svg
+++ b/web/src/icons/power_transformer_3_winding.svg
@@ -1,27 +1,27 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 75 70" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
- <g id="Layer_1" transform="matrix(3.33333,0,0,3.33333,13.8783,-1.85)">
- <g transform="matrix(1,0,0,1,3.10256,-1.20131)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(1,0,0,1,-4.17956,-1.20131)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(1,0,0,1,-0.5385,-0.000691454)">
- <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill:white;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(1,0,0,1,3.10256,-1.20131)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- <g transform="matrix(1,0,0,1,-0.5385,-0.000691454)">
- <path d="M7.625,14.562C3.966,14.562 1,11.596 1,7.938C1,4.279 3.966,1.312 7.625,1.312C11.284,1.312 14.25,4.279 14.25,7.938C14.25,11.596 11.284,14.562 7.625,14.562Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- <g transform="matrix(1,0,0,1,-3.75638,-1.20131)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill:white;fill-opacity:0;fill-rule:nonzero;"/>
- </g>
- <g transform="matrix(1,0,0,1,-4.17956,-1.20131)">
- <path d="M7.625,22C3.966,22 1,19.034 1,15.375C1,11.716 3.966,8.75 7.625,8.75C11.284,8.75 14.25,11.716 14.25,15.375C14.25,19.034 11.284,22 7.625,22Z" style="fill-opacity:0;fill-rule:nonzero;stroke:rgb(59,59,59);stroke-width:1px;"/>
- </g>
- </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="b" data-name="labels" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.46756,82.10003c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.56756,3.10003,2.96756,20.80003,2.96756,42.60003c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <g>
+ <path class="c" d="M42.44094,49.79446c9.07575,0,16.55483-7.39505,16.55483-16.55483,0-9.07575-7.47909-16.55483-16.55483-16.55483-9.15978,0-16.63887,7.47909-16.63887,16.55483,0,9.15978,7.47909,16.55483,16.63887,16.55483Z"/>
+ <path class="c" d="M48.30277,39.66913c-4.53787-7.85983-14.68172-10.63938-22.61432-6.05949-7.85983,4.53787-10.59736,14.7545-6.05949,22.61432,4.57989,7.9326,14.79651,10.67014,22.65634,6.13227,7.9326-4.57989,10.59736-14.7545,6.01747-22.6871Z"/>
+ <path class="c" d="M36.60306,39.6553c-4.53787,7.85983-1.87311,18.03443,6.05949,22.61432,7.85983,4.53787,18.07645,1.80034,22.61432-6.05949,4.57989-7.9326,1.84235-18.14923-6.01747-22.6871-7.9326-4.57989-18.07645-1.80034-22.65634,6.13227Z"/>
+ </g>
</svg>
diff --git a/web/src/icons/power_transformer_current.svg b/web/src/icons/power_transformer_current.svg
index f5322d8..d583f0b 100644
--- a/web/src/icons/power_transformer_current.svg
+++ b/web/src/icons/power_transformer_current.svg
@@ -1,11 +1,28 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 50 74" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g transform="matrix(1,0,0,1,1.13106,0)">
- <g id="Layer_1">
- <path d="M22.491,35.259C16.56,35.259 11.744,30.135 11.744,23.823C11.744,17.511 16.56,12.385 22.491,12.385M22.491,58.134C16.56,58.134 11.744,53.009 11.744,46.697C11.744,40.385 16.56,35.259 22.491,35.259M23.205,12.385L35.994,12.385M23.205,58.134L35.994,58.134M23.869,5.672L23.869,68.328" style="fill:white;"/>
- <path d="M22.491,35.259C16.56,35.259 11.744,30.135 11.744,23.823C11.744,17.511 16.56,12.385 22.491,12.385M22.491,58.134C16.56,58.134 11.744,53.009 11.744,46.697C11.744,40.385 16.56,35.259 22.491,35.259M23.205,12.385L35.994,12.385M23.205,58.134L35.994,58.134M23.869,5.672L23.869,68.328" style="fill:none;stroke:white;stroke-width:9px;"/>
- <path d="M22.491,35.259C16.56,35.259 11.744,30.135 11.744,23.823C11.744,17.511 16.56,12.385 22.491,12.385M22.491,58.134C16.56,58.134 11.744,53.009 11.744,46.697C11.744,40.385 16.56,35.259 22.491,35.259M23.205,12.385L35.994,12.385M23.205,58.134L35.994,58.134M23.869,5.672L23.869,68.328" style="fill:none;stroke:rgb(59,59,59);stroke-width:3.51px;stroke-miterlimit:1.5;"/>
- </g>
- </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.46756,82.29021c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.56756,3.29021,2.96756,20.99021,2.96756,42.79021c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <line class="c" x1="38.36756" y1="62.09021" x2="52.66756" y2="62.09021"/>
+ <line class="c" x1="38.36756" y1="42.79021" x2="42.46756" y2="42.79021"/>
+ <line class="c" x1="38.36756" y1="23.49021" x2="52.66756" y2="23.49021"/>
+ <path class="c" d="M38.46756,42.79021c-5.4,0-9.7,4.3-9.7,9.7,0,5.3,4.3,9.6,9.7,9.6"/>
+ <path class="c" d="M38.46756,23.49021c-5.4,0-9.7,4.3-9.7,9.7,0,5.3,4.3,9.6,9.7,9.6"/>
+ <line class="c" x1="42.46756" y1="11.79414" x2="42.46756" y2="73.78627"/>
</svg>
diff --git a/web/src/icons/power_transformer_potential.svg b/web/src/icons/power_transformer_potential.svg
index 70e2bc8..b468121 100644
--- a/web/src/icons/power_transformer_potential.svg
+++ b/web/src/icons/power_transformer_potential.svg
@@ -1,10 +1,34 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 50 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2;">
- <g transform="matrix(0.893147,0,0,0.951135,2.67136,1.46599)">
- <g id="Layer_1">
- <path d="M16.263,17.435C19.73,17.435 22.546,14.619 22.546,11.152C22.546,7.684 19.73,4.869 16.263,4.869M16.263,42.565C19.73,42.565 22.546,39.75 22.546,36.283C22.546,32.815 19.73,30 16.263,30M16.263,55.131C19.73,55.131 22.546,52.316 22.546,48.848C22.546,45.381 19.73,42.565 16.263,42.565M16.263,30C19.73,30 22.546,27.185 22.546,23.717C22.546,20.25 19.73,17.435 16.263,17.435M16.263,4.869L3.419,4.869M16.263,55.131L3.419,55.131M33.627,42.567C30.16,42.567 27.345,39.751 27.345,36.284C27.345,32.816 30.16,30.001 33.627,30.001M33.627,30.001C30.16,30.001 27.345,27.186 27.345,23.719C27.345,20.251 30.16,17.436 33.627,17.436M46.581,17.433L33.737,17.433M46.581,42.567L33.737,42.567" style="fill:none;stroke:white;stroke-width:9.76px;"/>
- <path d="M16.263,17.435C19.73,17.435 22.546,14.619 22.546,11.152C22.546,7.684 19.73,4.869 16.263,4.869M16.263,42.565C19.73,42.565 22.546,39.75 22.546,36.283C22.546,32.815 19.73,30 16.263,30M16.263,55.131C19.73,55.131 22.546,52.316 22.546,48.848C22.546,45.381 19.73,42.565 16.263,42.565M16.263,30C19.73,30 22.546,27.185 22.546,23.717C22.546,20.25 19.73,17.435 16.263,17.435M16.263,4.869L3.419,4.869M16.263,55.131L3.419,55.131M33.627,42.567C30.16,42.567 27.345,39.751 27.345,36.284C27.345,32.816 30.16,30.001 33.627,30.001M33.627,30.001C30.16,30.001 27.345,27.186 27.345,23.719C27.345,20.251 30.16,17.436 33.627,17.436M46.581,17.433L33.737,17.433M46.581,42.567L33.737,42.567" style="fill:none;stroke:rgb(59,59,59);stroke-width:3.5px;stroke-miterlimit:1.5;"/>
- </g>
- </g>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.50705,82.29021c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.60705,3.29021,3.00705,20.99021,3.00705,42.79021c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <g>
+ <line class="c" x1="30.97255" y1="19.78113" x2="22.2039" y2="19.78113"/>
+ <path class="c" d="M30.89355,35.02752c4.26583,0,7.66269-3.39686,7.66269-7.58369,0-4.26583-3.39686-7.66269-7.66269-7.66269"/>
+ <line class="c" x1="30.97255" y1="65.59928" x2="21.97308" y2="65.59928"/>
+ <path class="c" d="M30.89355,50.3529c4.26583,0,7.66269,3.39686,7.66269,7.66269,0,4.18683-3.39686,7.58369-7.66269,7.58369"/>
+ <path class="c" d="M30.89355,35.10651c4.26583,0,7.66269,3.39686,7.66269,7.66269,0,4.18683-3.39686,7.58369-7.66269,7.58369"/>
+ <line class="c" x1="56.01454" y1="58.01559" x2="65.7353" y2="58.01559"/>
+ <line class="c" x1="56.01454" y1="42.7692" x2="59.2534" y2="42.7692"/>
+ <line class="c" x1="56.01454" y1="27.52282" x2="65.65205" y2="27.52282"/>
+ <path class="c" d="M56.09353,42.7692c-4.26583,0-7.66269,3.39686-7.66269,7.66269,0,4.18683,3.39686,7.58369,7.66269,7.58369"/>
+ <path class="c" d="M56.09353,27.52282c-4.26583,0-7.66269,3.39686-7.66269,7.66269,0,4.18683,3.39686,7.58369,7.66269,7.58369"/>
+ </g>
</svg>
diff --git a/web/src/icons/power_wind.svg b/web/src/icons/power_wind.svg
index bb10f68..69c3d60 100644
--- a/web/src/icons/power_wind.svg
+++ b/web/src/icons/power_wind.svg
@@ -1,40 +1,41 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- version="1.1"
- width="14"
- height="14"
- viewBox="0 0 14 14"
- id="svg2">
- <metadata
- id="metadata8">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <defs
- id="defs6" />
- <rect
- width="14"
- height="14"
- x="0"
- y="0"
- id="canvas"
- style="fill:none;stroke:none;visibility:hidden" />
- <path
- d="M 11.718618,0.5 C 11.008344,0.3993314 9.205629,1.5161034 7.0310681,3.59375 7.7530968,3.631868 8.4707885,4.3689488 8.4060828,5.03125 10.551397,2.9815468 11.795687,1.2473073 11.718618,0.5 z M 1.9372637,3.25 C 1.3277462,3.271754 0.8743713,3.3532481 0.656,3.53125 0.9617833,4.1801816 2.8506744,5.0730322 5.7810548,5.75 5.4165559,5.1255886 5.6607075,4.1220091 6.2498098,3.8125 4.4429545,3.3950856 2.9531265,3.2137427 1.9372637,3.25 z M 6.9998178,4.5 c -0.276145,0 -0.5000054,0.2238576 -0.5000054,0.5 0,0.2761424 0.2238604,0.5 0.5000054,0.5 0.2761449,0 0.5000053,-0.2238576 0.5000053,-0.5 0,-0.2761424 -0.2238604,-0.5 -0.5000053,-0.5 z m 1.312514,1.03125 C 8.1103776,6.1653203 7.1470174,6.5624501 6.4685621,6.3125 7.6465487,9.079739 8.8700018,10.780912 9.562345,10.96875 9.928113,10.312531 9.474474,8.261269 8.3123318,5.53125 z M 6.4060614,7.75 5.9998071,13 l -2.0000214,0 0,1 6.0000643,0 0,-1 -2.0000215,0 -0.2187524,-2.78125 C 7.3325413,9.489844 6.8783275,8.672219 6.4060614,7.75 z"
- id="power-wind"
- style="fill:#000000;fill-opacity:1;stroke:none" />
-</svg>
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <polyline class="c" points="26.918 2.477 42.718 26.077 42.718 63.077" />
+ <polyline class="c" points="69.818 25.877 42.718 26.077 29.318 49.677" />
+ <line class="c" x1="3.018" y1="72.777" x2="33.018" y2="72.777" />
+ <line class="c" x1="52.318" y1="72.677" x2="82.018" y2="72.677" />
+ <path class="d" d="M42.718,82.377c5.3,0,9.6-4.3,9.6-9.6,0-5.4-4.3-9.7-9.6-9.7-5.4,0-9.7,4.3-9.7,9.7,0,5.3,4.3,9.6,9.7,9.6Z" />
+ </g>
+ </g>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/pumping_station.svg b/web/src/icons/pumping_station.svg
index 248a3a6..4b46b09 100644
--- a/web/src/icons/pumping_station.svg
+++ b/web/src/icons/pumping_station.svg
@@ -1,10 +1,42 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(6.12323e-17,1,-1,6.12323e-17,100.687,-0.928587)">
- <circle cx="50.929" cy="50.687" r="46.602" style="fill:rgb(235,235,235);stroke:black;stroke-width:4.17px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.415,81.858c21.8,0,39.5-17.6,39.5-39.5S64.215,2.858,42.415,2.858,2.915,20.558,2.915,42.358s17.6,39.5,39.5,39.5Z" />
+ <g>
+ <line class="c" x1="72.963" y1="42.445" x2="25.732" y2="67.008" />
+ <line class="c" x1="25.732" y1="17.807" x2="72.963" y2="42.37" />
+ </g>
+ <line class="c" x1="22.115" y1="42.658" x2="54.215" y2="42.358" />
+ </g>
</g>
- <g transform="matrix(5.85927e-17,0.956892,-1.2889,7.89221e-17,101.867,1.26687)">
- <path d="M4.327,50L50.929,4.085L97.53,50" style="fill:rgb(235,235,235);fill-opacity:0;stroke:black;stroke-width:3.67px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/sewage_pumping_station.svg b/web/src/icons/sewage_pumping_station.svg
index 02c9de2..cf3e53e 100644
--- a/web/src/icons/sewage_pumping_station.svg
+++ b/web/src/icons/sewage_pumping_station.svg
@@ -1,10 +1,51 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(6.12323e-17,1,-1,6.12323e-17,100.687,-0.928587)">
- <circle cx="50.929" cy="50.687" r="46.602" style="fill:rgb(193,150,83);stroke:black;stroke-width:4.17px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.441,81.858c21.8,0,39.5-17.6,39.5-39.5S64.241,2.858,42.441,2.858,2.941,20.558,2.941,42.358s17.6,39.5,39.5,39.5Z" />
+ <g>
+ <line class="c" x1="72.989" y1="42.445" x2="25.758" y2="67.008" />
+ <line class="c" x1="25.758" y1="17.807" x2="72.989" y2="42.37" />
+ </g>
+ <path d="M18.537,63.458c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M18.537,51.658c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M18.537,38.058c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M30.237,32.058c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M30.237,44.558c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M40.937,51.658c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M18.537,26.458c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M40.937,38.058c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M52.737,44.658c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ <path d="M30.237,57.558c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z" />
+ </g>
</g>
- <g transform="matrix(5.85927e-17,0.956892,-1.2889,7.89221e-17,101.867,1.26687)">
- <path d="M4.327,50L50.929,4.085L97.53,50" style="fill:rgb(235,235,235);fill-opacity:0;stroke:black;stroke-width:3.67px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/sewage_treatment_plant.svg b/web/src/icons/sewage_treatment_plant.svg
old mode 100644
new mode 100755
index 591481a..3152e8f
--- a/web/src/icons/sewage_treatment_plant.svg
+++ b/web/src/icons/sewage_treatment_plant.svg
@@ -1,10 +1,49 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(0.719383,0.629349,-0.629349,0.719383,44.739,-19.8423)">
- <circle cx="52.255" cy="51.371" r="48.629" style="fill:rgb(193,150,83);stroke:black;stroke-width:6.54px;"/>
- </g>
- <g transform="matrix(0.752634,0.658439,-0.658439,0.752634,47.4466,-23.0186)">
- <path d="M50,96.48L50,52.275" style="fill:none;stroke:black;stroke-width:10.42px;"/>
- </g>
-</svg>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g>
+ <path class="d" d="M35.20198,81.23478c21.43084,3.99489,42.05634-10.06351,46.06956-31.59265,3.99489-21.43084-10.16181-42.07467-31.59265-46.06956C28.14974-.44065,7.60422,13.73438,3.60933,35.16522c-4.01322,21.52914,10.06351,42.05634,31.59265,46.06956Z"/>
+ <line class="c" x1="42.44043" y1="42.40367" x2="16.96274" y2="59.87525"/>
+ </g>
+ <path d="M42.61853,19.35367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M42.61853,31.85367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M42.61853,57.35367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M42.61853,70.35367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M52.00845,26.20367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M52.00845,38.70367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M52.00845,51.70367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M52.00845,64.20367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M61.39836,19.35367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M61.39836,31.85367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M61.39836,44.85367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5-1.1,2.5-2.5,2.5Z"/>
+ <path d="M61.39836,57.35367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M61.39836,70.35367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M70.78828,38.70367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M70.78828,51.70367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M33.22861,26.20367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M33.22861,38.70367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M33.22861,64.20367c-1.4,0-2.5-1.1-2.5-2.5,0-1.4,1.1-2.5,2.5-2.5s2.5,1.1,2.5,2.5c0,1.4-1.1,2.5-2.5,2.5Z"/>
+ <path d="M23.83869,19.35367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M23.83869,31.85367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M23.83869,44.85367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M23.83869,70.35367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M14.44878,38.70367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+ <path d="M14.44878,51.70367c1.4,0,2.5-1.1,2.5-2.5s-1.1-2.5-2.5-2.5-2.5,1.1-2.5,2.5,1.1,2.5,2.5,2.5Z"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/telecom_datacenter.svg b/web/src/icons/telecom_datacenter.svg
index 1db70d2..95673ca 100644
--- a/web/src/icons/telecom_datacenter.svg
+++ b/web/src/icons/telecom_datacenter.svg
@@ -1,22 +1,24 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(1,0,0,1,0.94368,0.0504566)">
- <path d="M96.149,25.668C96.149,12.673 85.598,2.122 72.602,2.122L25.51,2.122C12.515,2.122 1.964,12.673 1.964,25.668L1.964,74.231C1.964,87.226 12.515,97.777 25.51,97.777L72.602,97.777C85.598,97.777 96.149,87.226 96.149,74.231L96.149,25.668Z" style="fill:rgb(237,231,239);stroke:black;stroke-width:2.5px;"/>
- </g>
- <g transform="matrix(1,0,0,1,7.31699,-2.25527)">
- <rect x="18.748" y="17.848" width="47.871" height="68.815" style="fill:white;fill-opacity:0;stroke:black;stroke-width:2.5px;"/>
- </g>
- <g transform="matrix(1,0,0,1,0.00099,6.15514)">
- <path d="M26.065,21.47L73.935,21.47" style="fill:none;stroke:black;stroke-width:2px;"/>
- </g>
- <g transform="matrix(1,0,0,1,0.00099,20.1551)">
- <path d="M26.065,21.47L73.935,21.47" style="fill:none;stroke:black;stroke-width:2px;"/>
- </g>
- <g transform="matrix(1,0,0,1,0.00099,34.1551)">
- <path d="M26.065,21.47L73.935,21.47" style="fill:none;stroke:black;stroke-width:2px;"/>
- </g>
- <g transform="matrix(1,0,0,1,0.00099,48.1551)">
- <path d="M26.065,21.47L73.935,21.47" style="fill:none;stroke:black;stroke-width:2px;"/>
- </g>
-</svg>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.44043,82.0197c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.54043,3.0197,2.94043,20.7197,2.94043,42.5197c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <rect class="c" x="24.04043" y="24.0197" width="36.8" height="36.9"/>
+ <line class="c" x1="24.04043" y1="42.5197" x2="60.84043" y2="42.5197"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/telecom_exchange.svg b/web/src/icons/telecom_exchange.svg
index 3609e31e..6990780 100644
--- a/web/src/icons/telecom_exchange.svg
+++ b/web/src/icons/telecom_exchange.svg
@@ -1,16 +1,23 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(1,0,0,1,0.94368,0.0504566)">
- <path d="M96.149,25.668C96.149,12.673 85.598,2.122 72.602,2.122L25.51,2.122C12.515,2.122 1.964,12.673 1.964,25.668L1.964,74.231C1.964,87.226 12.515,97.777 25.51,97.777L72.602,97.777C85.598,97.777 96.149,87.226 96.149,74.231L96.149,25.668Z" style="fill:rgb(237,231,239);stroke:black;stroke-width:2.5px;"/>
- </g>
- <g id="path6910" transform="matrix(0.135307,0,0,0.135307,-0.0428584,0.658894)">
- <path d="M159.966,140.09C139.076,160.664 86.264,264.455 238.869,461.963C399.711,670.098 522.112,643.719 544.813,624.965L436.909,488.884C417.904,503.954 397.635,486.273 359.421,447.016C334.192,420.961 305.631,386.823 281.75,349.063C265.149,322.599 250.73,295.244 270.652,279.447L159.955,140.08L159.966,140.09Z" style="fill-rule:nonzero;"/>
- </g>
- <g id="path6912" transform="matrix(0.135307,0,0,0.135307,-0.0428584,0.658894)">
- <path d="M598.404,580.125C607.272,573.082 607.828,560.978 601.422,552.911L601.446,552.706C601.446,552.706 517.225,446.891 517.138,446.781C510.459,438.371 498.426,437.198 490.13,443.786L451.568,474.411L559.841,610.747C559.841,610.747 598.379,580.328 598.288,580.214L598.403,580.123L598.404,580.125Z" style="fill-rule:nonzero;"/>
- </g>
- <g id="path6914" transform="matrix(0.135307,0,0,0.135307,-0.0428584,0.658894)">
- <path d="M325.902,234.984C334.731,227.891 335.219,215.784 328.767,207.753L328.881,207.662C328.881,207.662 241.558,99.194 241.464,99.078C234.737,90.705 222.698,89.599 214.438,96.234L176.049,127.074L287.515,265.827L325.882,235.192L325.904,234.987L325.902,234.984Z" style="fill-rule:nonzero;"/>
- </g>
-</svg>
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="a" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="35px" height="35px" viewBox="0 0 85.0394 85.0394">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <path class="d" d="M42.73001,82.0197c21.8,0,39.5-17.6,39.5-39.5,0-21.8-17.7-39.5-39.5-39.5C20.83001,3.0197,3.23001,20.7197,3.23001,42.5197c0,21.9,17.6,39.5,39.5,39.5Z"/>
+ <path class="c" d="M27.73001,40.2197l9.2-9.2-10.9-10.9-4.5,4.6c-4.1,4,3.5,16.2,13.2,25.8,9.9,10,21.9,17.2,25.8,13.2l4.6-4.5-10.9-11-9.7,9.6"/>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/validation_error.svg b/web/src/icons/validation_error.svg
index 4f980ec..6170db7 100644
--- a/web/src/icons/validation_error.svg
+++ b/web/src/icons/validation_error.svg
@@ -1,11 +1,10 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 50 95" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <use xlink:href="#_Image1" x="0" y="0" width="48.363px" height="94.372px" transform="matrix(0.986993,0,0,0.993389,0,0)"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:ns1="http://www.w3.org/1999/xlink" width="35.0px" height="35.0px" viewBox="0 0 50 95" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
+ <use ns1:href="#_Image1" x="0" y="0" width="48.363px" height="94.372px" transform="matrix(0.986993,0,0,0.993389,0,0)" />
<g transform="matrix(1.05519,0,0,1.05519,-1.37984,-1.57282)">
- <path d="M4.755,33.378C3.879,31.028 3.358,28.374 3.358,25.72C3.358,13.775 13.056,4.078 25,4.078C36.944,4.078 46.642,13.775 46.642,25.72C46.642,28.445 46.137,31.053 45.216,33.456L45.231,33.456L24.833,90.427L4.755,33.378Z" style="fill:rgb(237,107,107);stroke:black;stroke-width:0.79px;"/>
+ <path d="M4.755,33.378C3.879,31.028 3.358,28.374 3.358,25.72C3.358,13.775 13.056,4.078 25,4.078C36.944,4.078 46.642,13.775 46.642,25.72C46.642,28.445 46.137,31.053 45.216,33.456L45.231,33.456L24.833,90.427L4.755,33.378Z" style="fill:rgb(237,107,107);stroke:black;stroke-width:0.79px;" />
</g>
<defs>
- <image id="_Image1" width="49px" height="95px" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAABfCAYAAABBYi82AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAG60lEQVR4nNWce3faRhDFfxbBIbZrJ6nTV3rauN//e7Wnaes3+IXpHzvXGtYrWIkVKHOODkQBMXfnznMl79Fe9uyogDfAGNgH3trrvjs3su/MgUc7HoB7e32wc0/Asx2LLgq1VX5kCk6AA+AIOLTXAwOjw4OQ8vfA1I4bO26BO/vMvC2YHBB+5fdN0WPgPfDBjmMD8Y7aEmP7DqbUE7Ul7kz5K+ACOLfjysDdG5hFDph1IKT82BQ8AT4CPwKn9v6YYImJU3xkr7r+gpouzwbmnmCBawPwFfgb+NeATQ3wWqusAuGpcwx8D/wM/AT8YACOCLQZ22f33NEkHpAsc2OKfwX+BP6y91fAjNoqSRk1nBeAd6bsL8AfdvxmIE4IFtgnOHhFvfo5x8i+t2+/c2DXO7SF2TOg8y4g9uzih4TV/9WUPzMwHwgWEHW84rkSA1KUU7CYGBAIviQgz6mLvUlcXBY4NQBn9npqwKR8G6XXAcJ+d8Jy2BZNFSBuCKCWrOJBCMCEsNqfqelzSlihN7Rf9VzRdb2F5WdQU2tKRC9PpxHBhO+pKfQF+ERtgb4AePE+I4vsmeJKkkkQ4uUxtRN/ITjwIf1aICUxkJEprRwjIEBtLvnBJ4IPnBHC6XfUFti2eCDS85FAp5m9X0DtNGOWafTZ/r0tCjWJrxYqgl/cUZcpc2AhlAeELHwG/E5w5Allo1BXiROokqPKk4UysqxwRsjIR9R+MASRNSCE2CmhXLkD5hUhIh1T10KHNGfyXYn32/eEJHxC0L3yID4SHHmfYdAoFuWQI4KuHwhuMKqoq9Njez80K0hEqQlB1xMsAVcE+qicVmIZmhUkiqQHBNYcAuPKnfBlxZBFLqCKd1/mUUdWNX93MOI7zHfAW5lHTf2QqQTLpftbAoixbyW/BSvAcr8/xhw7LnmHLgKh4rD6lizgZakzVFGVNRoZkCz84UF8KyLl59jksGJNEz5AEQCNRecV9Ux05VhkICIrPBEq2BnwUBFq8hnLo8Mhy4JggRnWU1TUtfmMxDhkgKKBwS026qyo56FThg9CVJpRT9OfKgK3ru3kPcONVprhPhCU15z2UT5xDVzafz7uSMkcmRMW/RI3bFZ00lT6hgBiiOFWU/QbahD3WJ5Q463/eBmF7ETVtIhKYs05AcwDlrHnBLNo1+aW4Tm4EtyUoOMF9b7Fy0DqkYDwwl6H5OBKcKKStsXuMB1VwWo8eEGglT4wFNHkz7PlZYxZUfOt8UM7FlnBL/IMt8h+d/OB2mmuyNz061m0wKL7OQm6+4ZIDn5phzYzdi3PrAk8AhGHME+pXfpGTCW/m/oi3hI+megL9+yu6/NlhqfSK5rH/bWKK8ViFYW7Ek9xT6Ul8SBSlNplGSJm3FIz4yU3+A/GllhEX9QewLYppd/zZcY1DQuaGtfEZciuKOWprdyQ1CNlCTnTFcuF1jYplQoySSpB2hKeUsoZjRfoQbxvig3yzeTvN03/VIb4qLCtZkktqNoDUbox8TZZwsfnS5bjc58ih45zw8qquskSWg1FKVFqG82SphmeSiv7m1UgdDH5xTaapdTivSozYlk1ERel1Ij03Sx5GisqJcuMWNaN9b2DvarjexAFFJU9yTIjllUgtt0sxdVCdmhfZ4k46fRFqVRuyI6IObtEKkNeTRkKix+MtSp31oFIVbaNhdgG0tTLZFk8xxJNlCpV2ca+tzQYy7lA7qajKkrff5eqbJWTOlM2B0Rc2ZakVFxm+B4mO3jkWsI37K8mcG20TkgclVqH8TZ72HG/W4JS8TRDVGpl4TaW0IqlSoIuEg/GOuehNpaIi7MS2wAajMV9S6vrtQVRchtgVZnRStre1xGP2FvF8+g6nSrWlHQBIUr5/rsLpeLcMKVjC9wFhGqcTSrb7MFYjnS5TSiOKG23AeLBmE+enQJE13ud1Cw1Tqozvh+XGZ1zThcQce0vB89dyVaDsRzpagmviMqQnCTVejCWI5vcOidKXLFmVuokTphFmqyuILxzxivalKx8xVq03d3EEl12luIWdO1gLEc2vROzTWXrZ6xF+/VNQMQzW61sqrKNe/XL6LM7tURcxK0Kl6lJe5EWt8SNvfE+c6oGkkO3HozlSAlLxDtLcf/dNPYptlVQwhLxpkiqWdItoL1sLZcCsSp0bjQYy5FSN7vHO//+psgmKhWb5Za8Yz/eBrizc6mKtegstxSIpsJOfyHC9x7Fp+rxQ+WbSOpmku/svCJXL/sbJUHA6zJEIM7p8ba8kiBiSv1HeDpxTrueo7X08XSjnr7SI2831H/C4pYeLFEahB6u0rNKc4IF/iHQq2holfT1nGlMLX9PYXEQff3VBz2EOLZzenSmlz3w/wGEUxXFROHAzwAAAABJRU5ErkJggg=="/>
+ <image id="_Image1" width="49px" height="95px" ns1:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADEAAABfCAYAAABBYi82AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAG60lEQVR4nNWce3faRhDFfxbBIbZrJ6nTV3rauN//e7Wnaes3+IXpHzvXGtYrWIkVKHOODkQBMXfnznMl79Fe9uyogDfAGNgH3trrvjs3su/MgUc7HoB7e32wc0/Asx2LLgq1VX5kCk6AA+AIOLTXAwOjw4OQ8vfA1I4bO26BO/vMvC2YHBB+5fdN0WPgPfDBjmMD8Y7aEmP7DqbUE7Ul7kz5K+ACOLfjysDdG5hFDph1IKT82BQ8AT4CPwKn9v6YYImJU3xkr7r+gpouzwbmnmCBawPwFfgb+NeATQ3wWqusAuGpcwx8D/wM/AT8YACOCLQZ22f33NEkHpAsc2OKfwX+BP6y91fAjNoqSRk1nBeAd6bsL8AfdvxmIE4IFtgnOHhFvfo5x8i+t2+/c2DXO7SF2TOg8y4g9uzih4TV/9WUPzMwHwgWEHW84rkSA1KUU7CYGBAIviQgz6mLvUlcXBY4NQBn9npqwKR8G6XXAcJ+d8Jy2BZNFSBuCKCWrOJBCMCEsNqfqelzSlihN7Rf9VzRdb2F5WdQU2tKRC9PpxHBhO+pKfQF+ERtgb4AePE+I4vsmeJKkkkQ4uUxtRN/ITjwIf1aICUxkJEprRwjIEBtLvnBJ4IPnBHC6XfUFti2eCDS85FAp5m9X0DtNGOWafTZ/r0tCjWJrxYqgl/cUZcpc2AhlAeELHwG/E5w5Allo1BXiROokqPKk4UysqxwRsjIR9R+MASRNSCE2CmhXLkD5hUhIh1T10KHNGfyXYn32/eEJHxC0L3yID4SHHmfYdAoFuWQI4KuHwhuMKqoq9Njez80K0hEqQlB1xMsAVcE+qicVmIZmhUkiqQHBNYcAuPKnfBlxZBFLqCKd1/mUUdWNX93MOI7zHfAW5lHTf2QqQTLpftbAoixbyW/BSvAcr8/xhw7LnmHLgKh4rD6lizgZakzVFGVNRoZkCz84UF8KyLl59jksGJNEz5AEQCNRecV9Ux05VhkICIrPBEq2BnwUBFq8hnLo8Mhy4JggRnWU1TUtfmMxDhkgKKBwS026qyo56FThg9CVJpRT9OfKgK3ru3kPcONVprhPhCU15z2UT5xDVzafz7uSMkcmRMW/RI3bFZ00lT6hgBiiOFWU/QbahD3WJ5Q463/eBmF7ETVtIhKYs05AcwDlrHnBLNo1+aW4Tm4EtyUoOMF9b7Fy0DqkYDwwl6H5OBKcKKStsXuMB1VwWo8eEGglT4wFNHkz7PlZYxZUfOt8UM7FlnBL/IMt8h+d/OB2mmuyNz061m0wKL7OQm6+4ZIDn5phzYzdi3PrAk8AhGHME+pXfpGTCW/m/oi3hI+megL9+yu6/NlhqfSK5rH/bWKK8ViFYW7Ek9xT6Ul8SBSlNplGSJm3FIz4yU3+A/GllhEX9QewLYppd/zZcY1DQuaGtfEZciuKOWprdyQ1CNlCTnTFcuF1jYplQoySSpB2hKeUsoZjRfoQbxvig3yzeTvN03/VIb4qLCtZkktqNoDUbox8TZZwsfnS5bjc58ih45zw8qquskSWg1FKVFqG82SphmeSiv7m1UgdDH5xTaapdTivSozYlk1ERel1Ij03Sx5GisqJcuMWNaN9b2DvarjexAFFJU9yTIjllUgtt0sxdVCdmhfZ4k46fRFqVRuyI6IObtEKkNeTRkKix+MtSp31oFIVbaNhdgG0tTLZFk8xxJNlCpV2ca+tzQYy7lA7qajKkrff5eqbJWTOlM2B0Rc2ZakVFxm+B4mO3jkWsI37K8mcG20TkgclVqH8TZ72HG/W4JS8TRDVGpl4TaW0IqlSoIuEg/GOuehNpaIi7MS2wAajMV9S6vrtQVRchtgVZnRStre1xGP2FvF8+g6nSrWlHQBIUr5/rsLpeLcMKVjC9wFhGqcTSrb7MFYjnS5TSiOKG23AeLBmE+enQJE13ud1Cw1Tqozvh+XGZ1zThcQce0vB89dyVaDsRzpagmviMqQnCTVejCWI5vcOidKXLFmVuokTphFmqyuILxzxivalKx8xVq03d3EEl12luIWdO1gLEc2vROzTWXrZ6xF+/VNQMQzW61sqrKNe/XL6LM7tURcxK0Kl6lJe5EWt8SNvfE+c6oGkkO3HozlSAlLxDtLcf/dNPYptlVQwhLxpkiqWdItoL1sLZcCsSp0bjQYy5FSN7vHO//+psgmKhWb5Za8Yz/eBrizc6mKtegstxSIpsJOfyHC9x7Fp+rxQ+WbSOpmku/svCJXL/sbJUHA6zJEIM7p8ba8kiBiSv1HeDpxTrueo7X08XSjnr7SI2831H/C4pYeLFEahB6u0rNKc4IF/iHQq2holfT1nGlMLX9PYXEQff3VBz2EOLZzenSmlz3w/wGEUxXFROHAzwAAAABJRU5ErkJggg==" />
</defs>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/valve.svg b/web/src/icons/valve.svg
index 80d7e98..5a4d713 100644
--- a/web/src/icons/valve.svg
+++ b/web/src/icons/valve.svg
@@ -1,10 +1,9 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 54 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1;">
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 54 30" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1;">
<g transform="matrix(4.60362e-17,0.751829,-0.756359,4.63136e-17,33.336,-6.5489)">
- <path d="M28.662,8.377L46.729,38.897L10.595,38.897L28.662,8.377Z" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.65px;"/>
+ <path d="M28.662,8.377L46.729,38.897L10.595,38.897L28.662,8.377Z" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.65px;" />
</g>
<g transform="matrix(-4.60362e-17,-0.751829,0.756359,-4.63136e-17,20.664,36.5489)">
- <path d="M28.662,8.377L46.729,38.897L10.595,38.897L28.662,8.377Z" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.65px;"/>
+ <path d="M28.662,8.377L46.729,38.897L10.595,38.897L28.662,8.377Z" style="fill:rgb(235,235,235);stroke:black;stroke-width:2.65px;" />
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/water_pumping_station.svg b/web/src/icons/water_pumping_station.svg
index de5051c..e6ed4a4 100644
--- a/web/src/icons/water_pumping_station.svg
+++ b/web/src/icons/water_pumping_station.svg
@@ -1,10 +1,41 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(6.12323e-17,1,-1,6.12323e-17,100.687,-0.928587)">
- <circle cx="50.929" cy="50.687" r="46.602" style="fill:rgb(123,186,172);stroke:black;stroke-width:4.17px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.492,81.858c21.8,0,39.5-17.6,39.5-39.5S64.292,2.858,42.492,2.858,2.992,20.558,2.992,42.358s17.6,39.5,39.5,39.5Z" />
+ <g>
+ <line class="c" x1="73.04" y1="42.445" x2="25.81" y2="67.008" />
+ <line class="c" x1="25.81" y1="17.807" x2="73.04" y2="42.37" />
+ </g>
+ </g>
</g>
- <g transform="matrix(5.85927e-17,0.956892,-1.2889,7.89221e-17,101.867,1.26687)">
- <path d="M4.327,50L50.929,4.085L97.53,50" style="fill:rgb(235,235,235);fill-opacity:0;stroke:black;stroke-width:3.67px;"/>
- </g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/icons/water_treatment_plant.svg b/web/src/icons/water_treatment_plant.svg
index dc04f2d..9f7a42a 100644
--- a/web/src/icons/water_treatment_plant.svg
+++ b/web/src/icons/water_treatment_plant.svg
@@ -1,7 +1,38 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
- <g transform="matrix(1.42098,0,0,0.992483,-45.9548,1.87542)">
- <path d="M67.527,2.382C67.527,2.382 46.271,45.658 46.271,64.205C46.271,80.978 55.796,94.596 67.527,94.596C79.259,94.596 88.783,80.978 88.783,64.205C88.783,45.658 67.527,2.382 67.527,2.382Z" style="fill:rgb(123,186,172);stroke:black;stroke-width:5.1px;"/>
+<?xml version='1.0' encoding='utf-8'?>
+<svg xmlns="http://www.w3.org/2000/svg" width="35.0px" height="35.0px" viewBox="0 0 85.039 85.039">
+ <defs>
+ <style>
+ .c {
+ fill: none;
+ }
+
+ .c, .d {
+ stroke: #000;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 5px;
+ }
+
+ .e {
+ mix-blend-mode: multiply;
+ opacity: 1;
+ }
+
+ .f {
+ isolation: isolate;
+ }
+
+ .d {
+ fill: #fff;
+ }
+ </style>
+ </defs>
+ <g class="f">
+ <g id="b" data-name="Layer 1" class="e">
+ <g>
+ <path class="d" d="M42.518,81.858c21.8,0,39.5-17.6,39.5-39.5S64.318,2.858,42.518,2.858,3.018,20.558,3.018,42.358s17.6,39.5,39.5,39.5Z" />
+ <path class="c" d="M42.518,69.858c12,0,21.8-9.6,21.8-22,0-14.1-21.8-34.3-21.8-34.3,0,0-21.8,20.2-21.8,34.3,0,12.4,9.8,22,21.8,22Z" />
+ </g>
</g>
-</svg>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/web/src/key/key.ts b/web/src/key/key.ts
index 0307793..9c70076 100644
--- a/web/src/key/key.ts
+++ b/web/src/key/key.ts
@@ -178,6 +178,7 @@ class KeyControl implements IControl {
plant_entries[t('power.source.biomass')] = 'power_plant_biomass'
plant_entries[t('power.source.waste')] = 'power_plant_waste'
plant_entries[t('power.source.battery')] = 'power_plant_battery'
+ plant_entries[t('power.source.unknown')] = 'power_plant'
const rows = []
for (const [key, value] of Object.entries(plant_entries)) {
diff --git a/web/src/openinframap.ts b/web/src/openinframap.ts
index c7a5f3c..6f557fe 100644
--- a/web/src/openinframap.ts
+++ b/web/src/openinframap.ts
@@ -12,8 +12,8 @@ import OIMSearch from './search/search.ts'
import { getStyle, getLayers } from './style/style.js'
-import { manifest } from 'virtual:render-svg'
import { ValidationErrorPopup } from './popup/validation-error-popup.js'
+import { SymbolLoader } from './symbol-loader.ts'
import { ClickRouter } from './click-router.js'
export default class OpenInfraMap {
@@ -96,17 +96,7 @@ export default class OpenInfraMap {
)
const clickRouter = new ClickRouter(map, map_style.layers)
-
- const icon_ratio = Math.min(Math.round(window.devicePixelRatio), 2)
- const icons = manifest[icon_ratio.toString()]
- const loadedIcons = new Set<string>()
-
- map.on('styleimagemissing', async (e) => {
- const image = await map.loadImage(icons[e.id])
- if (loadedIcons.has(e.id)) return
- loadedIcons.add(e.id)
- map.addImage(e.id, image.data, { pixelRatio: icon_ratio })
- })
+ new SymbolLoader(map)
map.dragRotate.disable()
map.touchZoomRotate.disableRotation()
diff --git a/web/src/popup/infopopup.ts b/web/src/popup/infopopup.ts
index debad80..d2a60bd 100644
--- a/web/src/popup/infopopup.ts
+++ b/web/src/popup/infopopup.ts
@@ -13,6 +13,7 @@ const hidden_keys = [
'osm_id',
'name',
'wikidata',
+ 'operator_wikidata',
'wikipedia',
'construction',
'tunnel',
diff --git a/web/src/style/common.ts b/web/src/style/common.ts
index befc22a..5c063b5 100644
--- a/web/src/style/common.ts
+++ b/web/src/style/common.ts
@@ -1,4 +1,8 @@
-import { ExpressionSpecification, FilterSpecification } from 'maplibre-gl'
+import {
+ DataDrivenPropertyValueSpecification,
+ ExpressionSpecification,
+ FilterSpecification
+} from 'maplibre-gl'
import { LayerSpecificationWithZIndex } from './types.ts'
import { local_name_tags } from '../l10n.ts'
import { step, interpolate, get, has, all, any, concat, case_, coalesce } from './stylehelpers.ts'
@@ -9,9 +13,10 @@ export function get_local_name(): ExpressionSpecification {
}
export const text_paint = {
- 'text-halo-width': 4,
- 'text-halo-blur': 2,
- 'text-halo-color': 'rgba(230, 230, 230, 1)'
+ 'text-color': 'hsl(0, 0%, 10%)',
+ 'text-halo-width': 6,
+ 'text-halo-blur': 3,
+ 'text-halo-color': 'hsla(0, 0%, 98%, 0.9)'
}
export const operator_text: ExpressionSpecification = step(['zoom'], get('name'), [
@@ -55,6 +60,9 @@ export type OIMSymbolOptions = {
iconScale?: ExpressionSpecification | number // Icon scale at max icon zoom
iconMinScale?: ExpressionSpecification | number // Icon scale at initial icon zoom
iconMaxZoom?: number
+ iconAnchor?: DataDrivenPropertyValueSpecification<
+ 'bottom' | 'center' | 'left' | 'right' | 'top' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'
+ >
}
/**
@@ -69,6 +77,7 @@ export function oimSymbol(options: OIMSymbolOptions): LayerSpecificationWithZInd
const textSize = options.textSize || 12
const textOffset = options.textOffset || 1.4
const iconMaxZoom = options.iconMaxZoom || 21
+ const iconAnchor = options.iconAnchor || 'center'
return {
id: options.id,
zorder: options.zorder,
@@ -98,6 +107,7 @@ export function oimSymbol(options: OIMSymbolOptions): LayerSpecificationWithZInd
[iconMaxZoom, iconScale]
]
),
+ 'icon-anchor': iconAnchor,
'text-field': options.textField,
'text-font': font,
'text-size': interpolate(
@@ -107,7 +117,7 @@ export function oimSymbol(options: OIMSymbolOptions): LayerSpecificationWithZInd
[18, textSize]
]
),
- 'text-variable-anchor': ['top', 'bottom'],
+ 'text-variable-anchor': iconAnchor == 'center' ? ['top', 'bottom'] : ['center'],
// Increase the textOffset as iconSize increases. Beyond iconMaxZoom, ease the textOffset to 0,
// unless the feature is a node, in which case we'll still be showing the icon.
'text-radial-offset': interpolate(
diff --git a/web/src/style/style.ts b/web/src/style/style.ts
index 51fa20d..bd5c180 100644
--- a/web/src/style/style.ts
+++ b/web/src/style/style.ts
@@ -129,7 +129,7 @@ export function getLayers() {
}
export function getStyle() {
- const oim_layers = getLayers()
+ const oim_layers = [...getLayers(), ...style_labels(i18next.language)]
oim_layers.sort((a, b) => {
if (!a.zorder || !b.zorder) {
@@ -140,6 +140,6 @@ export function getStyle() {
return 0
})
- style.layers = [...style_base, ...oim_layers, ...style_labels(i18next.language)]
+ style.layers = [...style_base, ...oim_layers]
return style
}
diff --git a/web/src/style/style_labels.ts b/web/src/style/style_labels.ts
index 46863ca..8b865a2 100644
--- a/web/src/style/style_labels.ts
+++ b/web/src/style/style_labels.ts
@@ -13,6 +13,7 @@ function pmLabel(lang: string): DataDrivenPropertyValueSpecification<string> {
export default function layers(lang: string): LayerSpecificationWithZIndex[] {
return [
{
+ zorder: 301,
id: 'label_address',
type: 'symbol',
source: 'basemap',
@@ -32,6 +33,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 302,
id: 'label_water_waterway',
type: 'symbol',
source: 'basemap',
@@ -52,6 +54,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 303,
id: 'label_roads_minor',
type: 'symbol',
source: 'basemap',
@@ -72,6 +75,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 304,
id: 'label_roads_major',
type: 'symbol',
source: 'basemap',
@@ -92,6 +96,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 305,
id: 'label_places_subplace',
type: 'symbol',
source: 'basemap',
@@ -115,6 +120,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 306,
id: 'label_places_locality',
type: 'symbol',
source: 'basemap',
@@ -154,6 +160,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 310,
id: 'label_places_region',
type: 'symbol',
source: 'basemap',
@@ -176,6 +183,7 @@ export default function layers(lang: string): LayerSpecificationWithZIndex[] {
}
},
{
+ zorder: 311,
id: 'label_places_country',
type: 'symbol',
source: 'basemap',
diff --git a/web/src/style/style_oim_power.ts b/web/src/style/style_oim_power.ts
index bcaf2cb..e584c72 100644
--- a/web/src/style/style_oim_power.ts
+++ b/web/src/style/style_oim_power.ts
@@ -61,6 +61,10 @@ export const plant_types = {
battery: 'power_plant_battery'
}
+// Zoom level at which substation labels switch from centroid to outline placement.
+const substation_label_switch_zoom = 16
+const multi_voltage_min_zoom = 10
+
// === Frequency predicates
const traction_freq_p: ExpressionSpecification = all(
has('frequency'),
@@ -96,8 +100,6 @@ function voltage_color(field: string): DataDrivenPropertyValueSpecification<stri
)
}
-const multi_voltage_min_zoom = 10
-
// Generate an expression to determine the offset of a power line
// segment with multiple voltages
function voltage_offset(index: number): DataDrivenPropertyValueSpecification<number> {
@@ -136,19 +138,19 @@ const voltage_line_thickness: ExpressionSpecification = interpolate(
[
[1, 0.5],
[
- 21,
+ 20,
match(
get('line'),
[
- ['bay', 1],
- ['busbar', 1]
+ ['bay', 2],
+ ['busbar', 2.5]
],
interpolate(coalesce(get('voltage'), 0), [
[0, 1.5],
[20, 2],
[30, 4],
- [100, 6],
- [500, 9]
+ [100, 5],
+ [500, 7]
])
)
]
@@ -166,8 +168,8 @@ const substation_visible_p: ExpressionSpecification = all(
['>', voltage, 200],
all(['>', voltage, 200], ['>', zoom, 6]),
all(['>', voltage, 100], ['>', zoom, 7]),
- all(['>', voltage, 9], ['>', zoom, 9]),
- ['>', zoom, 10]
+ all(['>', voltage, 9], ['>', zoom, 10]),
+ ['>', zoom, 10.5]
),
any(['!=', get('substation'), 'transition'], ['>', zoom, 12])
)
@@ -215,7 +217,7 @@ const substation_label_visible_p: ExpressionSpecification = all(
all(['>', voltage, 50], ['>', zoom, 12]),
['>', zoom, 13]
),
- any(['==', area, 0], ['<', zoom, 17]),
+ any(['==', area, 0], ['<', zoom, substation_label_switch_zoom]),
['!=', get('substation'), 'transition']
)
@@ -459,6 +461,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
minzoom: 5,
'source-layer': 'power_plant',
paint: {
+ 'fill-color': 'hsl(30, 20%, 35%)',
'fill-opacity': if_(construction_p, 0.05, 0.2)
}
},
@@ -473,10 +476,14 @@ export default function layers(): LayerSpecificationWithZIndex[] {
paint: {
'line-color': rgb(30, 30, 30),
'line-opacity': 0.8,
- 'line-width': interpolate(zoom, [
- [13, 0.5],
- [20, 4]
- ])
+ 'line-width': interpolate(
+ zoom,
+ [
+ [8, 0],
+ [20, 4]
+ ],
+ 1.2
+ )
},
layout: {
'line-join': 'round'
@@ -511,10 +518,14 @@ export default function layers(): LayerSpecificationWithZIndex[] {
paint: {
'line-color': rgb(163, 139, 16),
'line-opacity': 0.8,
- 'line-width': interpolate(zoom, [
- [13, 1],
- [20, 4]
- ]),
+ 'line-width': interpolate(
+ zoom,
+ [
+ [8, 0],
+ [20, 4]
+ ],
+ 0.9
+ ),
'line-dasharray': [2, 2]
},
layout: {
@@ -657,117 +668,6 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'line-cap': 'round'
}
},
- oimSymbol({
- zorder: 261,
- id: 'power_transformer',
- minZoom: 14,
- source: 'power',
- sourceLayer: 'power_transformer',
- iconImage: case_(
- [
- [
- any(has('voltage_tertiary'), ['==', ['to-number', get('windings')], 3]),
- 'power_transformer_3_winding'
- ],
- [['==', get('transformer_type'), 'current'], 'power_transformer_current'],
- [['==', get('transformer_type'), 'potential'], 'power_transformer_potential']
- ],
- 'power_transformer'
- ),
- iconMinScale: 0.1,
- iconScale: match(
- get('transformer_type'),
- [
- ['current', 0.6],
- ['potential', 0.6]
- ],
- 1
- ),
- textMinZoom: 17,
- textField: transformer_label,
- textOffset: 3
- }),
- {
- zorder: 262,
- id: 'power_compensator',
- type: 'symbol',
- source: 'power',
- 'source-layer': 'power_compensator',
- minzoom: 14,
- paint: text_paint,
- layout: {
- 'icon-image': match(
- get('type'),
- [
- ['series_reactor', 'power_reactor'],
- ['shunt_reactor', 'power_reactor_shunt'],
- ['series_capacitor', 'power_capacitor'],
- ['shunt_capacitor', 'power_capacitor_shunt'],
- ['filter', 'power_filter']
- ],
- 'power_compensator_frame'
- ),
- 'text-field': step(zoom, '', [
- [
- 16,
- match(
- get('type'),
- [
- ['static_var', 'SVC'],
- ['statcom', 'STC'],
- ['voltage_regulator', 'VR'],
- ['synchronous_condenser', 'SC']
- ],
- ''
- )
- ]
- ]),
- 'text-font': font,
- 'text-size': interpolate(zoom, [
- [16, 8],
- [21, 35]
- ]),
- 'icon-allow-overlap': true,
- 'icon-size': interpolate(
- zoom,
- [
- [14, 0.05],
- [21, 1]
- ],
- 1.2
- )
- }
- },
- {
- zorder: 263,
- id: 'power_switch',
- type: 'symbol',
- source: 'power',
- 'source-layer': 'power_switch',
- minzoom: 14,
- paint: text_paint,
- layout: {
- 'icon-image': match(
- get('type'),
- [
- ['disconnector', 'power_switch_disconnector'],
- ['circuit_breaker', 'power_switch_circuit_breaker']
- ],
- 'power_switch'
- ),
- 'icon-rotate': ['-', ['get', 'angle'], 90],
- 'icon-offset': [0, -4],
- 'icon-size': interpolate(
- zoom,
- [
- [14, 0.2],
- [21, 1]
- ],
- 1.2
- ),
- 'icon-allow-overlap': true
- }
- },
{
zorder: 264,
id: 'power_tower',
@@ -776,28 +676,29 @@ export default function layers(): LayerSpecificationWithZIndex[] {
source: 'power',
'source-layer': 'power_tower',
minzoom: 13,
- paint: text_paint,
layout: {
'icon-image': case_([[get('transition'), 'power_tower_transition']], 'power_tower'),
'icon-allow-overlap': true,
'icon-size': interpolate(
zoom,
[
- [13, 0.6],
+ [13, 0.5],
[21, 1.5]
],
1.2
),
+ 'icon-rotate': ['-', ['get', 'angle'], 180],
'text-field': step(zoom, '', [[14, get('ref')]]),
'text-font': font,
'text-size': interpolate(zoom, [
[13, 8],
[21, 14]
]),
- 'text-offset': [0, 1.5],
- 'text-max-angle': 10,
- 'text-optional': true
- }
+ 'text-optional': true,
+ 'text-variable-anchor': ['top', 'bottom', 'left', 'right'],
+ 'text-radial-offset': 1
+ },
+ paint: text_paint
},
{
zorder: 265,
@@ -807,14 +708,24 @@ export default function layers(): LayerSpecificationWithZIndex[] {
source: 'power',
'source-layer': 'power_tower',
minzoom: 13,
- paint: text_paint,
+ paint: {
+ ...text_paint,
+ 'icon-opacity': interpolate(zoom, [
+ [13, 0],
+ [13.5, 1]
+ ])
+ },
layout: {
'icon-image': case_([[get('transition'), 'power_pole_transition']], 'power_pole'),
'icon-allow-overlap': true,
- 'icon-size': interpolate(zoom, [
- [13, 0.2],
- [17, 0.8]
- ]),
+ 'icon-size': interpolate(
+ zoom,
+ [
+ [13, 0.1],
+ [20, 0.6]
+ ],
+ 1.3
+ ),
'text-field': step(zoom, '', [
[15, concat(if_(has('name'), concat(get('name'), '\n'), ''), get('ref'))]
]),
@@ -831,6 +742,43 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'text-optional': true
}
},
+ {
+ zorder: 265,
+ id: 'power_portal_node',
+ type: 'symbol',
+ filter: ['==', get('type'), 'portal'],
+ source: 'power',
+ 'source-layer': 'power_tower',
+ minzoom: 14,
+ layout: {
+ 'icon-image': 'power_portal',
+ 'icon-allow-overlap': true,
+ 'icon-size': interpolate(zoom, [
+ [14, 0.3],
+ [20, 1]
+ ]),
+ 'icon-rotate': ['get', 'angle']
+ }
+ },
+ {
+ zorder: 265,
+ id: 'power_portal_way',
+ type: 'line',
+ source: 'power',
+ 'source-layer': 'power_portal_way',
+ minzoom: 14,
+ layout: {
+ 'line-join': 'bevel',
+ 'line-cap': 'square'
+ },
+ paint: {
+ 'line-color': '#444',
+ 'line-width': interpolate(zoom, [
+ [14, 2],
+ [20, 6]
+ ])
+ }
+ },
{
zorder: 266,
id: 'power_pole_transformer',
@@ -838,13 +786,14 @@ export default function layers(): LayerSpecificationWithZIndex[] {
filter: any(has('transformer'), has('substation')),
source: 'power',
'source-layer': 'power_tower',
- minzoom: 13,
+ minzoom: 14,
layout: {
'icon-image': 'power_transformer',
- 'icon-offset': [45, 0],
+ 'icon-offset': [10, 0],
+ 'icon-anchor': 'left',
'icon-size': interpolate(zoom, [
- [13, 0.1],
- [21, 0.5]
+ [14, 0.3],
+ [20, 1]
]),
'icon-allow-overlap': true
}
@@ -869,12 +818,126 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'icon-rotate': 270,
'icon-offset': match(get('type'), [['tower', literal([0, -30])]], literal([0, -20])),
'icon-size': interpolate(zoom, [
- [13, 0.2],
- [21, 1]
+ [14, 0.3],
+ [20, 1]
]),
'icon-allow-overlap': true
}
},
+ {
+ zorder: 265,
+ id: 'power_switch',
+ type: 'symbol',
+ source: 'power',
+ 'source-layer': 'power_switch',
+ minzoom: 15,
+ paint: text_paint,
+ layout: {
+ 'icon-image': match(
+ get('type'),
+ [
+ ['disconnector', 'power_switch_disconnector'],
+ ['circuit_breaker', 'power_switch_circuit_breaker']
+ ],
+ 'power_switch'
+ ),
+ 'icon-rotate': ['-', ['get', 'angle'], 90],
+ 'icon-offset': [0, 0],
+ 'icon-size': interpolate(
+ zoom,
+ [
+ [15, 0.4],
+ [20, 1]
+ ],
+ 1.2
+ ),
+ 'icon-allow-overlap': true
+ }
+ },
+ oimSymbol({
+ zorder: 266,
+ id: 'power_transformer',
+ minZoom: 14,
+ source: 'power',
+ sourceLayer: 'power_transformer',
+ iconImage: case_(
+ [
+ [
+ any(has('voltage_tertiary'), ['==', ['to-number', get('windings')], 3]),
+ 'power_transformer_3_winding'
+ ],
+ [['==', get('transformer_type'), 'current'], 'power_transformer_current'],
+ [['==', get('transformer_type'), 'potential'], 'power_transformer_potential']
+ ],
+ 'power_transformer'
+ ),
+ iconMinScale: 0.1,
+ iconScale: match(
+ get('transformer_type'),
+ [
+ ['current', 0.8],
+ ['potential', 0.8]
+ ],
+ interpolate(coalesce(['to-number', get('voltage_primary')], 0), [
+ [0, 1],
+ [500, 1.6]
+ ])
+ ),
+ textMinZoom: 17,
+ textField: transformer_label,
+ textOffset: 2
+ }),
+ {
+ zorder: 266,
+ id: 'power_compensator',
+ type: 'symbol',
+ source: 'power',
+ 'source-layer': 'power_compensator',
+ minzoom: 14,
+ paint: text_paint,
+ layout: {
+ 'icon-image': match(
+ get('type'),
+ [
+ ['series_reactor', 'power_reactor'],
+ ['shunt_reactor', 'power_reactor_shunt'],
+ ['series_capacitor', 'power_capacitor'],
+ ['shunt_capacitor', 'power_capacitor_shunt'],
+ ['filter', 'power_filter']
+ ],
+ 'power_compensator_frame'
+ ),
+ 'text-field': step(zoom, '', [
+ [
+ 16,
+ match(
+ get('type'),
+ [
+ ['static_var', 'SVC'],
+ ['statcom', 'STC'],
+ ['voltage_regulator', 'VR'],
+ ['synchronous_condenser', 'SC']
+ ],
+ ''
+ )
+ ]
+ ]),
+ 'text-font': font,
+ 'text-size': interpolate(zoom, [
+ [16, 8],
+ [20, 35]
+ ]),
+ 'icon-allow-overlap': true,
+ 'icon-size': interpolate(
+ zoom,
+ [
+ [14, 0.1],
+ [20, 1]
+ ],
+ 1.2
+ )
+ }
+ },
oimSymbol({
zorder: 264,
id: 'power_generator_solar',
@@ -898,22 +961,9 @@ export default function layers(): LayerSpecificationWithZIndex[] {
textField: name_output_label(11, 14),
iconImage: 'power_generator',
textMinZoom: 13,
- iconScale: 0.3,
+ iconScale: 1,
iconMinScale: 0.1
}),
- oimSymbol({
- zorder: 266,
- id: 'power_wind_turbine',
- minZoom: 11,
- source: 'power',
- sourceLayer: 'power_generator',
- filter: ['==', get('source'), 'wind'],
- textField: name_output_label(11, 14),
- iconImage: 'power_wind',
- textMinZoom: 12,
- iconScale: 2,
- iconMinScale: 0.5
- }),
{
zorder: 267,
id: 'power_wind_turbine_point',
@@ -922,15 +972,34 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'source-layer': 'power_generator',
filter: ['==', get('source'), 'wind'],
minzoom: 9,
- maxzoom: 11,
+ maxzoom: 11.0001,
paint: {
'circle-radius': interpolate(zoom, [
[9, 0.5],
- [11, 2]
+ [11, 0.9]
]),
- 'circle-color': '#444444'
+ 'circle-color': '#fff',
+ 'circle-stroke-color': '#000',
+ 'circle-stroke-width': interpolate(zoom, [
+ [9, 0.3],
+ [11, 0.6]
+ ])
}
},
+ oimSymbol({
+ zorder: 266,
+ id: 'power_wind_turbine',
+ minZoom: 11,
+ source: 'power',
+ sourceLayer: 'power_generator',
+ filter: ['==', get('source'), 'wind'],
+ textField: name_output_label(11, 14),
+ iconImage: 'power_wind',
+ textMinZoom: 12,
+ iconScale: 2,
+ iconMinScale: 0.3,
+ iconAnchor: 'bottom'
+ }),
{
zorder: 268,
id: 'power_substation_point',
@@ -978,7 +1047,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
zorder: 561,
id: 'power_line_label',
type: 'symbol',
- filter: power_visible_p,
+ filter: all(power_visible_p, not(match(get('line'), [[['busbar', 'bay'], true]], false))),
source: 'power',
'source-layer': 'power_line',
minzoom: 10,
@@ -988,10 +1057,14 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'text-font': font,
'symbol-placement': 'line',
'symbol-spacing': 400,
- 'text-size': interpolate(zoom, [
- [11, 10],
- [18, 13]
- ]),
+ 'text-size': interpolate(
+ zoom,
+ [
+ [10, 10],
+ [20, 21]
+ ],
+ 1.4
+ ),
'text-offset': case_(
[
[has('voltage_3'), literal([0, 1.5])],
@@ -999,11 +1072,11 @@ export default function layers(): LayerSpecificationWithZIndex[] {
],
literal([0, 1])
),
- 'text-max-angle': 15
+ 'text-max-angle': 20
}
},
{
- zorder: 561,
+ zorder: 570,
id: 'power_line_label_low_zoom',
type: 'symbol',
filter: all(power_visible_p, any(['>', get('voltage'), 350], hvdc_p)),
@@ -1018,10 +1091,10 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'symbol-placement': 'line',
'symbol-spacing': 400,
'text-size': interpolate(zoom, [
- [5, 9],
- [10, 13]
+ [5, 7],
+ [10, 10]
]),
- 'text-max-angle': 30,
+ 'text-max-angle': 60,
'text-padding': 15
}
},
@@ -1054,7 +1127,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
source: 'power',
filter: substation_label_visible_p,
'source-layer': 'power_substation_point',
- minzoom: 8,
+ minzoom: 9,
layout: {
'symbol-sort-key': ['-', 10000, voltage],
'symbol-z-order': 'source',
@@ -1076,6 +1149,23 @@ export default function layers(): LayerSpecificationWithZIndex[] {
},
paint: text_paint
},
+ {
+ zorder: 562,
+ id: 'power_substation_label_high_zoom',
+ type: 'symbol',
+ source: 'power',
+ 'source-layer': 'power_substation',
+ minzoom: substation_label_switch_zoom,
+ layout: {
+ 'symbol-placement': 'line',
+ 'symbol-spacing': 600,
+ 'text-field': substation_label,
+ 'text-font': font,
+ 'text-size': 12,
+ 'text-offset': [0, -1]
+ },
+ paint: text_paint
+ },
{
zorder: 562,
id: 'power_converter_point',
@@ -1087,15 +1177,15 @@ export default function layers(): LayerSpecificationWithZIndex[] {
layout: {
'icon-image': 'converter',
'icon-size': interpolate(zoom, [
- [5, 0.4],
- [9, 1]
+ [5, 0.2],
+ [13, 0.8]
]),
'text-field': substation_label,
'text-font': font,
'text-variable-anchor': ['top', 'bottom'],
'text-radial-offset': interpolate(zoom, [
[5, 1.2],
- [9, 1.6]
+ [13, 1.6]
]),
'text-size': interpolate(zoom, [
[7, 10],
@@ -1117,25 +1207,30 @@ export default function layers(): LayerSpecificationWithZIndex[] {
},
{
zorder: 563,
- id: 'power_plant_label',
+ id: 'power_plant_symbol',
type: 'symbol',
source: 'power',
filter: plant_label_visible_p,
'source-layer': 'power_plant_point',
- minzoom: 6,
+ minzoom: 5.5,
maxzoom: 24,
layout: {
'symbol-sort-key': ['-', 10000, output],
'symbol-z-order': 'source',
- 'icon-allow-overlap': true,
'icon-image': plant_image(),
'icon-size': interpolate(zoom, [
- [6, 0.5],
[
- 13,
+ 5.5,
+ interpolate(output, [
+ [0, 0.1],
+ [1000, 0.4]
+ ])
+ ],
+ [
+ 11,
interpolate(output, [
[0, 0.6],
- [1000, 1]
+ [1000, 0.8]
])
]
]),
@@ -1143,31 +1238,32 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'text-font': font,
'text-variable-anchor': ['top', 'bottom'],
'text-radial-offset': interpolate(zoom, [
- [7, 1],
+ [5.5, 1],
[
13,
interpolate(output, [
- [0, 1],
- [1000, 1.6]
+ [0, 1.25],
+ [1000, 1.8]
])
],
[14, 0]
]),
+ 'text-line-height': 1.1,
'text-size': interpolate(zoom, [
[7, 10],
[
18,
interpolate(output, [
- [0, 10],
+ [0, 12],
[2000, 16]
])
]
]),
- 'text-optional': true
+ 'text-optional': true,
+ 'text-max-width': 10
},
paint: {
...text_paint,
- // Control visibility using the opacity property...
'icon-opacity': ['step', zoom, if_(construction_p, 0.5, 1), 13, 0]
}
}
diff --git a/web/src/style/style_oim_telecoms.ts b/web/src/style/style_oim_telecoms.ts
index a3ec7c9..c1dfbbb 100644
--- a/web/src/style/style_oim_telecoms.ts
+++ b/web/src/style/style_oim_telecoms.ts
@@ -54,11 +54,13 @@ export default function layers(): LayerSpecificationWithZIndex[] {
sourceLayer: 'telecoms_mast',
filter: all(not(construction_p), not(disused_p)),
minZoom: 10,
+ iconScale: 0.5,
textField: operator_text,
iconImage: 'comms_tower',
+ iconAnchor: 'bottom',
iconMaxZoom: 21,
textMinZoom: 12,
- textOffset: 1.5
+ textOffset: 3
}),
oimSymbol({
zorder: 562,
@@ -74,10 +76,10 @@ export default function layers(): LayerSpecificationWithZIndex[] {
not(construction_p),
not(disused_p)
),
- minZoom: 6,
+ minZoom: 6.5,
textField: operator_text,
iconImage: 'telecom_exchange',
- iconScale: 0.2,
+ iconScale: 0.4,
textMinZoom: 11.5,
iconMaxZoom: 13.5
}),
@@ -94,10 +96,10 @@ export default function layers(): LayerSpecificationWithZIndex[] {
minZoom: 5,
textField: operator_text,
iconImage: 'telecom_datacenter',
- iconScale: 0.3,
+ iconScale: 0.6,
textMinZoom: 8,
iconMaxZoom: 13.5,
- textOffset: 1.9
+ textOffset: 1.4
}),
{
zorder: 564,
diff --git a/web/src/style/style_oim_water.ts b/web/src/style/style_oim_water.ts
index e9d70a1..f718406 100644
--- a/web/src/style/style_oim_water.ts
+++ b/web/src/style/style_oim_water.ts
@@ -287,8 +287,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
'sewage_pumping_station',
'pumping_station'
],
- iconScale: 0.25,
- iconMinScale: 0.08,
+ iconMinScale: 0.5,
iconMaxZoom: 14.5
}),
oimSymbol({
@@ -300,8 +299,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
textField: get_local_name(),
textMinZoom: 10,
iconImage: 'water_treatment_plant',
- iconScale: 0.4,
- iconMinScale: 0.08,
+ iconMinScale: 0.2,
iconMaxZoom: 14.5,
textOffset: 1.9
}),
@@ -314,8 +312,7 @@ export default function layers(): LayerSpecificationWithZIndex[] {
textField: ['step', ['zoom'], '', 10, get_local_name()],
textMinZoom: 10,
iconImage: 'sewage_treatment_plant',
- iconScale: 0.4,
- iconMinScale: 0.08,
+ iconMinScale: 0.2,
iconMaxZoom: 14.5,
textOffset: 1.9
})
diff --git a/web/src/symbol-loader.ts b/web/src/symbol-loader.ts
new file mode 100644
index 0000000..9d5583d
--- /dev/null
+++ b/web/src/symbol-loader.ts
@@ -0,0 +1,34 @@
+import { Map, StyleImageMetadata, MapStyleImageMissingEvent } from 'maplibre-gl'
+import { manifest } from 'virtual:render-svg'
+
+export class SymbolLoader {
+ icon_ratio: number
+ icons: Record<string, string>
+ loadedIcons: Set<string>
+
+ constructor(private map: Map) {
+ this.icon_ratio = Math.min(Math.round(window.devicePixelRatio), 2)
+ this.icons = manifest[this.icon_ratio.toString()]
+ this.loadedIcons = new Set<string>()
+ this.map.on('styleimagemissing', this.styleImageMissing.bind(this))
+ }
+
+ async styleImageMissing(e: MapStyleImageMissingEvent) {
+ if (this.loadedIcons.has(e.id)) return
+
+ const image_url = this.icons[e.id]
+ const metadata: StyleImageMetadata = {
+ pixelRatio: this.icon_ratio,
+ sdf: false
+ }
+
+ if (!image_url) {
+ console.error(`Icon not found: ${e.id}`)
+ return
+ }
+
+ const image = await this.map.loadImage(image_url)
+ this.loadedIcons.add(e.id)
+ this.map.addImage(e.id, image.data, metadata)
+ }
+}