Created
August 8, 2014 07:18
-
-
Save kkd927/565082982caf2caf91a2 to your computer and use it in GitHub Desktop.
[다음지도 API] 지도 컨트롤 올리기
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
<script type="text/javascript" src="http://apis.daum.net/maps/maps3.js?apikey=DAUM_MAPS_DEMO_APIKEY" charset="utf-8"></script> | |
<script type="text/javascript"> | |
var map; | |
$(function init() { | |
map = new daum.maps.Map(document.getElementById('map'), { | |
center: new daum.maps.LatLng(37.537123, 127.005523) | |
}); | |
var zoomControl = new daum.maps.ZoomControl(); # Creat Zoom Control | |
map.addControl(zoomControl, daum.maps.ControlPosition.RIGHT); # Add Zoom Control | |
var mapTypeControl = new daum.maps.MapTypeControl(); # Create Map Type Control | |
map.addControl(mapTypeControl, daum.maps.ControlPosition.TOPRIGHT); # Add Map Type Control | |
}) | |
</script> | |
<div id="map" style="width:600px;height:600px;"></div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment