Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김서연
/
Corona_Vaccination_Medical_Institution
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김서연
2021-05-22 23:47:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8b7ddd15aaa02dae2c3ff13a22e9278d2f33dc2b
8b7ddd15
1 parent
88c4309b
merge
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
15 deletions
app.js
views/index.ejs
app.js
View file @
8b7ddd1
...
...
@@ -50,18 +50,6 @@ app.post('/',function(req,res,next){
app
.
get
(
'/'
,
function
(
req
,
res
){
res
.
render
(
'index'
);
// res.writeHead(200, {'Content-Type': 'text/html'});
// fs.readFile('./map/kakaomap.html', null, function(err,data){
// if(err){
// res.writeHead(404);
// res.write('error');
// }
// else{
// console.log('complete!');
// res.write(data);
// }
// res.end();
// });
})
app
.
listen
(
3000
,
function
(){
...
...
views/index.ejs
View file @
8b7ddd1
...
...
@@ -43,9 +43,7 @@
geocoder
.
addressSearch
(
tmpaddr
,
function
(
result
,
status
)
{
if
(
status
===
kakao
.
maps
.
services
.
Status
.
OK
)
{
var
coords
=
new
kakao
.
maps
.
LatLng
(
result
[
0
].
y
,
result
[
0
].
x
);
// y += result[0].y;
// x += result[0].x;
// count += 1;
var
marker
=
new
kakao
.
maps
.
Marker
({
position
:
coords
,
clickable
:
true
});
...
...
Please
register
or
login
to post a comment