Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-09-12 10:49:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
99ba3b225da36571a7e25a9720f924bfcb78b001
99ba3b22
1 parent
64507b37
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/index.vue
src/views/index.vue
View file @
99ba3b2
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-12 10:4
6:54
* @LastEditTime: 2024-09-12 10:4
9:21
* @FilePath: /map-demo/src/views/index.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -1107,6 +1107,7 @@ export default {
// }
// 测试
this.closeInfoWindow(); // 关闭弹框
this.onClose(); // 关闭弹框
// this.setWalkRoute({ lng: 120.59014, lat: 31.310306 }, { lng: position[0], lat: position[1] });
if (this.current_route) { // 清除前一条步行导航
this.map.remove([this.current_route]); // 删除地图折线
...
...
Please
register
or
login
to post a comment