Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
html
/
MeteorologicalBureau
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c5810972
authored
Apr 16, 2020
by
hanjixin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.maxrocky.com:hanjixin/MeteorologicalBureau
parents
d225751c
26d9579d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
map/js/Map3D.js
+13
-16
No files found.
map/js/Map3D.js
View file @
c5810972
...
...
@@ -126,16 +126,16 @@ class Map3D {
console
.
log
(
item
);
var
html
=
`
<div id=box>
<div id=title>
${
item
.
clientaddress
||
item
.
name
}
</div>
<div id=title>
${
item
.
name
}
</div>
<div id=contant>
<div class=li>
<div>
阿斯顿</div>1
<div>
地址</div>
${
item
.
address
}
</div>
<div class=li>
<div>
阿斯顿</div>2
<div>
电话</div>
${
item
.
telephone
}
</div>
<div class=li>
<div>
阿顿</div>啊实打实的
<div>
职位</div>
${
item
.
role
}
</div>
</div>
<div id=close onclick="popclose()"></div>
...
...
@@ -168,7 +168,7 @@ class Map3D {
marker
.
_data
=
item
marker
.
on
(
'click'
,
(
params
)
=>
{
console
.
log
(
item
,
params
);
//
infoWindow.open(this.map, marker.getPosition());
infoWindow
.
open
(
this
.
map
,
marker
.
getPosition
());
})
...
...
@@ -185,13 +185,13 @@ class Map3D {
<div id=title>
${
item
.
USERNAME
}
</div>
<div id=contant>
<div class=li>
<div>
阿斯顿</div>1
<div>
区域</div>
${
item
.
CITY
}${
item
.
COUNTY
}
</div>
<div class=li>
<div>
阿斯顿</div>2
<div>
电话</div>
${
item
.
MOBILE
}
</div>
<div class=li>
<div>
阿顿</div>啊实打实的
<div>
职级</div>
${
item
.
DUTY
}
</div>
</div>
<div id=close onclick="popclose()"></div>
...
...
@@ -224,7 +224,7 @@ class Map3D {
marker
.
_data
=
item
marker
.
on
(
'click'
,
(
params
)
=>
{
console
.
log
(
item
,
params
);
//
infoWindow.open(this.map, marker.getPosition());
infoWindow
.
open
(
this
.
map
,
marker
.
getPosition
());
})
...
...
@@ -246,7 +246,7 @@ class Map3D {
<div>阿斯顿</div>2
</div>
<div class=li>
<div>阿顿</div>啊实打实的
<div>阿顿</div>啊实打实的
2
</div>
</div>
<div id=close onclick="popclose()"></div>
...
...
@@ -279,7 +279,7 @@ class Map3D {
marker
.
_data
=
item
marker
.
on
(
'click'
,
(
params
)
=>
{
console
.
log
(
item
,
params
);
//
infoWindow.open(this.map, marker.getPosition());
infoWindow
.
open
(
this
.
map
,
marker
.
getPosition
());
})
...
...
@@ -295,10 +295,7 @@ class Map3D {
<div id=title>
${
name
}
</div>
<div id=contant>
<div class=li>
<div>阿斯顿</div>1
</div>
<div class=li>
<div>阿斯顿</div>2
<div>状态</div>
${
item
.
clientStatus
}
</div>
<div class=li>
<div>地址</div>
${
item
.
clientAddress
}
...
...
@@ -334,7 +331,7 @@ class Map3D {
marker
.
_data
=
item
marker
.
on
(
'click'
,
(
params
)
=>
{
console
.
log
(
item
,
params
);
//
infoWindow.open(this.map, marker.getPosition());
infoWindow
.
open
(
this
.
map
,
marker
.
getPosition
());
})
...
...
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