Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
d6388964
Commit
d6388964
authored
Jun 02, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
af0ab39e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
map.vue
pages/guidecar/map.vue
+3
-0
No files found.
pages/guidecar/map.vue
View file @
d6388964
...
...
@@ -64,6 +64,8 @@
})
this
.
markers
=
[];
if
(
this
.
details
.
type
==
1
){
// this.src_latitude = ((Number((this.upcar[0].Lonlat.split(',')[1])) + Number(this.upcar[this.upcar.length-1].Lonlat.split(',')[1]) )/2).toString();
// this.src_longitude = ((Number((this.upcar[0].Lonlat.split(',')[0])) + Number(this.upcar[this.upcar.length-1].Lonlat.split(',')[0]) )/2).toString();;
this
.
src_latitude
=
this
.
upcar
[
0
].
Lonlat
.
split
(
','
)[
1
];
this
.
src_longitude
=
this
.
upcar
[
0
].
Lonlat
.
split
(
','
)[
0
];
this
.
upcar
.
map
(
x
=>
{
...
...
@@ -124,6 +126,7 @@
background
:
#FFF
;
border-radius
:
10px
10px
0px
0px
;
padding
:
10px
15px
;
overflow-y
:
auto
;
}
.liststyle-item
{
padding
:
5px
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment