//-------------------------------------------------------------------------- // ¸ÊÀÇ ÃʱâÈ­ ÀÛ¾÷ÀÌ ¿Ï·áµÈ ÈÄ ¹ß»ýÇÏ´Â À̺¥Æ® //-------------------------------------------------------------------------- FsEventMan.prototype.OnCreate = function( mapmode ) { Hanimap.SetLevelRange (3, 11); Hanimap.SetCrossView (true); Hanimap.SetLogoPos (true, {HAlign:'Left', VAlign:'Bottom'}, {HMargin: 10, VMargin: 10}); Hanimap.SetCompassPos (false, {HAlign:'Left', VAlign:'Top'}, {HMargin: 10, VMargin: 5}); Hanimap.SetScalePos (false, {HAlign:'Right', VAlign:'Bottom'}, {HMargin: 100, VMargin: 50}); Hanimap.SetAddressPos (true, {HAlign:'Left', VAlign:'Top'}, {HMargin: 5, VMargin: 5}); Hanimap.PreImage ("http://hanimap.eksys.co.kr/public_image/BackEKsys_256.png", "MapBackImage"); Hanimap.PlugInAdd ("./plugins/PlugIn_Loading.swf", "Loading", false, {HAlign:'Left', VAlign:'Top'}, {HMargin: Hanimap.GetWidth()/2, VMargin: Hanimap.GetHeight()/2} ); Hanimap.PlugInAdd ("./plugins/PlugIn_Saving.swf", "Saving", false, {HAlign:'Left', VAlign:'Top'}, {HMargin: Hanimap.GetWidth()/2, VMargin: Hanimap.GetHeight()/2} ); Hanimap.LevelBarLoad ("./plugins/LevelBar.swf", {HAlign:'Right', VAlign:'Top'}, {HMargin: 10, VMargin: 10}); if(mapmode == 10) { // ÀÏ¹Ý ¸ðµå Hanimap.IndexMapLoad ( "./plugins/MIndexMap.swf", {HAlign:'Right', VAlign:'Bottom'}, {HMargin: 10, VMargin: 40}); } else if(mapmode == 11) { // Àμ⠸ðµå Hanimap.SyncRecv (); opener.Hanimap.SyncSend (); } Hanimap.Enabled ( ); }; //-------------------------------------------------------------------------- // Áß½ÉÁÂÇ¥ÀÇ ÇàÁ¤µ¿ ÁÖ¼Ò¸¦ ÀÚµ¿À¸·Î °¡Á®¿ÔÀ» °æ¿ì ¹ß»ýÇÏ´Â À̺¥Æ® //-------------------------------------------------------------------------- FsEventMan.prototype.OnChangeAddress = function(iAddress) { var fAddress = document.getElementById('CAddress'); if(typeof(fAddress) == "object" && fAddress != null) fAddress.value = iAddress.Sido + " " + iAddress.Gugun + " " + iAddress.Dong; }; //-------------------------------------------------------------------------- // GetAddressByLL È£Ãâ¿¡ ´ëÇÑ °á°ú µ¥ÀÌÅ͸¦ ¾Ë·ÁÁÖ±â À§ÇØ ¹ß»ýÇÏ´Â À̺¥Æ® //-------------------------------------------------------------------------- FsEventMan.prototype.OnGetAddressByLL = function(iAddress) { RPMan.ToGetAddressByLL(iAddress.Sido + " " + iAddress.Gugun + " " + iAddress.Dong); } //-------------------------------------------------------------------------- // À» È£ÃâÇÏ¿© ¸íĪ(POI)°Ë»öÀ» ÇÏ¸é °á°ú µ¥ÀÌÅ͸¦ ¾Ë·ÁÁÖ±â À§ÇØ ¹ß»ýÇÏ´Â À̺¥Æ® //-------------------------------------------------------------------------- FsEventMan.prototype.OnSRData_Address = function(iXml, iTag) { POIMan.DelGroup(100); var fTotcnt = parseInt(iXml.TOTCNT); var mCount = parseInt(iXml.LISTCNT); var div_count = iList.document.getElementById('DIV_TOTCNT'); div_count.innerHTML = "°Ç¼ö (ÃÑ " + fTotcnt + "°Ç)"; var div_list = iList.document.getElementById('DIV_LIST'); var tStr = ""; if(mCount > 0) { for(var i=0; i 0) { for(var i=0; i 0 && Lat > 0) Hanimap.SetCenterPos(Lon, Lat, 3); else alert("[" + HName + "] ¸¦ ãÀ» ¼ö ¾ø½À´Ï´Ù."); }