Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ShinSeungMin
/
Multiplex_Ticketing_Platform
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
임승현
2022-05-16 00:38:09 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
395db84d7b37da8abd35d5ef2a41e05a27835695
395db84d
1 parent
2b3e19ce
Testing Displaying Map
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
MapAPI/app.js
MapAPI/package.json
MapAPI/test.html
MapAPI/app.js
0 → 100644
View file @
395db84
let
express
=
require
(
"express"
);
let
app
=
express
();
let
bodyParser
=
require
(
'body-parser'
);
app
.
get
(
''
,
(
req
,
res
)
=>
{
res
.
sendFile
(
__dirname
+
'/test.html'
);
});
app
.
listen
(
3907
);
\ No newline at end of file
MapAPI/package.json
0 → 100644
View file @
395db84
{
"name"
:
"test01"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"author"
:
""
,
"license"
:
"ISC"
,
"dependencies"
:
{
"body-parser"
:
"^1.17.1"
,
"express"
:
"^4.15.2"
,
"express-session"
:
"^1.15.2"
}
}
\ No newline at end of file
MapAPI/test.html
0 → 100644
View file @
395db84
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title>
Kakao 지도 시작하기
</title>
</head>
<body>
<div
id=
"map"
style=
"width:500px;height:400px;"
></div>
<script
type=
"text/javascript"
src=
"//dapi.kakao.com/v2/maps/sdk.js?appkey=c48bde8b1f66c569193a37cbc58d1c87"
></script>
<script>
var
container
=
document
.
getElementById
(
'map'
);
var
options
=
{
center
:
new
kakao
.
maps
.
LatLng
(
33.450701
,
126.570667
),
level
:
3
};
var
map
=
new
kakao
.
maps
.
Map
(
container
,
options
);
</script>
</body>
</html>
\ No newline at end of file
Please
register
or
login
to post a comment