map.html
638 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kakao 지도 시작하기</title>
</head>
<body>
<form method="get" action="/process/map">
<div id="map" style="width:800px;height:800px;"></div>
<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=b335546caf8f2178d70b550aee16f1ea"></script>
<script>
var container = document.getElementById('map');
var options = {
center: new kakao.maps.LatLng(37.243210, 127.077108),
level: 3
};
var map = new kakao.maps.Map(container, options);
map.addOverlayMapTypeId(kakao.maps.MapTypeId.TRAFFIC);
</script>
</form>
</body>
</html>