Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김시환
/
emergency_room_ChatBot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
윤규리
2022-11-21 19:23:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7a0c06cf34b10883796cdb75d19a6085a20ed595
7a0c06cf
1 parent
363a1a73
misc.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
Address.js
Address.js
View file @
7a0c06c
...
...
@@ -65,7 +65,7 @@ function getXY(hospitals, addNum) {
.
then
(
response
=>
response
.
json
())
.
then
(
data
=>
{
for
(
let
j
=
0
;
j
<
data
.
length
;
j
++
)
{
if
(
data
.
documents
[
j
].
category_name
===
"의료,건강 > 병원 > 종합병원"
)
or
(
data
.
documents
[
j
].
category_name
===
"의료,건강 > 병원 > 대학병원"
)
{
if
(
(
data
.
documents
[
j
].
category_name
===
"의료,건강 > 병원 > 종합병원"
)
||
(
data
.
documents
[
j
].
category_name
===
"의료,건강 > 병원 > 대학병원"
)
)
{
hospitals_xy
[
i
].
name
=
data
.
documents
[
j
].
place_name
;
hospitals_xy
[
i
].
x
=
data
.
documents
[
j
].
x
;
hospitals_xy
[
i
].
y
=
data
.
documents
[
j
].
y
;
...
...
@@ -76,6 +76,7 @@ function getXY(hospitals, addNum) {
})
}
AddressList
=
null
;
return
hospitals_xy
;
/*
hospitals_xy:
...
...
Please
register
or
login
to post a comment