function viewMap() { if (GBrowserIsCompatible()) { //マップエリアの取得 var map = new GMap2(document.getElementById("map")); //マップのセンター合わせ map.setCenter(new GLatLng(34.43409789359469, 133.06640625), 7); //コントロール類の表示 map.addControl(new GMapTypeControl()); //ドラッグを禁止する map.disableDragging(); //会場ラベルの表示 var lbl_okayama = new TLabel(); lbl_okayama.id = "okayama"; lbl_okayama.anchorPoint = "topCenter"; lbl_okayama.anchorLatLng = new GLatLng(34.66827319674577,133.91639828681946); lbl_okayama.percentOpacity = 100; lbl_okayama.content = "岡山"; map.addTLabel(lbl_okayama); var lbl_ehime = new TLabel(); lbl_ehime.id = "ehime"; lbl_ehime.anchorPoint = "topCenter"; lbl_ehime.anchorLatLng = new GLatLng(33.848708073731224,132.77996242046356); lbl_ehime.percentOpacity = 100; lbl_ehime.content = "愛媛"; map.addTLabel(lbl_ehime); var lbl_osaka = new TLabel(); lbl_osaka.id = "osaka"; lbl_osaka.anchorPoint = "topCenter"; lbl_osaka.anchorLatLng = new GLatLng(34.89494244739732,135.54931640625); lbl_osaka.percentOpacity = 100; lbl_osaka.content = "大阪"; map.addTLabel(lbl_osaka); var lbl_kobe = new TLabel(); lbl_kobe.id = "kobe"; lbl_kobe.anchorPoint = "topCenter"; lbl_kobe.anchorLatLng = new GLatLng(34.66626570574745,135.2130103111267); lbl_kobe.percentOpacity = 100; lbl_kobe.content = "神戸"; map.addTLabel(lbl_kobe); var lbl_hiroshima = new TLabel(); lbl_hiroshima.id = "hiroshima"; lbl_hiroshima.anchorPoint = "topCenter"; lbl_hiroshima.anchorLatLng = new GLatLng(34.394994317090564,132.4693787097931); lbl_hiroshima.percentOpacity = 100; lbl_hiroshima.content = "広島"; map.addTLabel(lbl_hiroshima); var lbl_fukuyama = new TLabel(); lbl_fukuyama.id = "fukuyama"; lbl_fukuyama.anchorPoint = "topCenter"; lbl_fukuyama.anchorLatLng = new GLatLng(34.48923045201239,133.3564281463623); lbl_fukuyama.percentOpacity = 100; lbl_fukuyama.content = "福山"; map.addTLabel(lbl_fukuyama); var lbl_fukuoka = new TLabel(); lbl_fukuoka.id = "fukuoka"; lbl_fukuoka.anchorPoint = "topCenter"; lbl_fukuoka.anchorLatLng = new GLatLng(33.59152431146372,130.4197633266449); lbl_fukuoka.percentOpacity = 100; lbl_fukuoka.content = "福岡"; map.addTLabel(lbl_fukuoka); var lbl_okinawa = new TLabel(); lbl_okinawa.id = "okinawa"; lbl_okinawa.anchorPoint = "topCenter"; lbl_okinawa.anchorLatLng = new GLatLng(35.05698043137265,130.462646484375); lbl_okinawa.percentOpacity = 100; lbl_okinawa.content = "沖縄"; map.addTLabel(lbl_okinawa); } }