From 7a2cdfa8dab78be1a3096d25a47bc6b7fa644e54 Mon Sep 17 00:00:00 2001 From: zhaipx Date: Mon, 10 Feb 2025 14:32:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=9E=E7=8E=B0=E5=A4=9A=E8=BE=B9?= =?UTF-8?q?=E5=BD=A2=E3=80=81=E7=9F=A9=E5=BD=A2=E3=80=81=E5=9C=86=E5=BD=A2?= =?UTF-8?q?=E7=BB=98=E5=88=B6=E5=92=8C=E5=A4=9A=E8=BE=B9=E5=BD=A2=E9=9D=A2?= =?UTF-8?q?=E7=A7=AF=E6=B5=8B=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 + pnpm-lock.yaml | 21 + src/App.vue | 2 +- src/assets/js/cesium-map/measureDistance.js | 539 ++++++++++++++++++-- src/components/map/BottomBar.vue | 2 +- src/components/toolbar.vue | 160 ++++-- 6 files changed, 631 insertions(+), 96 deletions(-) diff --git a/package.json b/package.json index 2f92288..2970300 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,10 @@ "preinstall": "node ./scripts/preinstall.js" }, "dependencies": { + "@vicons/carbon": "^0.13.0", + "@vicons/fa": "^0.13.0", "@vicons/ionicons5": "^0.13.0", + "@vicons/material": "^0.13.0", "axios": "^1.6.7", "cesium": "1.108", "cesium-navigation-es6": "^3.0.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fc0b11e..5d7d0c4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,18 @@ settings: excludeLinksFromLockfile: false dependencies: + '@vicons/carbon': + specifier: ^0.13.0 + version: 0.13.0 + '@vicons/fa': + specifier: ^0.13.0 + version: 0.13.0 '@vicons/ionicons5': specifier: ^0.13.0 version: 0.13.0 + '@vicons/material': + specifier: ^0.13.0 + version: 0.13.0 axios: specifier: ^1.6.7 version: 1.6.7 @@ -1268,10 +1277,22 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true + /@vicons/carbon@0.13.0: + resolution: {integrity: sha512-Z/jExyyS4gsXJc66oTqV/j98nsaiX2JlQ0IUwu9Ms3rztf8VOHEQRuX8Jey1/zbxJpFY/tU+bWvKPRFYGIvCWQ==, tarball: https://registry.npmmirror.com/@vicons/carbon/-/carbon-0.13.0.tgz} + dev: false + + /@vicons/fa@0.13.0: + resolution: {integrity: sha512-BFcDewcT78fSn4Y/fOgqlswbLUEW3+qJK2iJiNtgmkMzadBVpDXhNyVKsYM3V2uKPvDUrZT0JCWDWVRCiBXJZA==, tarball: https://registry.npmmirror.com/@vicons/fa/-/fa-0.13.0.tgz} + dev: false + /@vicons/ionicons5@0.13.0: resolution: {integrity: sha512-zvZKBPjEXKN7AXNo2Na2uy+nvuv6SP4KAMQxpKL2vfHMj0fSvuw7JZcOPCjQC3e7ayssKnaoFVAhbYcW6v41qQ==, tarball: https://registry.npmmirror.com/@vicons/ionicons5/-/ionicons5-0.13.0.tgz} dev: false + /@vicons/material@0.13.0: + resolution: {integrity: sha512-lKVxFNprM+CaBkUH3gt6VjIeiMsKQl2zARQMwTCZruQl2vRHzyeZiKeCflWS99CEfv2JzX/6y697smxlzyxcVw==, tarball: https://registry.npmmirror.com/@vicons/material/-/material-0.13.0.tgz} + dev: false + /@vitejs/plugin-vue@5.0.4(vite@5.1.5)(vue@3.4.21): resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} engines: {node: ^18.0.0 || >=20.0.0} diff --git a/src/App.vue b/src/App.vue index 2e8d113..e260616 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,7 @@ -