U E D R , A S I H C RSS

데블스캠프2012/셋째날/코드 (rev. 1.1)

데블스캠프2012/셋째날/코드

첫째시간





<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Sample 01 </TITLE>
</HEAD>

<BODY>
<SCRIPT type="text/javascript" src="http://openapi.map.naver.com/js/naverMap.naver?key=f59e66fb57d24b1ffaa6cc7e504a72cc"></SCRIPT>
<div id='mapContainer' style='width:300px;height:300px'></div>

<SCRIPT LANGUAGE="JavaScript">
<!--

var myIcon = new NIcon("http://zeropage.org/files/attach/images/78/771/061/f86846df5cbc9e39169b683228cd5f13.jpg",new NSize(30,
30));
var myPoint = new NPoint(307942,545052);
var myMark = new NMark(myPoint,myIcon);

var mapObj = new NMap(document.getElementById('mapContainer'),300,300);
mapObj.setCenterAndZoom(new NPoint(321198,529730),3);
mapObj.addOverlay(myMark);
mapObj.setCenter(myPoint);

NEvent.addListener(myMark,"mouseover",function(){alert("Zeropage");});

//-->
</SCRIPT>
</BODY>
</HTML>

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:15
Processing time 0.0291 sec