Skip to content

Instantly share code, notes, and snippets.

@kkd927
Created August 9, 2014 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkd927/fc11c28b0f9db5407d1f to your computer and use it in GitHub Desktop.
Save kkd927/fc11c28b0f9db5407d1f to your computer and use it in GitHub Desktop.
[다음지도 API] 기본 마커 올리기
<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 marker = new daum.maps.Marker({
position: new daum.maps.LatLng(37.537123, 127.005523)
});
marker.setMap(map);
})
</script>
<div class="container">
<div id="map" style="width:600px;height:600px;"></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment