/*init*/function init(){GSMap.IMAGE_RELOAD_ATTEMPTS = 3;GSMap.Util.onImageLoadErrorColor = null;GSMap.Util.onImageLoadError = function() { this._attempts = (this._attempts) ? (this._attempts + 1) : 1; if(this._attempts <= GSMap.IMAGE_RELOAD_ATTEMPTS) { this.src = this.src; } else { this.style.backgroundColor = GSMap.Util.onImageLoadErrorColor; if(this.src.indexOf(".png",0) == -1){ } else { this.src=GSMap.Util.getImagesLocation()+"blank.gif" } } this.style.display = "";};var map = new GSMap.Map('mapviewport', {controls: [],projection: new GSMap.Projection('EPSG:900913'),displayProjection: new GSMap.Projection('EPSG:4326'),units: 'm',scales:[866700,433344,216672,108336,54168,27084,13542,6771,3385,1692],maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679)});var layer = new GSMap.Layer.GSUntiled('blankmap','./notile.php',{map:'blankmap', transparent:true, i:'PNG'},{fullname:'n}',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:true,visibility:true,opacity:1,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('warning','./notile.php',{map:'warning', transparent:true, force:true},{fullname:'\󋵐}',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:false,visibility:false,opacity:0.6,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('excess1','./notile.php',{map:'excess1', transparent:true, force:true},{fullname:'ߏ󋵐}1km',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:false,visibility:false,opacity:0.6,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('danger1','./notile.php',{map:'danger1', transparent:true, force:true},{fullname:'댯x1km',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:false,visibility:false,opacity:0.6,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('rainfall1','./notile.php',{map:'rainfall1', transparent:true, force:true},{fullname:'Jʏ}1km',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:false,visibility:false,opacity:0.6,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('interim1','./notile.php',{map:'interim1', transparent:true, force:true},{fullname:'b1km',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:false,visibility:false,opacity:0.6,units:'m'});map.addLayers([layer]);var layer = new GSMap.Layer.GSUntiled('guidemap','./notile.php',{map:'guidemap', transparent:true, i:'PNG'},{fullname:'KCh}bv',maxExtent:new GSMap.Bounds(15382160.856686,4186798.63343,15488359.427493,4296723.35679),isBaseLayer:true,visibility:true,opacity:1,units:'m'});var guidemaplayer = layer;guidemaplayer.params.t = "2999/9/9/ 0:0";map.zoomToMaxExtent();GSMap.DosyaClient.ServiceURI='./dosyaService.php';guidemaplayer.ratio = 1;options = { div: document.getElementById('guidemap'), layers: [guidemaplayer], mapOptions: {numZoomLevels: 1}}; map.addControl(new GSMap.Control.GSGuideMap(options));GSMap.Control.GSTelop.AUTO_UPDATE_INTERVAL=1;GSMap.Control.GSTelop.SCROLL_SPEED=120;map.addControl(new GSMap.Control.GSTelop());map.addControl(new GSMap.Control.GSNews());map.addControl(new GSMap.Control.NavButton());ctlGSSelectArea = new GSMap.Control.GSSelectArea();ctlGSSelectArea.selectId = '';map.addControl(ctlGSSelectArea);ctlGSLegend = new GSMap.Control.GSLegend();var pickupCon = new GSMap.Control.GSPickupFeature('topmap');map.addControl(pickupCon);pickupCon.activate();GSMap.Control.GSTimePad.AUTO_UPDATE_INTERVAL=10;ctlTimePad = new GSMap.Control.GSTimePad(2018,10,22,12,30);ctlTimePad.mode='seltime';ctlTimePad.isCheckedAutoUpdate=false;map.addControl(ctlTimePad);ctlMapSelector = new GSMap.Control.GSMapSelector();ctlMapSelector.mode = '';ctlMapSelector.legend = ctlGSLegend;ctlMapSelector.timePad = ctlTimePad;map.addControl(ctlMapSelector);}