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:35:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
14e785a77ee589e05f785d492a576ce7d47ebd0a
14e785a7
1 parent
98d0402c
dev
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
views/index.ejs
views/index.ejs
View file @
14e785a
...
...
@@ -37,12 +37,12 @@
listData
=
listData
.
replaceAll
(
'"'
,
'\"'
);
listData
=
JSON
.
parse
(
listData
);
console
.
log
(
listData
);
// console.log(listData[1]);
//
console.log(listData);
//입력되는 배열명이 listData로 들어오면 됨.
listData
.
forEach
(
function
(
addr
,
index
)
{
var
tmpaddr
=
((
addr
.
orgZipaddr
).
split
(
','
))[
0
];
console
.
log
(
tmpaddr
);
//
console.log(tmpaddr);
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
);
...
...
@@ -66,7 +66,6 @@
});
}
});
});
// 인포윈도우를 표시하는 클로저를 만드는 함수입니다
...
...
Please
register
or
login
to post a comment