骑行路线规划应用
一个基于 高德地图API 制作的地图 web 应用,可以分享路线、查看 gpx 路径、地图信息点分享、各市区县布局等。
路线分享
http://kylebing.cn/tools/map/#/route/route-line
Screenshot 2024年01月23日 at 17 45 28
gpx 路径 展示
http://kylebing.cn/tools/map/#/gpx/gpx-viewer
GPX
gpx 3D 路径展示
http://kylebing.cn/tools/map/#/gpx/gpx-viewer-3D
2024年05月06日 13-52-05 2024年05月06日 13_55_08
数据点展示
http://kylebing.cn/tools/map/#/pointer/pointer-viewer
Screenshot 2024年01月23日 at 17 39 57
范围标记
http://kylebing.cn/tools/map/#/tool/circle
Screenshot 2024年01月23日 at 17 40 29
市内区县展示
http://kylebing.cn/tools/map/#/tool/district-info
Screenshot 2024年01月23日 at 17 40 42
修改 /src/mapConfig.js 中的高德地图开发 key,获取地址: https://console.amap.com/dev/key/app
有两个,别选错了
开发api key 版本const key_web_js = '' // web js key const key_service = '' // web服务 key export { key_web_js, key_service }
Web JS 在使用的时候还需要在服务器中设置对应的安全密钥,具体参见官方文档:
JS API 安全密钥使用 https://lbs.amap.com/api/javascript-api-v2/guide/abc/jscode
后台:https://github.com/KyleBing/portal
vue3+pinia+routerts- 高德 API 2.0
- 2021年06月28日 init
vue2 - 2024年07月26日
vite+ts+vue3
- 点过多时,列表滚动
2025年04月18日