Showing
1 changed file
with
22 additions
and
0 deletions
public/map.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html> | ||
3 | +<head> | ||
4 | + <meta charset="utf-8"/> | ||
5 | + <title>Kakao 지도 시작하기</title> | ||
6 | +</head> | ||
7 | +<body> | ||
8 | + <form method="get" action="/process/map"> | ||
9 | + <div id="map" style="width:800px;height:800px;"></div> | ||
10 | + <script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=b335546caf8f2178d70b550aee16f1ea"></script> | ||
11 | + <script> | ||
12 | + var container = document.getElementById('map'); | ||
13 | + var options = { | ||
14 | + center: new kakao.maps.LatLng(37.243210, 127.077108), | ||
15 | + level: 3 | ||
16 | + }; | ||
17 | + | ||
18 | + var map = new kakao.maps.Map(container, options); | ||
19 | + </script> | ||
20 | + </form> | ||
21 | +</body> | ||
22 | +</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment