-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>지도 생성하기</title> | ||
|
||
</head> | ||
<body> | ||
<!-- 지도를 표시할 div 입니다 --> | ||
<div id="map" style="width:100%;height:350px;"></div> | ||
|
||
<script type="text/javascript" src="//dapi.kakao.com/v2/maps/sdk.js?appkey=0093745d6e4797bd4c103fb856dd5b68"></script> | ||
<script> | ||
var mapContainer = document.getElementById('map'), // 지도를 표시할 div | ||
mapOption = { | ||
center: new kakao.maps.LatLng(33.450701, 126.570667), // 지도의 중심좌표 | ||
level: 3 // 지도의 확대 레벨 | ||
}; | ||
|
||
// 지도를 표시할 div와 지도 옵션으로 지도를 생성합니다 | ||
var map = new kakao.maps.Map(mapContainer, mapOption); | ||
</script> | ||
</body> | ||
</html> |