Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김민규
/
rest_stop_list
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
min
2022-05-25 18:49:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fdd287faaae6713b42751f1d1bc56199181be397
fdd287fa
1 parent
dff21679
SetTimeOut
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
app/app.js
app/views/index.html
app/app.js
View file @
fdd287f
...
...
@@ -50,7 +50,7 @@ app.use('/', indexRouter); // main page route
//모든 router 처리가 끝난 후 404 오류 페이지 처리
var
errorHandler
=
expressErrorHandler
({
static
:
{
'404'
:
'./app/public/404.html'
'404'
:
'./
rest_stop_list/
app/public/404.html'
}
});
app
.
use
(
expressErrorHandler
.
httpError
(
404
));
...
...
app/views/index.html
View file @
fdd287f
...
...
@@ -56,6 +56,7 @@
var
userData
;
var
markers
=
[];
// 1번 페이지
$
.
ajax
({
...
...
@@ -66,8 +67,7 @@
//변수 설정
userData
=
data
;
},
})
var
markers
=
[];
}).
done
(
function
()
{
var
infomations
=
[];
var
result_str
=
""
;
var
routeCode
=
""
;
...
...
@@ -100,8 +100,13 @@
}
}
})
setTimeout
(()
=>
{
alert
(
markers
.
length
);
console
.
dir
(
markers
);
},
500
);
}
alert
(
markers
.
length
)
/*
// 2번 페이지
$.ajax({
...
...
@@ -202,7 +207,7 @@
},
})
*/
}
</script>
</head>
<body
class=
"d-flex flex-column h-100"
>
...
...
Please
register
or
login
to post a comment