上記の HTML タグ↓
地図表示
<html>
<head>
<style type="text/css">
#map1 { width: 280px; height:250px; }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=【API キー】&sensor=false"></script>
<script type="text/javascript">
<!--
function initialize() {
var myLatlng = new google.maps.LatLng(35.680929,139.767020);
var mkLatlng = new google.maps.LatLng(35.666483,139.758153);
var myOptions = {
zoom:12,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map2 = new google.maps.Map(document.getElementById("map1"), myOptions);
var marker = new google.maps.Marker({
position: mkLatlng,
map: map2
});
}
// -->
</script>
</head>
<body onload="initialize()">
<div id="map1"></div>
</body>
</html>