var point_s,point_e; var main_url = "http://www.city.yatsushiro.kumamoto.jp"; function initialize(){ if(GBrowserIsCompatible()){ var map = new GMap2(document.getElementById('map_canvas')); map.setCenter(new GLatLng(32.507446,130.601649),17); //map.addControl(new GSmallMapControl()); map.addControl(new GLargeMapControl3D()); //map.addControl(new GMapTypeControl()); } function createMarker(point,index){ // Create a lettered icon for this point using our icon class var baseIcon = new GIcon(); baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png"; baseIcon.iconSize = new GSize(20, 34); baseIcon.shadowSize = new GSize(34, 34); baseIcon.iconAnchor = new GPoint(9, 34); baseIcon.infoWindowAnchor = new GPoint(19, 3); baseIcon.infoShadowAnchor = new GPoint(18, 25); var letteredIcon = new GIcon(baseIcon); //var letter = String.fromCharCode("A".charCodeAt(0) + index); var letter = "O"; //letteredIcon.image = url + "imgs/points/mark" + letter + ".png"; letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png"; markerOptions = { icon:letteredIcon }; var marker = new GMarker(point, markerOptions); // Set up our GMarkerOptions object GEvent.addListener(marker, "click", function() { var url = main_url + "/map/sub_map.phtml?arid=" + index; var ifr = "