これだけで地図が表示できるとか、google恐ろしすぎる。
<html><head>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
window.onload = function() {
var gMap = new google.maps.Map(document.getElementById("g_map"),
{
zoom: 7,
center: new google.maps.LatLng(36, 137),
mapTypeId: google.maps.MapTypeId.ROADMAP,
noResize: true
});
}
</script>
<head>
<body>
<div id="g_map" style="border:solid;width:500px;height:500px;"></div>
</body>
</html>