Toggle navigation
Toggle navigation
This project
Loading...
Sign in
오지민
/
HomePurchaseAgePrediction
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
Ojimin
2021-06-09 22:15:49 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
62802305def398e5d365553ea807bf5c0394e829
62802305
1 parent
5af714bc
Revise get location from user
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
public/js/next_page.js
public/js/next_page.js
View file @
6280230
...
...
@@ -74,18 +74,6 @@ function makeOutListener(infowindow) {
}
*/
searchAddrFromCoords
(
map
.
getCenter
(),
displayCenterInfo
);
function
searchAddrFromCoords
(
coords
,
callback
)
{
// 좌표로 행정동 주소 정보를 요청합니다
geocoder
.
coord2RegionCode
(
coords
.
getLng
(),
coords
.
getLat
(),
callback
);
}
function
displayCenterInfo
(
result
,
status
)
{
if
(
status
===
kakao
.
maps
.
services
.
Status
.
OK
)
{
var
infoDiv
=
document
.
getElementById
(
'you'
);
infoDiv
.
innerHTML
=
result
[
0
].
address_name
;
}
}
function
displayMarker
(
Position
)
{
var
marker
=
new
kakao
.
maps
.
Marker
({
map
:
map
,
...
...
Please
register
or
login
to post a comment