Ž­Ž™“‡EŒF–{ˆ¢‘h‚̃Sƒ‹ƒtê
Œð’ʃAƒNƒZƒX
GoogleMap

 

var address = "";
var map;
var zoom = 13;
function loadMap(n){
if(n){address = n;}
else if(!address){address = "28.41646572483292 , 129.53292846679688";}
if(!zoom){zoom = 9;}
var geocoder = new google.maps.Geocoder();
if (geocoder) {
geocoder.geocode( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
var myLatlng = new google.maps.LatLng(results[0].geometry.location.lat(), results[0].geometry.location.lng());
var myOptions = {
zoom: zoom,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("map"), myOptions);
var icon = new google.maps.MarkerImage(
'http://img01.ecgo.jp/usr/mkgolfcc/css/img/marker.gif',
new google.maps.Size(16, 24),
new google.maps.Point(0,0),
new google.maps.Point(8, 24)
);
var marker = new google.maps.Marker({
icon: icon,
map: map,
position: results[0].geometry.location
});
}
});
}
}

–ß‚é

(c)“ì‹ãBŠJ”­Š”Ž®‰ïŽÐ