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
2023-06-28 09:50:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f1f01df37675ee4e1430fbba42b2668565dea4e5
f1f01df3
1 parent
83507edb
fix 细节修复
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
src/common/tiantan_v2.js
src/views/index.vue
src/common/tiantan_v2.js
View file @
f1f01df
...
...
@@ -376,7 +376,7 @@ var activityInfo = [
{
name
:
'包子铺'
,
position
:
[
120.586912
,
31.314195
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
8%8A%B1%E5%9B%AD
@2x.png'
,
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
9%A4%90%E9%A5%AE
@2x.png'
,
details
:
[
{
name
:
''
,
...
...
@@ -389,7 +389,7 @@ var activityInfo = [
{
name
:
'开水房'
,
position
:
[
120.586812
,
31.314049
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
8%8A%B1%E5%9B%AD
@2x.png'
,
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
9%A4%90%E9%A5%AE
@2x.png'
,
details
:
[
{
name
:
''
,
...
...
@@ -402,7 +402,7 @@ var activityInfo = [
{
name
:
'茶室'
,
position
:
[
120.58681
,
31.314981
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
8%8A%B1%E5%9B%AD
@2x.png'
,
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E
9%A4%90%E9%A5%AE
@2x.png'
,
details
:
[
{
name
:
''
,
...
...
src/views/index.vue
View file @
f1f01df
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-06-2
7 11:28:4
1
* @LastEditTime: 2023-06-2
8 09:49:2
1
* @FilePath: /map-demo/src/views/index.vue
* @Description: 地图主体页面
-->
...
...
@@ -212,7 +212,7 @@ export default {
navBarList: [],
rect: {},
navList: [],
navName: 'spotInfo'
navName: 'spotInfo'
,
}
},
mounted() {
...
...
@@ -814,6 +814,9 @@ export default {
// } else {
// this.setWalkRoute({ lng: this.current_lng, lat: this.current_lat }, { lng: position[0], lat: position[1] })
// }
if (this.walk_route) { // 清除前一条步行导航
this.walk_route.clear();
}
// 测试
this.closeInfoWindow(); // 关闭弹框
this.setWalkRoute({ lng: 120.59014, lat: 31.310306 }, { lng: position[0], lat: position[1] });
...
...
Please
register
or
login
to post a comment