var oH={"SN":0,"Lat":"22.6572589874267580","Lng":"120.3433303833007800","Zoom":15,"PicSn":2148,"Title":"高雄大圓山飯店","Link":"","HtmlDesc":"
高雄是南台灣的重鎮,不論在經濟或觀光上,都有其重要地位。一個遠離塵囂,位於澄清湖畔的圓山大飯店,是座享譽盛名傳統東方宮殿的五星級飯店。距離高雄小港國際機場車程約30分鐘,台鐵高雄站及高鐵左營站車程約20分鐘,是座適合休閒渡假、舉辦宴會等活動的五星級飯店。
圓山大飯店,是集西方建築的雄偉與東方建築的古典於一體,七彩畫棟、丹朱圓柱等建築特色,皆具中國傳統的藝術色彩,極見匠心獨運。房間內部的明式及紅木傢俱,皆令人發思古之幽情。昔日貴族宴客的高級場合、敦睦邦交聯誼的國家招待所,更是記憶著數不盡的輝煌歷史。 ","SubDesc":"高雄是南台灣的重鎮,不論在經濟或觀光上,都有其重要地位。一個遠離塵囂,位於澄清湖畔的圓山大飯店,是座享譽盛名傳統東方宮殿的五星級飯店。距離高雄小港國際機場車程約30分鐘,台鐵高雄站及高鐵左營站車程約20分鐘,是座適合休閒渡假、舉辦宴會等活動的五星級飯店。 "}; //console.log(oH); YAHOO.namespace("lemon.cx.GMapControl"); YAHOO.lemon.cx.GMapControl = function(){ var iZoom=15; var sKey = '138d3d3933Lmdy83634YW5kLWh83vdGV34sLm53539yZ3wxfDU0MQ=='; var iCurrentPointSn=0; var aSaveMsg = new Array(); var infoWindow = new google.maps.InfoWindow; return { setInitMap : function(){ //console.log("setInitMap"); YAHOO.lemon.cx.GMapControl.loadMessage(0); this.loadMenu(); }, loadMenu:function(){ //console.log("loadMenu"); var obj=new JSONscriptRequest('http://www.grand-hotel.org/systems/TravelMaps/getTravelPointTitles.php?act=YAHOO.lemon.cx.GMapControl.setMenu&sKey='+sKey); obj.buildScriptTag(); // Build the script tag obj.addScriptTag(); // Execute (add) the script tag }, loadMessage:function(n){ infoWindow.close(); if(n>0 && aSaveMsg[n]==undefined){ var obj=new JSONscriptRequest('http://www.grand-hotel.org/systems/TravelMaps/getTravelPointHtmlDesc.php?act=YAHOO.lemon.cx.GMapControl.showMessage&n='+n+'&sKey='+sKey); obj.buildScriptTag(); // Build the script tag obj.addScriptTag(); // Execute (add) the script tag }else if(typeof(aSaveMsg[n])=='object') {YAHOO.lemon.cx.GMapControl.showMessage(aSaveMsg[n],n);} else {YAHOO.lemon.cx.GMapControl.showMessage(oH,0);} }, setMenu:function(aMsg){ //console.log("setMenu"); var sHtml = ''; document.getElementById('Gmenu').innerHTML = sHtml; $.event.trigger('setMenuDone'); }, showMessage:function(oMsg,SN){ if(SN==undefined && oMsg == undefined)return; if(SN!=undefined && aSaveMsg[SN]==undefined && oMsg==undefined){ oMsg = aSaveMsg[SN]; } if(oMsg != undefined && aSaveMsg[oMsg.SN]==undefined){ aSaveMsg[oMsg.SN] = oMsg; } this.iCurrentPointSn = oMsg.SN; document.getElementById('GContent').innerHTML = '
'+(oMsg.Title?'

'+oMsg.Title+'

':'')+'

'+(oMsg.SN==0?"":'')+oMsg.HtmlDesc+'

'; var sBody = '
'+oMsg.Title+'
'+ (oMsg.PicSn?"":'') +oMsg.SubDesc+'
'; var center = new google.maps.LatLng(oMsg.Lat,oMsg.Lng); var markerOptions = { title: oMsg.Title, position: center, map: map, autoPan:true } var marker = new google.maps.Marker(markerOptions); infoWindow.open(map, marker); infoWindow.setContent(sBody); google.maps.event.addListener(marker, "click", function(){infoWindow.open(map, marker);infoWindow.setContent(sBody);}); this.printer(); }, move2Center:function(iSn,Lat,Lng,zoom){ var center = new google.maps.LatLng(Lat,Lng); map.panTo(center); map.setZoom(zoom==undefined?iZoom:zoom); this.loadMessage(iSn); }, printer:function(){ //Current Map display Point SN //alert(this.iCurrentPointSn); } }; }();