스크립트/[Embed]flash,etc...
구글 지도 삽입
Font_Charisma
2010. 12. 5. 02:04
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
function initialize() {
var myLatlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 8,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
}
</script>
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:500px; height:300px;"></div>
</body>
</html>
http://dakccom.tistory.com/entry/Google-Map-API-V3-활용-1설치하기