home *** CD-ROM | disk | FTP | other *** search
- //<script language=javascript>
- // JScript ΩεΣ Σδ ≡εßε≥Φ τ εß'║Ω≥ε∞ MapX ≤ Γ│Ωφ│ Ωα≡≥Φ
- // ─α≥α ±≥Γε≡σφφ : 14.11.98
- // ╬±≥αφφ ≡σΣαΩ÷│ :
- // ╧≡Φτφα≈σφφ : ≤∩≡αΓδ│φφ ⌠≡σΘ∞ε∞ map
- // ├δεßαδⁿφ│ Ωεφ±≥αφ≥Φ (Σε±≥≤∩ Σε Γ±│⌡ τ∞│φφΦ⌡ ≥α Ωεφ±≥αφ≥ τ Σε≈│≡φ│⌡ ⌠≡σΘ∞│Γ ≈σ≡στ parent):
- // c_blnAskUser - ≈Φ τα∩Φ≥≤Γα≥Φ Ωε≡Φ±≥≤Γα≈α ∩≡Φ ΓΦ≈σ≡∩αφφ│ timeout
- // c_intDefaultTimeOut = 500; // ±≥αφΣα≡≥φΦΘ ≥αΘ∞-α≤≥ Σδ ±Φφ⌡≡εφ│τα÷│┐ ⌠≡σΘ∞│Γ (∞±σΩ)
- // ╟∞│φφ│ ≡│Γφ ∞εΣ≤δ :
- // m_lrCurrentLayer
- // m_bTryMap - │φΣ│Ωα≥ε≡ ±∩≡εßΦ ταπ≡≤τΩΦ εß'║Ω≥α MapX (ΓΦΩε≡Φ±≥εΓ≤║≥ⁿ± ∩≡Φ ∩σ≡σΓ│≡÷│ Ωεφ±Φ±≥σφ≥φε±≥│ εß'║Ω≥α)
- //
- // m_strGeoSet
- // m_strDataSet
- // m_fZoom
- // m_frmContents - ΓΩατ│ΓφΦΩ φα ⌠≡σΘ∞ contents
- // m_iAttCount - Ω│δⁿΩ│±≥ⁿ ±∩≡εß │φ│÷│■Γα≥Φ Ωα≡≥≤
- // ╦Φ≥ΓΦφσφΩε ╬. (10.10.98-20.10.98, 09.11.98-10.11.98)
- // ╤ε≥φ│ΩεΓ ╤.
-
- var c_strMapframe = "..\\..\\00_system\\MapX.htm";
- var c_strMapPage = "MapX.htm";
-
- // * * * * * * * * * * * * * * * InitiateMapX * * * * * * * * * * * * * * * * * * * * * * * * * * *
- // ╧≡Φτφα≈σφφ : ├ε≥≤║ εß'║Ω≥ MapX Σδ Γ│Σεß≡αµσφφ ∩ε≥ε≈φε┐ Ωα≡≥Φ.
- // ┬±│ ∩ε≈α≥ΩεΓ│ ≤±≥αφεΓΩΦ Σδ °α≡≤ ∞α■≥ⁿ ταΣαΓα≥Φ±ⁿ ≤ Σαφ│Θ ⌠≤φΩ÷│┐
- // ╟εΓφ│°φ│ τ∞│φφ│ ⌠≤φΩ÷│┐:
- // m_strGeoSet -
- //
- //
- // ╨στ≤δⁿ≥α≥: true - ∩≡Φ ≤±∩│°φε∞≤ ΓΦΩεφαφφ│, false - φσ ≤±∩│°φΦΘ ≡στ-≥, │φαΩ°σ - - φσ ΓΦτφα≈σφΦΘ
- //
- // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- function InitiateMapX() {
- var l_mapxmap; // εß'║Ω≥ MapX ≤ ⌠≡σΘ∞│ map
- var l_lrCurrentLayer;
- //
- // ∩│Σ≡α⌡≤φεΩ °δ ⌡≤ Σε ΣεΩ≤∞σφ≥α ε∩Φ±≤ Ωα≡≥Φ
- var l_strRefFileLocation = parent.frames["contents"].window.location.href;
- var l_strRefFileDirectory=l_strRefFileLocation.substring(l_strRefFileLocation.length-c_strMapPage.length,0);
- var l_strRootPath = parent.window.location.href;
- var c_strIndex = "index.htm";
- // var c_strIndex = "AtlasUA.htm";
- l_strRootPath = l_strRootPath.substring( l_strRootPath.length-c_strIndex.length, 0 );
-
- l_mapxmap=parent.frames["contents"].mapxmap;
- // ΩεΣ φΦµ≈σ ΣεΣα║ ∩ε≥ε≈φΦΘ πσε±σ≥ ≥α Γ±≥αφεΓδ■║ │φ°│ ∩α≡α∞σ≥≡Φ Ωα≡≥Φ
- l_mapxmap.IsGeoFormat =1;
- l_mapxmap.TypeToolbar = 1;
- l_mapxmap.MetaBasePath = l_strRootPath+"AtlasControl";
- l_mapxmap.RootPath = l_strRootPath;
- l_mapxmap.Lang = "UKR";
- l_mapxmap.Init();
- l_mapxmap.Legend = l_strRefFileDirectory+m_strLegend; //
- l_mapxmap.Descr = l_strRefFileDirectory+m_strDescr; //
- l_mapxmap.Geoset = l_strRefFileDirectory+m_strGeoSet; //
- return;
- }
-
- // end script ";
- //</script>
-