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-20 11:46:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
983fda3ceee2d53ed9545cb55509b272c85d7918
983fda3c
1 parent
6f1fef28
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
src/views/bieyuan/info.vue
src/views/bieyuan/map.vue
src/views/bieyuan/info.vue
View file @
983fda3
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-
19 18:28:02
* @LastEditTime: 2024-09-
20 11:36:43
* @FilePath: /map-demo/src/views/bieyuan/info.vue
* @Description: 文件描述
-->
...
...
@@ -177,7 +177,7 @@ const goTo = () => { // 打开标记地图显示
})
} else { // 地图页
//
emit("closeFloat", false);
//
emit("closeFloat", false);
//
emit("route", 'marker_id');
}
...
...
src/views/bieyuan/map.vue
View file @
983fda3
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-20 11:
13:11
* @LastEditTime: 2024-09-20 11:
46:10
* @FilePath: /map-demo/src/views/bieyuan/map.vue
* @Description: 公众地图主体页面
-->
...
...
@@ -348,15 +348,8 @@ export default {
console.warn(entity_info[i]);
let marker_id = this.$route.query.marker_id;
if (marker_id) {
let test_paths = {
name: 'test',
path: [[117.049724,26.838248],
[117.049564,26.838155],
[117.04941,26.837998],
[117.049233,26.837796],]
}
this.$nextTick(() => {
this.addSafeRoute(t
est_paths
);
this.addSafeRoute(t
his.data_path_list[0]
);
});
}
});
...
...
Please
register
or
login
to post a comment