Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김원진
/
Expresswayinfo24
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
최현영
2020-06-18 17:24:53 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b09130d61e18ebe4a6d96ab0036376f3763f4a06
b09130d6
1 parent
138444d2
bug fixed:
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
whereur/app.js
whereur/views/mapaccident.ejs
whereur/app.js
View file @
b09130d
...
...
@@ -1340,8 +1340,8 @@ function timelead(eventObj, msg){
var
avgTime
=
new
Array
();
var
ICtimejson
=
Object
;
console
.
log
(
ICtimejson
);
var
avgTime
=
ICtimejson
.
realUnitTrtmVO
[
0
].
timeAvg
;
if
(
ICtimejson
.
count
>
0
){
var
avgTime
=
ICtimejson
.
realUnitTrtmVO
[
0
].
timeAvg
;
request
.
post
(
{
url
:
TARGET_URL
,
...
...
@@ -1353,7 +1353,7 @@ function timelead(eventObj, msg){
"messages"
:[
{
"type"
:
"text"
,
"text"
:
ICtimejson
.
realUnitTrtmVO
[
0
].
startUnitNm
+
"나들목에서 "
+
ICtimejson
.
realUnitTrtmVO
[
0
].
endUnitNm
+
"나들목까지 평균 소요시간은 "
+
avgTime
"text"
:
ICtimejson
.
realUnitTrtmVO
[
0
].
startUnitNm
+
"나들목에서 "
+
ICtimejson
.
realUnitTrtmVO
[
0
].
endUnitNm
+
"나들목까지 평균 소요시간은 "
+
avgTime
+
"분 입니다."
}
]
}
...
...
whereur/views/mapaccident.ejs
View file @
b09130d
...
...
@@ -121,6 +121,11 @@ function displayMarker(locPosition, message, image) {
map
.
setCenter
(
locPosition
);
}
// 인포윈도우를 표시하는 클로저를 만드는 함수입니다
// 인포윈도우를 닫는 클로저를 만드는 함수입니다
</script>
...
...
Please
register
or
login
to post a comment