feat: add map interaction and coordinate plotter tools, optimize dev config

1. 新增图上量测与拾取、坐标展点两个地图工具页面
2. 安装leaflet依赖并配置vite开发服务器允许局域网访问
3. 更新首页工具列表,新增两个工具入口
4. 优化坐标转换器默认参数和文件读取方式
5. 调整面积计算精度,删除无用的HelloWorld组件
This commit is contained in:
2026-06-08 09:37:20 +08:00
parent 8bf55b6716
commit be48495dcf
10 changed files with 1933 additions and 54 deletions

7
package-lock.json generated
View File

@@ -10,6 +10,7 @@
"dependencies": {
"@turf/turf": "^7.3.3",
"gcoord": "^1.0.7",
"leaflet": "^1.9.4",
"lucide-vue-next": "^0.563.0",
"proj4": "^2.20.4",
"vue": "^3.5.24",
@@ -3354,6 +3355,12 @@
"integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==",
"license": "ISC"
},
"node_modules/leaflet": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz",
"integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==",
"license": "BSD-2-Clause"
},
"node_modules/lucide-vue-next": {
"version": "0.563.0",
"resolved": "https://registry.npmjs.org/lucide-vue-next/-/lucide-vue-next-0.563.0.tgz",