Showing
3 changed files
with
46 additions
and
0 deletions
MapAPI/app.js
0 → 100644
MapAPI/package.json
0 → 100644
1 | +{ | ||
2 | + "name": "test01", | ||
3 | + "version": "1.0.0", | ||
4 | + "description": "", | ||
5 | + "main": "index.js", | ||
6 | + "scripts": { | ||
7 | + "test": "echo \"Error: no test specified\" && exit 1" | ||
8 | + }, | ||
9 | + "author": "", | ||
10 | + "license": "ISC", | ||
11 | + "dependencies": { | ||
12 | + "body-parser": "^1.17.1", | ||
13 | + "express": "^4.15.2", | ||
14 | + "express-session": "^1.15.2" | ||
15 | + } | ||
16 | + } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
MapAPI/test.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | + <meta charset="utf-8"/> | ||
5 | + <title>Kakao 지도 시작하기</title> | ||
6 | +</head> | ||
7 | +<body> | ||
8 | + <div id="map" style="width:500px;height:400px;"></div> | ||
9 | + <script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=c48bde8b1f66c569193a37cbc58d1c87"></script> | ||
10 | + <script> | ||
11 | + var container = document.getElementById('map'); | ||
12 | + var options = { | ||
13 | + center: new kakao.maps.LatLng(33.450701, 126.570667), | ||
14 | + level: 3 | ||
15 | + }; | ||
16 | + | ||
17 | + var map = new kakao.maps.Map(container, options); | ||
18 | + </script> | ||
19 | +</body> | ||
20 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment