javascript google map

<style>
#map-canvas {
height: 300px;
margin: 0px;
padding: 0px
}
</style>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script>
var map;
function initialize() {
	var myLatlng = new google.maps.LatLng(35.xxxxx, 139.xxxxx);
	var mapOptions = {
		zoom: 15,
		center: myLatlng
	};
	map = new google.maps.Map(
		document.getElementById('map-canvas'),
		mapOptions
	);
	var marker = new google.maps.Marker({
		position: myLatlng,
		map: map,
		title: '株式会社 xxxxx'
	});
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<div id='map-canvas'></div>
<a href="https://maps.google.com/maps?q=35.xxxxx, 139.xxxxx" target="_blank">&rArr; 大きな画面</a>
PAGE TOP