다음 API


<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 

<title>Daum 지도 API v3 예제: 정적 지도 생성하기 </title>


<style type="text/css">

html { height: 100% }

body { height: 100%; margin: 0; padding: 0 }

#map { width: 100%; height: 100% }

</style>

<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" charset="utf-8">

window.onload = function() {

var position = new daum.maps.LatLng(33.450221, 126.570135);


var map = new daum.maps.StaticMap(document.getElementById('staticmap'), {

center: position,

level: 6,

mapTypeId: daum.maps.MapTypeId.ROADMAP,

marker: [

                        {

                            position: position,

                            text: 'Daum 제주 본사입니다'

                        },

                        {

                            position: new daum.maps.LatLng(33.456121, 126.560135),

                            text: 'Jeju National Univ.'

                        },

                        {

                            position: new daum.maps.LatLng(33.444221, 126.570135),

                            text: 'ESTsoft'

                        }

                    ]

});


};

</script>

</head>

<body>

<div id="staticmap" style="width:600px;height:400px;"></div> 

</body>

</html>

'progarm_old' 카테고리의 다른 글

트위터 ...버튼  (0) 2014.04.29
[editor] cke focus  (0) 2014.02.18
다음지도 이지미마커업  (0) 2014.01.06
Special Entities  (0) 2013.12.04
Entities for Symbols and Greek Letters  (0) 2013.12.04

+ Recent posts