<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
var ctxPath = '/portal';
var random = (new Date()).getTime();

var contextConfigLocation = '/WEB-INF/applicationContext.xml';
var UserUsageLog = 'ALL';
var webJsonUrl = 'https://portal.disaster.go.th/portal/webjson';
var cognosUrl = 'http://203.151.232.49:9300/bi/ibmcognos';
var geoserverUrl = 'https://wgeo.disaster.go.th/geoserver/wms';
var webAppRootKey = 'webapp.root';


var floodLayers = new Array();

floodLayers[0] = new Array("พื้นที่น้ำท่วมปี 2558", "ddpm:gistda_shp_flood2015", null, false);
floodLayers[1] = new Array("พื้นที่น้ำท่วมปี 2557", "ddpm:gistda_shp_flood2014", null, false);
floodLayers[2] = new Array("พื้นที่น้ำท่วมปี 2556", "ddpm:gistda_shp_flood2013", null, false);
floodLayers[3] = new Array("พื้นที่น้ำท่วมปี 2555", "ddpm:gistda_shp_flood2012", null, false);
floodLayers[4] = new Array("พื้นที่น้ำท่วมปี 2553", "ddpm:gistda_shp_flood2010", null, false);
floodLayers[5] = new Array("พื้นที่น้ำท่วมปี 2552", "ddpm:gistda_shp_flood2009", null, false);
floodLayers[6] = new Array("พื้นที่ฝนตกย้อนหลัง 7 วัน", "ddpm:gistda_shp_flood7days", null, false);

var floodPoiLayers = new Array();

floodPoiLayers[0] = new Array("สำนักงาน ปภ.", "ddpm:dpm_shp_office", null, false);
floodPoiLayers[1] = new Array("ศูนย์พักพิง", "ddpm:dpm_eoc_shelter", null, false);
floodPoiLayers[2] = new Array("เสาวิทยุสื่อสาร", "ddpm:dpm_eoc_mast", null, false);
floodPoiLayers[3] = new Array("พื้นที่ที่ต้องปกป้อง", "ddpm:dpm_eoc_protected_zone", null, false);
floodPoiLayers[4] = new Array("องค์กรปกครองส่วนท้องถิ่น", "ddpm:dla_d_org", null, false);
floodPoiLayers[5] = new Array("หน่วยงานราชการ", "ddpm:dpm_shp_government", null, false);
floodPoiLayers[6] = new Array("โรงเรียน", "ddpm:dpm_shp_school", null, false);
floodPoiLayers[7] = new Array("สถานพยาบาล", "ddpm:dpm_shp_public_health", null, false);
floodPoiLayers[8] = new Array("ศาสนสถาน", "ddpm:dpm_shp_mosque_temple", null, false);
floodPoiLayers[9] = new Array("สถานีบริการน้ำมัน", "ddpm:dpm_shp_petrol_station", null, false);
floodPoiLayers[10] = new Array("อุปกรณ์และจุดติดตั้งการเตือนภัย", "", null, false);

var droughtPoiLayers = new Array();

droughtPoiLayers[0] = new Array("สำนักงาน ปภ.", "ddpm:dpm_shp_office", null, false);
droughtPoiLayers[1] = new Array("องค์กรปกครองส่วนท้องถิ่น", "ddpm:dla_d_org", null, false);
droughtPoiLayers[2] = new Array("หน่วยงานราชการ", "ddpm:dpm_shp_government", null, false);
droughtPoiLayers[3] = new Array("โรงเรียน", "ddpm:dpm_shp_school", null, false);
droughtPoiLayers[4] = new Array("สถานพยาบาล", "ddpm:dpm_shp_public_health", null, false);
droughtPoiLayers[5] = new Array("ศาสนสถาน", "ddpm:dpm_shp_mosque_temple", null, false);
droughtPoiLayers[6] = new Array("สถานีบริการน้ำมัน", "ddpm:dpm_shp_petrol_station", null, false);
droughtPoiLayers[7] = new Array("อุปกรณ์และจุดติดตั้งการเตือนภัย", "", null, false);

var forestFirePoiLayers = new Array();

forestFirePoiLayers[0] = new Array("สำนักงาน ปภ.", "ddpm:dpm_shp_office", null, false);
forestFirePoiLayers[1] = new Array("เสาวิทยุสื่อสาร", "ddpm:dpm_eoc_mast", null, false);
forestFirePoiLayers[2] = new Array("พื้นที่ที่ต้องปกป้อง", "ddpm:dpm_eoc_protected_zone", null, false);
forestFirePoiLayers[3] = new Array("องค์กรปกครองส่วนท้องถิ่น", "ddpm:dla_d_org", null, false);
forestFirePoiLayers[4] = new Array("หน่วยงานราชการ", "ddpm:dpm_shp_government", null, false);
forestFirePoiLayers[5] = new Array("โรงเรียน", "ddpm:dpm_shp_school", null, false);
forestFirePoiLayers[6] = new Array("สถานพยาบาล", "ddpm:dpm_shp_public_health", null, false);
forestFirePoiLayers[7] = new Array("ศาสนสถาน", "ddpm:dpm_shp_mosque_temple", null, false);
forestFirePoiLayers[8] = new Array("สถานีบริการน้ำมัน", "ddpm:dpm_shp_petrol_station", null, false);
forestFirePoiLayers[9] = new Array("อุปกรณ์และจุดติดตั้งการเตือนภัย", "", null, false);

var roadAcdPoiLayers = new Array();

roadAcdPoiLayers[0] = new Array("สำนักงาน ปภ.", "ddpm:dpm_shp_office", null, false);
roadAcdPoiLayers[1] = new Array("สถานพยาบาล", "ddpm:dpm_shp_public_health", null, false);
roadAcdPoiLayers[2] = new Array("สถานีตำรวจ", "ddpm:dpm_road53_locate_police", null, false);
roadAcdPoiLayers[3] = new Array("อุปกรณ์และจุดติดตั้งการเตือนภัย", "", null, false);

var otherLayers = new Array();

otherLayers[otherLayers.length] = new Array("จังหวัด", "ddpm:dpm_shp_province", null, false);
otherLayers[otherLayers.length] = new Array("อำเภอ", "ddpm:dpm_shp_amphur", null, false);
otherLayers[otherLayers.length] = new Array("ตำบล", "ddpm:dpm_shp_tambol", null, false);
otherLayers[otherLayers.length] = new Array("พิกัดหมู่บ้าน", "ddpm:dpm_shp_village", null, false);

otherLayers[otherLayers.length] = new Array("ถนนหลัก", "ddpm:dpm_shp_main_road", null, false);
otherLayers[otherLayers.length] = new Array("ทางแยก", "ddpm:dpm_shp_junction", null, false);
otherLayers[otherLayers.length] = new Array("ทางด่วน", "ddpm:dpm_shp_express_way", null, false);
otherLayers[otherLayers.length] = new Array("สะพาน", "ddpm:dpm_shp_structure", null, false);
otherLayers[otherLayers.length] = new Array("ทางรถไฟ", "ddpm:dpm_shp_railway", null, false);

otherLayers[otherLayers.length] = new Array("แม่น้ำหลัก", "ddpm:dpm_shp_main_river", null, false);
otherLayers[otherLayers.length] = new Array("ลุ่มน้ำ", "ddpm:dpm_shp_basin", null, false);
otherLayers[otherLayers.length] = new Array("ลุ่มน้ำย่อย", "ddpm:dpm_shp_sub_basin", null, false);
otherLayers[otherLayers.length] = new Array("โครงการชลประทาน", "ddpm:dwr_shp_irr", null, false);
otherLayers[otherLayers.length] = new Array("เขื่อน/อ่างเก็บน้ำ ขนาดใหญ่", "ddpm:dpm_shp_reservoir_l", null, false);
otherLayers[otherLayers.length] = new Array("เขื่อน/อ่างเก็บน้ำ ขนาดกลาง", "ddpm:dpm_shp_reservoir_m", null, false);
otherLayers[otherLayers.length] = new Array("ฝาย", "ddpm:dpm_shp_weir", null, false);
otherLayers[otherLayers.length] = new Array("บ่อน้ำ ปภ.", "ddpm:dpm_shp_deep_well", null, false);
otherLayers[otherLayers.length] = new Array("บ่อน้ำ กรมทรัพยาการน้ำบาดาล", "ddpm:dgr_csv_well", null, false);
otherLayers[otherLayers.length] = new Array("บ่อน้ำ กรมทรัพยากรน้ำ", "ddpm:dwr_shp_well", null, false);
otherLayers[otherLayers.length] = new Array("พื้นที่เพาะปลูกข้าว", "ddpm:gistda_shp_rice", null, false);
var otherLayerIds = new Array();

otherLayerIds[otherLayerIds.length] = "a1";
otherLayerIds[otherLayerIds.length] = "a2";
otherLayerIds[otherLayerIds.length] = "a3";
otherLayerIds[otherLayerIds.length] = "a4";

otherLayerIds[otherLayerIds.length] = "p1";
otherLayerIds[otherLayerIds.length] = "p2";
otherLayerIds[otherLayerIds.length] = "p3";
otherLayerIds[otherLayerIds.length] = "p4";
otherLayerIds[otherLayerIds.length] = "p5";

otherLayerIds[otherLayerIds.length] = "w1";
otherLayerIds[otherLayerIds.length] = "w2";
otherLayerIds[otherLayerIds.length] = "w3";
otherLayerIds[otherLayerIds.length] = "w7";
otherLayerIds[otherLayerIds.length] = "w4";
otherLayerIds[otherLayerIds.length] = "w5";
otherLayerIds[otherLayerIds.length] = "w6";
otherLayerIds[otherLayerIds.length] = "w8";
otherLayerIds[otherLayerIds.length] = "w9";
otherLayerIds[otherLayerIds.length] = "w10";
otherLayerIds[otherLayerIds.length] = "r0";

var droughtOtherLayers = new Array();
for(var o=0; o&lt;otherLayers.length; o++) droughtOtherLayers[o] = otherLayers[o];

droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านเสี่ยงภัยแล้ง เสี่ยงน้อยมาก", "ddpm:dpm_shp_drought_risk_village", "risk_level='1'", false);
droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านเสี่ยงภัยแล้ง เสี่ยงน้อย", "ddpm:dpm_shp_drought_risk_village", "risk_level='2'", false);
droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านเสี่ยงภัยแล้ง เสี่ยงปานกลาง", "ddpm:dpm_shp_drought_risk_village", "risk_level='3'", false);
droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านเสี่ยงภัยแล้ง เสี่ยงมาก", "ddpm:dpm_shp_drought_risk_village", "risk_level='4'", false);
droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านที่มีระบบประปา", "ddpm:dwr_shp_pwa_vill", "pwa_type_id='1'", false);
droughtOtherLayers[droughtOtherLayers.length] = new Array("หมู่บ้านที่ไม่มีระบบประปา", "ddpm:dwr_shp_pwa_vill", "pwa_type_id='2'", false);
var droughtOtherLayerIds = new Array();
for(var o=0; o&lt;otherLayerIds.length; o++) droughtOtherLayerIds[o] = otherLayerIds[o];

droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr1";
droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr2";
droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr3";
droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr4";
droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr5";
droughtOtherLayerIds[droughtOtherLayerIds.length] = "dr6";
</pre></body></html>