Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

* New toolbar * New toolbar styles * New toolbar icons * Customized jCrop library to support divs * Image download functionality

Tilak Joshiea9bfd6a8620
diff --git a/css/bank-min.css b/css/bank-min.css
index b75559c1f..582ffb8ce 100644
--- a/css/bank-min.css
+++ b/css/bank-min.css
@@ -1 +1 @@
-canvas{float:left}a.accordionToggler{float:left;display:inline-block;width:28px;height:36px;border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-webkit-border-radius:0 10px 10px 0;text-decoration:none;background:none no-repeat scroll center rgba(68,68,68,.85);color:#fff;position:relative;top:30px;letter-spacing:2px;font-family:"Gill Sans","Helvetica",sans-serif}a.atcollapse{background-image:url("../images/expandIn.png")}a.atexpand{background-image:url("../images/expandOut.png")}.bank{display:inline-block;float:left;width:230px;min-height:230px;padding-bottom:20px;background:rgba(68,68,68,.85);font:10px/12px "Gill Sans","helvetica",sans-serif;color:#141b4c;border-radius:0 10px 10px 0;text-shadow:none;overflow:auto}.bank h1,h2,h3,h4{margin:0;padding:0}.bank h2{display:inline-block;float:left;color:#fff;font-size:18px;font-weight:100;border:0;padding:6px 0}.bank h3{display:inline-block;float:left;color:#333;font-size:14px;font-weight:100;border:0;text-decoration:none}#callSelectorLink{display:inline-block;width:32px;height:32px;background:transparent url("../images/addLayers.png");margin-left:50px;float:right}.bank div,.bank ul{display:block;overflow:auto;width:210px;margin:0 auto;padding:5px;max-height:250px}.bank li.item{padding:0;display:block;background:#fff;width:200px;border-radius:5px;padding:5px;margin-top:10px}.bank li.item a{float:right;position:relative;top:-8px;right:-8px}.bank li.item h4{font-size:9px;font-weight:bold}.bank li.item span.palette{display:block;width:185px;overflow:hidden;margin-top:5px}.bank li.item ul.palette li{float:left}.bank ul.category{min-height:50px;background:rgba(255,255,255,.7);border-radius:5px;margin-top:10px}.bank ul.category li h3{display:block;clear:both;float:none}span.p-min{float:left}span.p-max{float:left}span.p-units{float:left}
\ No newline at end of file
+canvas{float:left}a.accordionToggler{float:left;display:inline-block;width:28px;height:36px;border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-webkit-border-radius:0 10px 10px 0;text-decoration:none;background:none no-repeat scroll center rgba(45,45,45,.75);color:#fff;position:relative;top:30px;letter-spacing:2px;font-family:"Gill Sans","Helvetica",sans-serif}a.atcollapse{background-image:url("../images/expandIn.png")}a.atexpand{background-image:url("../images/expandOut.png")}.bank{display:inline-block;float:left;width:210px;min-height:190px;padding-bottom:20px;background:rgba(45,45,45,.75);font:10px/12px "Gill Sans","helvetica",sans-serif;color:#141b4c;border-radius:0 10px 10px 0;text-shadow:none;overflow:auto}.bank h1,h2,h3,h4{margin:0;padding:0}.bank h2{display:inline-block;float:left;color:#fff;font-size:14px;font-weight:100;border:0;padding:6px 0}.bank h3{display:inline-block;float:left;color:#333;font-size:12px;font-weight:100;border:0;text-decoration:none}#callSelectorLink{display:inline-block;width:32px;height:32px;background:transparent url("../images/addLayers.png");margin-left:50px;float:right}.bank div,.bank ul{display:block;overflow:auto;width:190px;margin:0 auto;padding:5px;max-height:250px}.bank li.item{padding:0;display:block;background:#fff;width:180px;border-radius:5px;padding:5px;margin-top:10px}.bank li.item a{float:right;position:relative;top:-8px;right:-8px}.bank li.item h4{font-size:9px;font-weight:bold}.bank li.item span.palette{display:block;width:185px;overflow:hidden;margin-top:5px}.bank li.item ul.palette li{float:left}.bank ul.category{min-height:50px;background:rgba(255,255,255,.7);border-radius:5px;margin-top:10px}.bank ul.category li h3{display:block;clear:both;float:none}span.p-min{float:left}span.p-max{float:left}span.p-units{float:left}
\ No newline at end of file
diff --git a/css/bank.css b/css/bank.css
index 4accee835..7bc5ffa4d 100644
--- a/css/bank.css
+++ b/css/bank.css
@@ -1,17 +1,17 @@
canvas {float:left;}
-a.accordionToggler { float:left; display:inline-block; width:28px; height:36px; border-radius: 0 10px 10px 0; -moz-border-radius: 0 10px 10px 0; -webkit-border-radius: 0 10px 10px 0; text-decoration:none; background: none no-repeat scroll center rgba(68,68,68,.85); color:#fff; position:relative; top:30px; letter-spacing:2px; font-family:"Gill Sans","Helvetica",sans-serif;}
+a.accordionToggler { float:left; display:inline-block; width:28px; height:36px; /*box-shadow: 3px 0 4px 1px #bbb;*/ border-radius: 0 10px 10px 0; -moz-border-radius: 0 10px 10px 0; -webkit-border-radius: 0 10px 10px 0; text-decoration:none; background: none no-repeat scroll center rgba(45,45,45,.75); color:#fff; position:relative; top:30px; letter-spacing:2px; font-family:"Gill Sans","Helvetica",sans-serif;}
a.atcollapse {background-image: url("../images/expandIn.png"); }
a.atexpand {background-image: url("../images/expandOut.png");}
-.bank { display:inline-block; float:left; width: 230px; min-height:230px; padding-bottom:20px; background: rgba(68,68,68,.85); font: 10px/12px "Gill Sans","helvetica",sans-serif; color: #141b4c; border-radius: 0 10px 10px 0; text-shadow:none;overflow:auto;}
+.bank { display:inline-block; float:left; width: 210px; min-height:190px; padding-bottom:20px; /*box-shadow: 0 0 4px 1px #bbb;*/ background: rgba(45,45,45,.75); font: 10px/12px "Gill Sans","helvetica",sans-serif; color: #141b4c; border-radius: 0 10px 10px 0; text-shadow:none;overflow:auto;}
.bank h1,h2,h3,h4 {margin:0px; padding:0px;}
-.bank h2 {display:inline-block; float: left; color:#ffffff; font-size: 18px; font-weight:100; border:none; padding:6px 0;}
-.bank h3 {display:inline-block; float: left; color:#333333; font-size: 14px; font-weight:100; border:none; text-decoration:none; }
+.bank h2 {display:inline-block; float: left; color:#ffffff; font-size: 14px; font-weight:100; border:none; padding:6px 0;}
+.bank h3 {display:inline-block; float: left; color:#333333; font-size: 12px; font-weight:100; border:none; text-decoration:none; }
#callSelectorLink {display: inline-block; width:32px; height:32px; background: transparent url("../images/addLayers.png"); margin-left: 50px;float:right;}
-.bank div,.bank ul {display:block; overflow:auto; width:210px; margin:0 auto; padding:5px; max-height:250px; }
+.bank div,.bank ul {display:block; overflow:auto; width:190px; margin:0 auto; padding:5px; max-height:250px; }
.bank ul h3 {}
-.bank li.item {padding:0; display:block; background:#fff; width:200px; border-radius:5px; padding:5px; margin-top:10px; }
+.bank li.item {padding:0; display:block; background:#fff; width:180px; border-radius:5px; padding:5px; margin-top:10px; }
.bank li.item a {float:right; position:relative; top:-8px; right:-8px;}
.bank li.item h4 {font-size:9px; font-weight:bold; }
.bank li.item span.palette {display:block; width:185px; overflow:hidden; margin-top:5px;}
diff --git a/css/dateSpan-min.css b/css/dateSpan-min.css
index 531957a2c..61e23c96c 100644
--- a/css/dateSpan-min.css
+++ b/css/dateSpan-min.css
@@ -1 +1 @@
-.datespan ul,menu,dir{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}.spanContainerLabel{width:25%;float:left;text-shadow:none;display:block;margin-top:20px;text-align:center;font-size:.1em;color:#fff}.spanContainerLabelDate,.spanContainerLabelDay{display:block;font-size:.25em}.spanContainerLabelDay{font-size:.16em}.spanContainer{float:left;min-height:100%;width:100%}.datespan{width:100%;overflow:hidden;background:0}.datespan div.olMap{width:11.78%;height:100px;float:left;-moz-box-shadow:0 0 5px 5px #111;-webkit-box-shadow:0 0 5px 5px #111;box-shadow:0 0 5px 5px #111;margin:20px 0 0 2.5%!important;position:relative;left:-1.25%;display:block}a.ecbutton{display:block;width:24px;height:29px;float:left;position:relative;background:rgba(68,68,68,.85)}a.collapse{background-image:url("../images/collapseDown.png");background-repeat:no-repeat}a.expand{background-image:url("../images/expandUp.png");background-repeat:no-repeat}.dateSpanSlider{display:none!important}div.slider{background:rgba(68,68,68,.85);margin-bottom:0}ul.sliderLabel{text-shadow:none;color:#ccc;margin:-20px 0 0 0;background:0;height:20px;overflow:hidden}ul.sliderLabel li{float:left;background:0;margin:0;text-align:center;overflow:hidden}div.sliderDivYear{clear:both}div.sliderDivMonth{background:rgba(68,68,68,.6)}.disabledItem{color:#444!important}a.ui-slider-handle{position:relative;height:80%;top:-3%;background:rgba(31,143,237,.26);border:#1f8fed 2px solid}div.ui-slider{border:0;background:transparent;margin:0;top:0;height:23px}.dateHolder{display:inline-block;float:left;width:15%;background:rgba(68,68,68,.85);margin-bottom:10px;text-shadow:none;color:#ccc;font-weight:bold;text-align:center;padding:5px 0}a.ui-btn{margin:0}a.ui-shadow{box-shadow:none}a.ui-btn-up-c{box-shadow:none}#mapdiv{margin:0;padding:0;left:0}.dateitem{cursor:pointer!important}
\ No newline at end of file
+.datespan ul,menu,dir{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;-webkit-padding-start:0}.spanContainerLabel{width:25%;float:left;text-shadow:none;display:block;margin-top:20px;text-align:center;font-size:.1em;color:#fff}.spanContainerLabelDate,.spanContainerLabelDay{display:block;font-size:.25em}.spanContainerLabelDay{font-size:.16em}.spanContainer{float:left;min-height:100%;width:100%}.datespan{width:100%;overflow:hidden;background:0;padding-bottom:5px}.datespan div.olMap{width:11.78%;height:100px;float:left;-moz-box-shadow:0 0 5px 5px #111;-webkit-box-shadow:0 0 5px 5px #111;box-shadow:0 0 5px 5px #111;margin:20px 0 0 2.5%!important;position:relative;left:-1.25%;display:block}a.ecbutton{display:block;width:24px;height:24px;float:left;position:relative;background:transparent;left:-28px;top:3px}a.collapse{background-image:url("../images/collapseDown.png");background-repeat:no-repeat}a.expand{background-image:url("../images/expandUp.png");background-repeat:no-repeat}.dateSpanSlider{display:none!important}div.slider{margin-bottom:0;background:-moz-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(45,45,45,0.75)),color-stop(50%,rgba(0,0,0,0.75)),color-stop(100%,rgba(45,45,45,0.75)));background:-webkit-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-o-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-ms-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:linear-gradient(to bottom,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf2d2d2d',endColorstr='#bf2d2d2d',GradientType=0)}ul.sliderLabel{text-shadow:none;color:#ccc;margin:-20px 0 0 0;background:0;height:20px;overflow:hidden;font-size:11px!important;font-weight:bold;line-height:20px!important}ul.sliderLabel li{float:left;background:0;margin:0;text-align:center;overflow:hidden}div.sliderDivYear{clear:both}div.sliderDivMonth{background:rgba(45,45,45,.5)}div.sliderDivDay{margin-bottom:4px}#timesliderLabelDay{margin:-24px 0 0}.disabledItem{color:rgba(68,68,68,.8)!important}a.ui-slider-handle{position:relative;height:80%;top:-3%;background:rgba(31,143,237,.26);border:#1f8fed 2px solid}div.ui-slider{border:0;background:transparent;margin:0;top:0;height:23px}.dateHolder{display:inline-block;float:left;width:10%;margin-bottom:10px;margin-top:3px;text-shadow:none;color:#fff;font-weight:bold;font-size:11px;text-align:center;padding:5px 0;padding-right:28px;border-radius:0 5px 5px 0;background:-moz-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(45,45,45,0.75)),color-stop(50%,rgba(0,0,0,0.75)),color-stop(100%,rgba(45,45,45,0.75)));background:-webkit-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-o-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:-ms-linear-gradient(top,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);background:linear-gradient(to bottom,rgba(45,45,45,0.75) 0,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf2d2d2d',endColorstr='#bf2d2d2d',GradientType=0)}a.ui-btn{margin:0}a.ui-shadow{box-shadow:none}a.ui-btn-up-c{box-shadow:none}#mapdiv{margin:0;padding:0;left:0}.dateitem{cursor:pointer!important}
\ No newline at end of file
diff --git a/css/dateSpan.css b/css/dateSpan.css
index 818d68645..c77cff220 100644
--- a/css/dateSpan.css
+++ b/css/dateSpan.css
@@ -9,7 +9,7 @@
.spanContainerLabelDate,.spanContainerLabelDay {display:block; font-size:.25em;}
.spanContainerLabelDay{font-size:.16em;}
.spanContainer { float:left; min-height:100%; width:100%;}
-.datespan {width:100%; overflow:hidden; background:none;}
+.datespan {width:100%; overflow:hidden; background:none; padding-bottom:5px;}
.datespan div.olMap {width:11.78%; height:100px;
float:left;
-moz-box-shadow: 0 0 5px 5px #111;
@@ -20,17 +20,29 @@ margin:20px 0 0 2.5% !important;
position:relative; left:-1.25%;
display:block;
}
-a.ecbutton { display:block; width:24px; height:29px; float:left; position:relative; background: rgba(68,68,68,.85);}
+a.ecbutton { display:block; width:24px; height:24px; float:left; position:relative; background: transparent; left:-28px; top:3px;}
a.collapse {background-image: url("../images/collapseDown.png"); background-repeat:no-repeat;}
a.expand {background-image: url("../images/expandUp.png"); background-repeat:no-repeat;}
.dateSpanSlider {display:none !important;}
-div.slider {background: rgba(68,68,68,.85); margin-bottom:0px;}
-ul.sliderLabel {text-shadow: none; color:#ccc; margin:-20px 0 0 0; background:none; height:20px; overflow:hidden;}
+div.slider {/*background: rgba(45,45,45,.75);*/ margin-bottom:0px; /*box-shadow: 0px 0px 4px 1px #bbb;*/
+
+background: -moz-linear-gradient(top, rgba(45,45,45,0.75) 0%, rgba(0,0,0,0.75) 50%, rgba(45,45,45,0.75) 100%); /* FF3.6+ */
+background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(45,45,45,0.75)), color-stop(50%,rgba(0,0,0,0.75)), color-stop(100%,rgba(45,45,45,0.75))); /* Chrome,Safari4+ */
+background: -webkit-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* Chrome10+,Safari5.1+ */
+background: -o-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* Opera 11.10+ */
+background: -ms-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* IE10+ */
+background: linear-gradient(to bottom, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* W3C */
+filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf2d2d2d', endColorstr='#bf2d2d2d',GradientType=0 ); /* IE6-9 */
+
+
+}
+ul.sliderLabel {text-shadow: none; color:#ccc; margin:-20px 0 0 0; background:none; height:20px; overflow:hidden; font-size:11px !important; font-weight:bold; line-height:20px !important;}
ul.sliderLabel li {float:left; background:none; margin:0px; text-align:center; overflow:hidden;}
div.sliderDivYear {clear:both;}
-div.sliderDivMonth {background: rgba(68,68,68,.6);}
-div.sliderDivDay {}
-.disabledItem {color:#444444 !important;}
+div.sliderDivMonth {background: rgba(45,45,45,.5);}
+div.sliderDivDay { margin-bottom:4px;}
+#timesliderLabelDay {margin:-24px 0 0;}
+.disabledItem {color:rgba(68,68,68,.8) !important;}
a.ui-slider-handle {position:relative; height:80%; top:-3%; background: rgba(31,143,237,.26); border: #1f8fed 2px solid; }
div.ui-slider {border:none; background:transparent; /*width:100%;*/ margin:0px; top:0px; height:23px;}
@@ -38,7 +50,20 @@ div.ui-slider {border:none; background:transparent; /*width:100%;*/ margin:0px;
.sliderDivMonth a.ui-slider-handle {width:54px; margin-left:-30px !important;}
.sliderDivYear a.ui-slider-handle {width:54px; margin-left:-30px !important;}*/
-.dateHolder {display:inline-block; float:left; width:15%; background: rgba(68,68,68,.85); margin-bottom:10px; text-shadow:none; color:#ccc; font-weight:bold; text-align:center; padding:5px 0px; }
+.dateHolder {display:inline-block; float:left; width:10%; /*background: rgba(45,45,45,.75);*/ margin-bottom:10px; margin-top:3px;text-shadow:none; color:#fff; font-weight:bold; font-size:11px; text-align:center; padding:5px 0px; padding-right:28px;
+ border-radius: 0 5px 5px 0;
+
+background: -moz-linear-gradient(top, rgba(45,45,45,0.75) 0%, rgba(0,0,0,0.75) 50%, rgba(45,45,45,0.75) 100%); /* FF3.6+ */
+background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(45,45,45,0.75)), color-stop(50%,rgba(0,0,0,0.75)), color-stop(100%,rgba(45,45,45,0.75))); /* Chrome,Safari4+ */
+background: -webkit-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* Chrome10+,Safari5.1+ */
+background: -o-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* Opera 11.10+ */
+background: -ms-linear-gradient(top, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* IE10+ */
+background: linear-gradient(to bottom, rgba(45,45,45,0.75) 0%,rgba(0,0,0,0.75) 50%,rgba(45,45,45,0.75) 100%); /* W3C */
+filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf2d2d2d', endColorstr='#bf2d2d2d',GradientType=0 ); /* IE6-9 */
+ /*-moz-box-shadow: 0 -1px 15px #fff;
+ -webkit-box-shadow: 0 -1px 15px #fff;*/
+ /*box-shadow: 0 0px 4px 1px #bbb;*/}
+
/*a.ui-slider-handle{height:130px; display:block; width:14%; background:rgba(228,108,10,.2); border:#E46C0A 2px solid; z-index:1004; position:relative; top:-142px; margin: 10px 0 0 -7% !important; padding: 5px 0 5px 0; }*/
/*span.sliderText {font: 14px/14px "Gill Sans", sans-serif, serif; font-weight:500; color:#fff; text-shadow:none; z-index:1005;}*/
diff --git a/css/map-min.css b/css/map-min.css
index ede460a19..7dbfd4104 100644
--- a/css/map-min.css
+++ b/css/map-min.css
@@ -1 +1 @@
-div.olControlScaleLineCustom{position:absolute;right:12px;bottom:100px;z-index:2000;display:block;font-size:xx-small;color:#eee}.olControlScaleLineCustomBottom{border:solid 2px black;border-bottom:0;margin-top:-2px;text-align:center;background-color:rgba(38,38,38,0.4)}.olControlScaleLineCustomTop{border:solid 2px black;border-top:0;text-align:center;background-color:rgba(38,38,38,0.4)}@media only screen and (max-width:600px){html,body{height:117%}}.olControlAttribution{position:absolute;font-size:10px;bottom:0!important;right:0!important;background:rgba(0,0,0,0.1);font-family:Arial;padding:2px 4px;border-radius:5px 0 0 0}div.olMap{background-color:#000}div.olControlZoomPanelCustom{top:71px;left:14px;height:108px;width:36px;position:relative!important;float:right;margin:0 20px 0 0;cursor:pointer}div.olControlZoomPanelCustom div{width:36px;height:36px;left:0}div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive,div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive{position:absolute}div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive{background:rgba(68,68,68,.85);top:0;background-position:0 0;border-radius:5px 5px 0 0}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive{background:rgba(68,68,68,.85);top:72px;background-position:0 -72px;border-radius:0 0 5px 5px;top:37px}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after,div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive:after{font-weight:bold;content:'+';font-size:36px;padding:7px;z-index:2000;color:#fff;line-height:1em}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after{content:'–';line-height:.9em;padding:0 8px}div.olControlZoomPanelCustom .olControlZoomToMaxExtentItemInactive{top:36px;background-position:0 -36px;display:none}.olControlLayerSwitcher{position:absolute;top:180px;right:0;width:35em;font-family:sans-serif;font-weight:bold;margin-top:3px;margin-left:3px;margin-bottom:3px;font-size:smaller;color:white;background-color:transparent}.olControlLayerSwitcher .layersDiv{padding-top:5px;padding-left:1px;padding-bottom:5px;padding-right:3px;background-color:darkblue;width:100%}.olControlLayerSwitcher .layersDiv .baseLbl,.olControlLayerSwitcher .layersDiv .dataLbl{margin-top:3px;margin-left:3px;margin-bottom:3px}.olControlLayerSwitcher .layersDiv .baseLayersDiv{padding-left:10px;overflow:auto;height:80px;opacity:1!important}.olControlLayerSwitcher .layersDiv .dataLayersDiv{padding-left:10px;overflow:auto;height:250px;opacity:1!important}.olControlLayerSwitcher .maximizeDiv,.olControlLayerSwitcher .minimizeDiv{top:5px;right:0}.olLayerGridTile .olTileImage{-webkit-transition:none;-moz-transition:none;-o-transition:all 0 none;transition:none}#title,#tags,#shortdesc{display:none}
\ No newline at end of file
+div.olControlMousePosition{position:absolute;right:12px;bottom:80px;z-index:2000;padding:1px 8px;display:block;font-size:xx-small;color:#eee;background-color:rgba(38,38,38,0.4)}div.olControlScaleLineCustom{position:absolute;right:12px;bottom:100px;z-index:2000;display:block;font-size:xx-small;color:#eee}.olControlScaleLineCustomBottom{border:solid 2px black;border-bottom:0;margin-top:-2px;text-align:center;background-color:rgba(38,38,38,0.4)}.olControlScaleLineCustomTop{border:solid 2px black;border-top:0;text-align:center;background-color:rgba(38,38,38,0.4)}@media only screen and (max-width:600px){html,body{height:117%}}.olControlAttribution{position:absolute;font-size:10px;bottom:0!important;right:0!important;background:rgba(0,0,0,0.1);font-family:Arial;padding:2px 4px;border-radius:5px 0 0 0}div.olMap{background-color:#000}div.olControlZoomPanelCustom{top:91px;left:14px;height:108px;width:36px;position:relative!important;float:right;margin:0 20px 0 0;cursor:pointer}div.olControlZoomPanelCustom div{width:24px;height:24px;left:0}div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive,div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive{position:absolute}div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive{background:rgba(45,45,45,.75);top:0;background-position:0 0;border-radius:5px 5px 0 0}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive{background:rgba(45,45,45,.75);top:72px;background-position:0 -72px;border-radius:0 0 5px 5px;top:27px}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after,div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive:after{font-weight:bold;content:'+';font-size:24px;padding:5px;z-index:2000;color:#fff;line-height:1em}div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after{content:'–';line-height:1em;padding:5px}div.olControlZoomPanelCustom .olControlZoomToMaxExtentItemInactive{top:36px;background-position:0 -36px;display:none}.olControlLayerSwitcher{position:absolute;top:180px;right:0;width:35em;font-family:sans-serif;font-weight:bold;margin-top:3px;margin-left:3px;margin-bottom:3px;font-size:smaller;color:white;background-color:transparent}.olControlLayerSwitcher .layersDiv{padding-top:5px;padding-left:1px;padding-bottom:5px;padding-right:3px;background-color:darkblue;width:100%}.olControlLayerSwitcher .layersDiv .baseLbl,.olControlLayerSwitcher .layersDiv .dataLbl{margin-top:3px;margin-left:3px;margin-bottom:3px}.olControlLayerSwitcher .layersDiv .baseLayersDiv{padding-left:10px;overflow:auto;height:80px;opacity:1!important}.olControlLayerSwitcher .layersDiv .dataLayersDiv{padding-left:10px;overflow:auto;height:250px;opacity:1!important}.olControlLayerSwitcher .maximizeDiv,.olControlLayerSwitcher .minimizeDiv{top:5px;right:0}.olLayerGridTile .olTileImage{-webkit-transition:none;-moz-transition:none;-o-transition:all 0 none;transition:none}.olImageLoadError{background-color:transparent!important}#title,#tags,#shortdesc{display:none}
\ No newline at end of file
diff --git a/css/map.css b/css/map.css
index fa03b0b1e..39346f2ca 100644
--- a/css/map.css
+++ b/css/map.css
@@ -64,7 +64,7 @@ div.olMap {
/* Zoom panel controls */
div.olControlZoomPanelCustom {
- top: 71px;
+ top: 91px;
left: 14px;
height: 108px;
width: 36px;
@@ -75,8 +75,8 @@ div.olControlZoomPanelCustom {
}
div.olControlZoomPanelCustom div {
- width: 36px;
- height: 36px;
+ width: 24px;
+ height: 24px;
left: 0;
}
@@ -85,32 +85,36 @@ div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive {
position: absolute;
}
div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive {
- background: rgba(68,68,68,.85);
+ background: rgba(45,45,45,.75);
top: 0;
background-position: 0 0;
border-radius: 5px 5px 0 0;
+ /*box-shadow: 0 0 4px 1px #bbb;*/
+
}
div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive {
- background: rgba(68,68,68,.85);
+ background: rgba(45,45,45,.75);
top: 72px;
background-position: 0 -72px;
border-radius: 0 0 5px 5px ;
- top: 37px;
+ top: 27px;
+ /*box-shadow: 0 0 4px 1px #bbb;*/
+
}
div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after ,
div.olControlZoomPanelCustom .olControlZoomInCustomItemInactive:after{
font-weight: bold;
content : '+';
- font-size : 36px;
- padding: 7px;
+ font-size : 24px;
+ padding: 5px;
z-index: 2000;
color : #FFFFFF;
line-height: 1em;
}
div.olControlZoomPanelCustom .olControlZoomOutCustomItemInactive:after{
content: '–';
- line-height: 0.9em;
- padding: 0 8px;
+ line-height: 1em;
+ padding: 5px;
}
div.olControlZoomPanelCustom .olControlZoomToMaxExtentItemInactive {
diff --git a/css/selector-min.css b/css/selector-min.css
index e1092acd3..e40e9e10e 100644
--- a/css/selector-min.css
+++ b/css/selector-min.css
@@ -1 +1 @@
-.selector{display:block;width:100%;height:510px;padding-bottom:20px;font:10px/12px "Gill Sans","helvetica",sans-serif!important;color:#141b4c;border-radius:10px;text-shadow:none;overflow:auto}.selector h1,h2,h3,h4{margin:0;padding:0}.selector h2{display:inline-block;float:left;color:#fff;font-size:18px;font-weight:100;border:0;padding:6px 0}.selector h3{display:inline-block;float:left;color:#333;font-size:14px;font-weight:100;border:0;text-decoration:none}.selector div,.selector ul{display:block;overflow:hidden;width:98%;margin:0 auto;padding:5px}.selector li.selectorItem{padding:0;display:block;background:#fff;width:200px;height:38px;border-radius:5px;padding:5px;margin-top:10px;float:left;margin-left:5px;overflow:hidden}.selector li.selectorItem input{float:right}.selector li.selectorItem h4{font-size:9px!important;font-weight:bold!important;color:#141b4c!important}.selector ul.category{min-height:170px;background:rgba(255,255,255,.7);border-radius:5px;margin-top:10px;max-height:190px;overflow:auto}.selector ul.category li h3{display:block!important;clear:both;float:none!important;color:#333!important;margin-left:5px}.selector a.flowbutton{text-decoration:none;display:inline-block;float:left;color:#fff!important;font-size:14px;font-weight:100;border:0;padding:6px 0;margin-top:20px;margin-left:5px}.selector ul li div{padding:0!important}.selector ul.toplevel{padding:0}.selector ul.toplevel li{float:left;width:auto;margin:20px 20px 0 0}.selector ul.toplevel img{border-radius:5px;border:#fff 2px solid}.selector ul.toplevel a p{width:100%;text-align:center;color:#fff;font-weight:400;font-size:16px}#selector .bd{background:rgba(68,68,68,.85)!important;border-radius:0 0 10px 10px}#selector .hd{background:rgba(68,68,68,.65)!important;border-radius:10px 10px 0 0}#selector_c .yui-panel{border-radius:10px}#selector_c .underlay{border-radius:10px}
\ No newline at end of file
+#selector{display:none}.selector{display:block;width:100%;height:510px;padding-bottom:20px;font:10px/12px "Gill Sans","helvetica",sans-serif!important;color:#141b4c;border-radius:10px;text-shadow:none;overflow:auto}.selector h1,h2,h3,h4{margin:0;padding:0}.selector h2{display:inline-block;float:left;color:#fff;font-size:14px;font-weight:100;border:0;padding:6px 0}.selector h3{display:inline-block;float:left;color:#333;font-size:12px;font-weight:100;border:0;text-decoration:none}.selector div,.selector ul{display:block;overflow:hidden;width:98%;margin:0 auto;padding:5px}.selector li.selectorItem{padding:0;display:block;background:#fff;width:200px;height:38px;border-radius:5px;padding:5px;margin-top:10px;float:left;margin-left:5px;overflow:hidden}.selector li.selectorItem input{float:right}.selector li.selectorItem h4{font-size:9px!important;font-weight:bold!important;color:#141b4c!important}.selector ul.category{min-height:170px;background:rgba(255,255,255,.7);border-radius:5px;margin-top:10px;max-height:190px;overflow:auto}.selector ul.category li h3{display:block!important;clear:both;float:none!important;color:#333!important;margin-left:5px}.selector a.flowbutton{text-decoration:none;display:inline-block;float:left;color:#fff!important;font-size:14px;font-weight:100;border:0;padding:6px 0;margin-top:20px;margin-left:5px}.selector ul li div{padding:0!important}.selector ul.toplevel{padding:0}.selector ul.toplevel li{float:left;width:auto;margin:20px 20px 0 0}.selector ul.toplevel img{border-radius:5px;border:#fff 2px solid}.selector ul.toplevel a p{width:100%;text-align:center;color:#fff;font-weight:400;font-size:12px}#selector .bd{background:rgba(45,45,45,.75)!important;border-radius:0 0 10px 10px}#selector .hd{background:rgba(45,45,45,.65)!important;border-radius:10px 10px 0 0}#selector_c .yui-panel{border-radius:10px}#selector_c .underlay{border-radius:10px}
\ No newline at end of file
diff --git a/css/selector.css b/css/selector.css
index 593c166cb..34029e377 100644
--- a/css/selector.css
+++ b/css/selector.css
@@ -1,7 +1,10 @@
+#selector {display:none;}
+
.selector { display:block; width: 100%; height:510px; padding-bottom:20px; font: 10px/12px "Gill Sans","helvetica",sans-serif !important; color: #141b4c; border-radius: 10px; text-shadow:none; overflow:auto;}
+
.selector h1,h2,h3,h4 {margin:0px; padding:0px;}
-.selector h2 {display:inline-block; float: left; color:#ffffff; font-size: 18px; font-weight:100; border:none; padding:6px 0;}
-.selector h3 {display:inline-block; float: left; color:#333333; font-size: 14px; font-weight:100; border:none; text-decoration:none; }
+.selector h2 {display:inline-block; float: left; color:#ffffff; font-size: 14px; font-weight:100; border:none; padding:6px 0;}
+.selector h3 {display:inline-block; float: left; color:#333333; font-size: 12px; font-weight:100; border:none; text-decoration:none; }
.selector div,.selector ul {display:block; overflow:hidden; width:98%; margin:0 auto; padding:5px;}
.selector li.selectorItem {padding:0; display:block; background:#fff; width:200px; height:38px;border-radius:5px; padding:5px; margin-top:10px; float:left; margin-left:5px; overflow:hidden;}
.selector li.selectorItem input {float:right;}
@@ -13,8 +16,8 @@
.selector ul.toplevel {padding:0px;}
.selector ul.toplevel li {float:left; width:auto; margin: 20px 20px 0 0;}
.selector ul.toplevel img {border-radius:5px; border:#fff 2px solid; }
-.selector ul.toplevel a p {width:100%; text-align:center; color:#ffffff; font-weight:400; font-size: 16px;}
-#selector .bd {background: rgba(68,68,68,.85) !important; border-radius: 0 0 10px 10px; }
-#selector .hd {background: rgba(68,68,68,.65) !important;border-radius: 10px 10px 0 0; }
+.selector ul.toplevel a p {width:100%; text-align:center; color:#ffffff; font-weight:400; font-size: 12px;}
+#selector .bd {background: rgba(45,45,45,.75) !important; border-radius: 0 0 10px 10px; }
+#selector .hd {background: rgba(45,45,45,.65) !important;border-radius: 10px 10px 0 0; }
#selector_c .yui-panel {border-radius:10px;}
#selector_c .underlay {border-radius:10px;}
diff --git a/css/sote-min.css b/css/sote-min.css
index 2405c5892..5a25975f5 100644
--- a/css/sote-min.css
+++ b/css/sote-min.css
@@ -1 +1 @@
-html,body,div,ul,li{display:block;margin:0;padding:0}body{min-width:600px}div{display:block}.yui-skin-sam .yui-panel{background:transparent;width:700px;font:13px "Gill Sans",sans-serif;font-weight:100}.yui-skin-sam .yui-panel-container .hd{background:rgba(0,0,0,0.5);color:#fff;border:0;padding:0}.yui-skin-sam .yui-panel-container .bd{background:rgba(0,0,0,0.8);color:#d5d5d5}.yui-skin-sam .yui-panel-container .bd h3{color:#fff;font:18px "Gill Sans",sans-serif;font-weight:400;text-decoration:none}.yui-skin-sam .yui-panel-container .bd h4{color:#000;font:18px "Gill Sans",sans-serif;font-weight:400;text-decoration:none}.yui-skin-sam .yui-panel-container .bd a{color:#48a8ff}#switch{display:block;position:absolute;border-radius:5px;top:150px;overflow:hidden;background:rgba(68,68,68,.85);right:0;z-index:1000;margin-right:5px}#switch div{display:block;border-radius:5px;padding:5px}#switch img{display:block!important}#switch ul li div.hidden{display:none}#switch ul li:hover div.hidden{display:block}#permpanel h3{color:#fff;font:12px "Gill Sans",sans-serif;font-weight:100;text-decoration:none}#permpanel input[type='text']{width:280px}div.horizontalContainer{width:100%;display:block;float:left;position:absolute;overflow:hidden;bottom:0;z-index:1002;padding:5px 0 5px 0}#aboutus,#permalink{float:right;margin-top:5px;position:relative;z-index:1002;display:block;width:50px}#aboutus,#permalink img{width:50px;height:44.5px;border:0}#aboutus,#permalink a{text-decoration:none;border:0}#permalink_content{margin-top:10px}.hidden{display:none}#products{z-index:1006;display:block;float:left;position:absolute;left:0;top:15%}#banner{z-index:1006;float:left;position:relative}#hazard,#transition{z-index:1007;clear:both;float:left;display:block;position:relative}#transition{width:22%;height:100px;text-shadow:none;color:#262626;margin-top:55px}#hazard{top:-13px}#map{position:absolute!important;left:0;top:0}#hazard ul{padding:0;margin-left:0;font:13px "Gill Sans",sans-serif;text-align:center;text-shadow:none}#hazard ul li{margin:0;float:left;border-width:1.5pt;padding:0 5px 0 5px}#hazard ul li.disabled{color:#9c9c9c}#hazard ul.collapsible li div{position:absolute;left:-999em}#hazard ul.collapsible:hover li div{position:relative;left:0}#hazard ul li:hover{border-color:yellow}#hazard_item0{background-color:#953735;border-color:#d99694}#hazard_item0.disabled,#hazard_item0.disabled:hover{background-color:#5c4c4d;border-color:#715f60}#hazard_item1{background-color:#17375e;border-color:#558ed5}#hazard_item1.disabled,#hazard_item1.disabled:hover{background-color:#36424c;border-color:#4e6477}#hazard_item2{background-color:#4a452a;border-color:#948a54}#hazard_item2.disabled,#hazard_item2.disabled:hover{background-color:#3a3834;border-color:#69634e}#hazard_item3{background-color:#a0a26c;border-color:#d1d46f}#hazard_item3.disabled,#hazard_item3.disabled:hover{background-color:#656756;border-color:#7f8061}#hazard_item4{background-color:#7f7f7f;border-color:#a6a6a6}#hazard_item4.disabled,#hazard_item4.disabled:hover{background-color:#3f3f3f;border-color:#616161}#hazard_item5{background-color:#4f6228;border-color:#65754f}#hazard_item5.disabled,#hazard_item5.disabled:hover{background-color:#535343;border-color:#65754f}#hazard_item6{background-color:#403152;border-color:#b3a2c7}#transition ul{font:10px "Gill Sans",sans-serif;text-align:center}#transition ul li,#transition ul li.disabled,#transition ul li.disabled:hover{background-color:#4c595c;border-color:#708788;border-width:.75pt}#transition ul li.selected{background-color:#984807;border-color:#fac090}#transition ul li:hover{border-color:yellow}
\ No newline at end of file
+html,body,div,ul,li{display:block;margin:0;padding:0}body{min-width:600px}div{display:block}.yui-skin-sam .yui-panel{background:transparent;width:700px;font:13px "Gill Sans",sans-serif;font-weight:100}.yui-skin-sam .yui-panel-container .hd{background:rgba(45,45,45,0.5);color:#fff;border:0;padding:0}.yui-skin-sam .yui-panel-container .bd{background:rgba(45,45,45,0.75);color:#d5d5d5}.yui-skin-sam .yui-panel-container .bd h3{color:#fff;font:18px "Gill Sans",sans-serif;font-weight:400;text-decoration:none}.yui-skin-sam .yui-panel-container .bd h4{color:#000;font:18px "Gill Sans",sans-serif;font-weight:400;text-decoration:none}.yui-skin-sam .yui-panel-container .bd a{color:#48a8ff}#switch{overflow:hidden;z-index:1000}#switch div{display:block}#switch img{display:block!important;width:40px;height:40px}#switch ul li{margin:0!important}#switch ul li div.hidden{display:none}#switch ul li:hover div.hidden{display:block;background:rgba(45,45,45,0.75);border-radius:0 0 5px 5px;position:relative;top:-1px}#switch ul li:hover div.hidden a img{border:transparent 1px solid}#switch ul li:hover div.hidden a:hover img{border:#fff 1px solid}#switchcurrent{border:transparent 1px solid}#permpanel h3{color:#fff;font:12px "Gill Sans",sans-serif;font-weight:100;text-decoration:none}#permpanel input[type='text']{width:280px}div.horizontalContainer{width:100%;display:block;float:left;position:absolute;overflow:hidden;bottom:0;z-index:200;padding:5px 0 5px 0}#permalink_content{margin-top:10px}.hidden{display:none}#products{z-index:200;display:block;float:left;position:absolute;left:0;top:15%}#banner{display:block;z-index:291;float:left;position:relative;width:100%;height:49px;background:transparent url("../images/toolbarbg.png")}#banner img.logo{padding:11px 5px}#banner ul{float:right}#banner ul li{display:block;float:right;margin:3px 3px}#hazard,#transition{z-index:1007;clear:both;float:left;display:block;position:relative}#transition{width:22%;height:100px;text-shadow:none;color:#262626;margin-top:55px}#hazard{top:-13px}#map{position:absolute!important;left:0;top:0}#dlMap{position:absolute!important;left:0;top:0;background-color:#00f;opacity:0;width:100%;height:100%;z-index:-1;overflow:hidden}#rubberband{position:absolute!important;left:0;top:0;width:100%;height:100%;z-index:-3;display:none;overflow:hidden}#imagedownload{z-index:1005;width:160px;min-height:100px;position:absolute;display:none;background:rgba(45,45,45,0.75);text-shadow:none;color:white;float:left;font-size:11px;text-align:left;top:44px;padding:5px;border-radius:0 0 5px 5px}#imgFileSize{color:#d99694}#hazard ul{padding:0;margin-left:0;font:13px "Gill Sans",sans-serif;text-align:center;text-shadow:none}#hazard ul li{margin:0;float:left;border-width:1.5pt;padding:0 5px 0 5px}#hazard ul li.disabled{color:#9c9c9c}#hazard ul.collapsible li div{position:absolute;left:-999em}#hazard ul.collapsible:hover li div{position:relative;left:0}#hazard ul li:hover{border-color:yellow}#hazard_item0{background-color:#953735;border-color:#d99694}#hazard_item0.disabled,#hazard_item0.disabled:hover{background-color:#5c4c4d;border-color:#715f60}#hazard_item1{background-color:#17375e;border-color:#558ed5}#hazard_item1.disabled,#hazard_item1.disabled:hover{background-color:#36424c;border-color:#4e6477}#hazard_item2{background-color:#4a452a;border-color:#948a54}#hazard_item2.disabled,#hazard_item2.disabled:hover{background-color:#3a3834;border-color:#69634e}#hazard_item3{background-color:#a0a26c;border-color:#d1d46f}#hazard_item3.disabled,#hazard_item3.disabled:hover{background-color:#656756;border-color:#7f8061}#hazard_item4{background-color:#7f7f7f;border-color:#a6a6a6}#hazard_item4.disabled,#hazard_item4.disabled:hover{background-color:#3f3f3f;border-color:#616161}#hazard_item5{background-color:#4f6228;border-color:#65754f}#hazard_item5.disabled,#hazard_item5.disabled:hover{background-color:#535343;border-color:#65754f}#hazard_item6{background-color:#403152;border-color:#b3a2c7}#transition ul{font:10px "Gill Sans",sans-serif;text-align:center}#transition ul li,#transition ul li.disabled,#transition ul li.disabled:hover{background-color:#4c595c;border-color:#708788;border-width:.75pt}#transition ul li.selected{background-color:#984807;border-color:#fac090}#transition ul li:hover{border-color:yellow}
\ No newline at end of file
diff --git a/css/sote.css b/css/sote.css
index a0774c9c2..1e75b5bcb 100644
--- a/css/sote.css
+++ b/css/sote.css
@@ -3,37 +3,44 @@ body {min-width:600px;}
div {display:block;}
.yui-skin-sam .yui-panel {background: transparent; width:700px; font: 13px "Gill Sans", sans-serif; font-weight:100;}
-.yui-skin-sam .yui-panel-container .hd{ background:rgba(0,0,0,0.5); color:#ffffff; border:none; padding:0;}
-.yui-skin-sam .yui-panel-container .bd{ background:rgba(0,0,0,0.8); color:#d5d5d5;}
+.yui-skin-sam .yui-panel-container .hd{ background:rgba(45,45,45,0.5); color:#ffffff; border:none; padding:0;}
+.yui-skin-sam .yui-panel-container .bd{ background:rgba(45,45,45,0.75); color:#d5d5d5;}
.yui-skin-sam .yui-panel-container .bd h3{ color:#FFFFFF; font: 18px "Gill Sans", sans-serif; font-weight:400; text-decoration:none; }
.yui-skin-sam .yui-panel-container .bd h4{ color:#000000; font: 18px "Gill Sans", sans-serif; font-weight:400; text-decoration:none; }
.yui-skin-sam .yui-panel-container .bd a {color: #48a8ff; }
-#switch {display:block; position:absolute; border-radius:5px; top:150px; overflow:hidden; background: rgba(68,68,68,.85); right:0px; z-index:1000; margin-right:5px;}
-#switch div{display:block; border-radius:5px; padding:5px;}
-#switch img {display:block !important;}
+#switch { overflow:hidden; z-index:1000; }
+#switch div{display:block; }
+#switch img {display:block !important; width:40px; height:40px; }
+#switch ul li {margin:0px !important;}
#switch ul li div.hidden {display:none; }
-#switch ul li:hover div.hidden {display:block;}
+#switch ul li:hover div.hidden {display:block; background: rgba(45,45,45,0.75); border-radius:0 0 5px 5px; position:relative; top:-1px;}
+#switch ul li:hover div.hidden a img {border:transparent 1px solid;}
+#switch ul li:hover div.hidden a:hover img {border: #fff 1px solid; }
+#switchcurrent {border:transparent 1px solid;}
/*#switch ul li div.hidden a:hover img {border:#155678 2px solid; }*/
#permpanel h3 {color:#FFFFFF; font: 12px "Gill Sans", sans-serif; font-weight:100; text-decoration:none;}
#permpanel input[type='text']{width:280px;}
-div.horizontalContainer {width:100%; display:block; float:left; position:absolute; overflow:hidden; bottom:0; z-index:1002; padding: 5px 0 5px 0;}
-#imgDownloadLink,#aboutus,#permalink {float:right; margin-top:5px; position:relative; z-index:1002;display:block; width:50px; }
+div.horizontalContainer {width:100%; display:block; float:left; position:absolute; overflow:hidden; bottom:0; z-index:200; padding: 5px 0 5px 0;}
+/*#imgDownloadLink,#aboutus,#permalink {float:right; margin-top:5px; position:relative; z-index:1002;display:block; width:50px; }
#imgDownloadLink,#aboutus,#permalink img {width:50px; height:44.5px; border:none;}
-#imgDownloadLink,#aboutus,#permalink a{text-decoration:none; border:none;}
+#imgDownloadLink,#aboutus,#permalink a{text-decoration:none; border:none;}*/
#permalink_content {margin-top:10px;}
.hidden {display:none;}
-#products { z-index:1006; display:block; float:left; position:absolute; left:0; top:15%;}
+#products { z-index:200; display:block; float:left; position:absolute; left:0; top:15%;}
#banner {
- z-index:1006; float:left; position:relative;
+ display:block; z-index:291; float:left; position:relative; width:100%; height: 49px; background: transparent url("../images/toolbarbg.png");
}
+#banner img.logo {padding:11px 5px;}
+#banner ul {float:right;}
+#banner ul li {display:block; float:right; margin:3px 3px;}
#hazard, #transition {z-index:1007; clear:both; float:left; display:block; position:relative; }
@@ -46,10 +53,9 @@ div.horizontalContainer {width:100%; display:block; float:left; position:absolu
}
#rubberband {position:absolute !important; left:0; top:0; width:100%; height:100%; z-index:-3; display:none; overflow:hidden; }
-#imagedownload {z-index:1006; position:fixed;width:400px;height:100px;background-color:#36424C; display:none; opacity:0.7;
- float:right; top:0px; right:200px; -moz-border-radius: 15px;border-radius: 15px;font: 13px "Gill Sans", sans-serif; font-weight:100;}
-#rbImageHolder{position:absolute !important; left:0; top:0; opacity:0.3; z-index:-10; width:100%; height:100%; overflow:hidden;}
-#rbImage {position:absolute !important; left:0; top:0; width:100%; height:100%; opacity:0.1 !important; overflow:hidden; }
+#imagedownload {z-index:1005; width:160px; min-height:100px; position:absolute; display:none; background: rgba(45,45,45,0.75);
+ text-shadow:none; color:white; float:left; font-size:11px; text-align: left; top:44px; padding:5px; border-radius: 0 0 5px 5px;}
+#imgFileSize {color:#D99694;}
#hazard ul {
padding: 0;
diff --git a/images/antarctic.png b/images/antarctic.png
index edfcb83b8..332e2fc1b 100644
Binary files a/images/antarctic.png and b/images/antarctic.png differ
diff --git a/images/arctic.png b/images/arctic.png
index c25ebc6a6..f8631550e 100644
Binary files a/images/arctic.png and b/images/arctic.png differ
diff --git a/images/cameraon.png b/images/cameraon.png
new file mode 100644
index 000000000..b962e55a4
Binary files /dev/null and b/images/cameraon.png differ
diff --git a/images/geographic.png b/images/geographic.png
index 09306bd63..714f87c8c 100644
Binary files a/images/geographic.png and b/images/geographic.png differ
diff --git a/index.html b/index.html
index 8475b4a86..312b956f9 100644
--- a/index.html
+++ b/index.html
@@ -37,55 +37,68 @@
<!-- Combo-handled YUI JS files: -->
<script type="text/javascript" src="js/ext/yui/combo-event-dragdrop-container-min.js"></script>
-
-
<!-- CSS for OpenLayers -->
<link type="text/css" href="css/ext/openlayers-2.12/openlayers.defaulttheme.style.css" rel="StyleSheet" />
<link type="text/css" href="css/ext/openlayers-2.12/openlayers.example.style.css" rel="StyleSheet" />
<link type="text/css" href="css/ext/openlayers-2.12/openlayers.style.mobile-jq.css" rel="StyleSheet" />
-
+
<!-- CSS for map style -->
- <link type="text/css" href="css/map-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/dateSpan-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/menuPicker-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/accordionPicker-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/bank-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/selector-min.css?v=0.2.1" rel="Stylesheet" />
- <link type="text/css" href="css/sote-min.css?v=0.2.1" rel="Stylesheet" />
-
+ <link type="text/css" href="css/map-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/dateSpan-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/menuPicker-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/accordionPicker-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/bank-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/selector-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/sote-min.css?v=0.3.0" rel="Stylesheet" />
+ <link type="text/css" href="css/ext/jcrop/jcrop.css" rel="Stylesheet" />
<!-- External Javascript includes -->
<script type="text/javascript" src="js/ext/openlayers-2.12/OpenLayers.js?mobile"></script>
<script type="text/javascript" src="js/ext/datejs/date.js"></script>
+ <script type="text/javascript" src="js/ext/jcrop/jcrop.js"></script>
<!-- SOTE component includes -->
- <script type="text/javascript" src="js/component-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/registry-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/util-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/map-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/mapSote-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/dateSpan-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/menuPicker-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/accordionPicker-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/bank-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/switch-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/selector-min.js?v=0.2.1"></script>
- <script type="text/javascript" src="js/sote-min.js?v=0.2.1"></script>
-
+ <script type="text/javascript" src="js/component-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/registry-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/util-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/map-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/mapSote-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/dateSpan-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/rubberBand-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/imageDownload-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/menuPicker-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/accordionPicker-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/bank-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/switch-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/selector-min.js?v=0.3.0"></script>
+ <script type="text/javascript" src="js/sote-min.js?v=0.3.0"></script>
+
</head>
<body class="yui-skin-sam">
<div data-role="page" id="mappage">
<div data-role="content">
- <div id="banner"><img src='images/worldview.png' usemap="#bannermap" /></div>
- <div id="aboutus"><a id='aboutus_link' class='aboutus_link' href='javascript:showOverlay();'><img src='images/aboutIcon.png' /></a></div>
- <div id="permalink"><a id='perma_link' class='aboutus_link' href='javascript:showPermalink();'><img src='images/permalinkIcon.png' /></a></div>
+ <div id="banner"><img class='logo' src='images/logo.png' />
+ <ul>
+ <li><a id='aboutus_link' class='toolbaricon' href='javascript:showOverlay();'><img src='images/information.png' /></a></li>
+ <!--<li><a id='camera_link' class='toolbaricon' href='javascript:showRubberBand();'><img src='images/camera.png' /></a></li>-->
+ <li><div id='camera'></div></li>
+ <li><div id="switch"></div></li>
+ <li><a id='perma_link' class='toolbaricon' href='javascript:showPermalink();'><img src='images/permalink.png' /></a></li>
+ </ul>
+
+ </div>
+ <!--<div id="aboutus"><a id='aboutus_link' class='aboutus_link' href='javascript:showOverlay();'><img src='images/aboutIcon.png' /></a></div>
+ <div id="permalink"><a id='perma_link' class='aboutus_link' href='javascript:showPermalink();'><img src='images/permalinkIcon.png' /></a></div>-->
<div id="hazard"></div>
<div id="products"></div>
<div id="map"></div>
- <div id="switch"></div>
+
+ <div id="imagedownload"></div>
+ <div id="dlMap"></div>
+
<div class="horizontalContainer">
<div id="time"></div>
</div>
@@ -94,12 +107,19 @@
</div>
<script type="text/javascript">
- REGISTRY.addEventListener("map","time");
+ REGISTRY.addEventListener("map","time","imagedownload");
+ REGISTRY.addEventListener("time","map","imagedownload");
+ REGISTRY.addEventListener("switch","map","products","selectorbox","time", "imagedownload", "camera");
+ REGISTRY.addEventListener("products","map","time","selectorbox","imagedownload");
+ REGISTRY.addEventListener("selectorbox","products");
+ REGISTRY.addEventListener("camera","imagedownload");
+
+ /*REGISTRY.addEventListener("map","time");
REGISTRY.addEventListener("time","map");
REGISTRY.addEventListener("switch","map","products","selectorbox","time");
REGISTRY.addEventListener("products","map","time","selectorbox");
REGISTRY.addEventListener("selectorbox","products");
- //REGISTRY.addEventListener("hazard","products");
+ //REGISTRY.addEventListener("hazard","products");*/
function testQS(){
var comps = REGISTRY.getComponents();
@@ -116,7 +136,6 @@
REGISTRY.addAllReadyCallback(testQS);
}
-
</script>
<!-- Crazy Egg Metrics -->
diff --git a/js/ext/jcrop/jcrop.js b/js/ext/jcrop/jcrop.js
index dae44b439..1ee5b4b17 100644
--- a/js/ext/jcrop/jcrop.js
+++ b/js/ext/jcrop/jcrop.js
@@ -318,7 +318,33 @@
$origimg.after($img).hide();
} else {
- $img = $origimg.css(img_css).show();
+ $img = $origimg.clone().css(img_css).show();
+
+ $img.width($origimg.width());
+ $img.height($origimg.height());
+
+ /*$img.css("width",$(window).width());
+ $img.css("height",$(window).height());*/
+
+ if(options.fullScreen){
+ $(window).resize(function() {
+
+ boundx = $(window).width();
+ boundy = $(window).height();
+
+ Selection.refresh();
+
+ if (options.shade) {
+ Shade.resize(boundx,boundy);
+ Shade.refresh();
+ }
+
+
+
+ });
+ }
+ $origimg.hide();
+
img_mode = false;
if (options.shade === null) { options.shade = true; }
}
@@ -328,11 +354,18 @@
var boundx = $img.width(),
boundy = $img.height(),
+ hldrx = (options.fullScreen)? '100%': boundx,
+ hldry = (options.fullScreen)? '100%': boundy,
- $div = $('<div />').width(boundx).height(boundy).addClass(cssClass('holder')).css({
+ $div = $('<div />').width(hldrx).height(hldry).addClass(cssClass('holder')).css({
position: 'relative',
- backgroundColor: options.bgColor
+ backgroundColor: options.bgColor,
}).insertAfter($origimg).append($img);
+
+ if( options.fullScreen ){
+ $img.css("width",'100%');
+ $img.css("height",'100%');
+ }
if (options.addClass) {
$div.addClass(options.addClass);
@@ -375,7 +408,7 @@
}
var bound = options.boundary;
- var $trk = newTracker().width(boundx + (bound * 2)).height(boundy + (bound * 2)).css({
+ var $trk = newTracker().width(hldrx + (bound * 2)).height(hldry + (bound * 2)).css({
position: 'absolute',
top: px(-bound),
left: px(-bound),
@@ -1426,8 +1459,8 @@
//}}}
function destroy() //{{{
{
- $div.empty();
- $origimg.show();
+ $div.remove();
+ $origimg.css(img_css).show();
$(obj).removeData('Jcrop');
}
//}}}
diff --git a/js/imageDownload.js b/js/imageDownload.js
index da36cc454..198b52362 100644
--- a/js/imageDownload.js
+++ b/js/imageDownload.js
@@ -35,6 +35,7 @@ SOTE.widget.ImageDownload = function(containerId, config){
config={};
}
+ this.alignTo = config.alignTo;
this.id = containerId;
this.map = null;
this.WMTSLayer = null;
@@ -60,7 +61,14 @@ SOTE.widget.ImageDownload.prototype = new SOTE.widget.Component;
SOTE.widget.ImageDownload.prototype.init = function(){
this.container.setAttribute("class","imagedownload");
- if(REGISTRY){
+ var self = this;
+
+ SOTE.widget.ImageDownload.setPosition(this);
+ $(window).resize(function() {
+ SOTE.widget.ImageDownload.setPosition(self);
+ });
+
+ if(REGISTRY){
REGISTRY.register(this.id,this);
REGISTRY.markComponentReady(this.id);
}
@@ -105,18 +113,23 @@ SOTE.widget.ImageDownload.prototype.init = function(){
this.map.addLayer(this.WMTSLayer);
- var htmlElements = "<center>Resolution:<select id='selImgResolution'><option value='1'>250m</option><option value='2'>500m</option><option value='4'>1km</option><option value='20'>5km</option><option value='40'>10km</option></select> | ";
- htmlElements +="Format: <select id='selImgFormat'><option value='JPEG'>JPEG</option><option value='PNG'>PNG</option><option value='Gtiff'>GeoTIFF</option></select> | ";
- htmlElements += "<input type='button' id='btnImgDownload' value='Download'/>";
- htmlElements +="<br>Estimated Uncompressed Image Size: ~ <span id='imgFileSize'> </span> MB (<span id='imgWidth''></span> x <span id='imgHeight'></span> pixels) <br>(Max. allowed uncompressed image size: 250 MB) ";
- htmlElements +="<br><hr width='50%'/><font size='-1'>[Click on the camera icon to exit the download model.]</font></center>";
+ var htmlElements = "<div>Resolution:<select id='selImgResolution'><option value='1'>250m</option><option value='2'>500m</option><option value='4'>1km</option><option value='20'>5km</option><option value='40'>10km</option></select>";
+ htmlElements +="<br />Format: <select id='selImgFormat'><option value='JPEG'>JPEG</option><option value='PNG'>PNG</option><option value='Gtiff'>GeoTIFF</option></select>";
+ htmlElements +="<br />Raw Image Size: ~ <span id='imgFileSize'> </span> MB <br />(<span id='imgWidth''></span> x <span id='imgHeight'></span> pixels)";
+ htmlElements += "<br /><span style='font-size:10px; color:#aaa; font-style:italic;'>(Max Size: 250 MB)</span> ";//(<span id='imgWidth''></span> x <span id='imgHeight'></span> pixels)
+ htmlElements += "<br /><input type='button' id='btnImgDownload' value='Download'/>";
+ htmlElements +="</div>";
$("#"+this.id).html(htmlElements);
};
-
+SOTE.widget.ImageDownload.setPosition = function(self){
+ var offset = $("#"+self.alignTo.id).offset();
+ var left = offset.left + parseInt($("#"+self.alignTo.id).css("width")) - parseInt($("#"+self.id).css("width"));
+ $("#"+self.id).css("left",left+"px");
+};
/**
* Sets the passed HTML string as the component's value
@@ -154,7 +167,7 @@ SOTE.widget.ImageDownload.prototype.updateComponent = function(qs){
var bbox = SOTE.util.extractFromQuery('map',qs);
var time = SOTE.util.extractFromQuery('time',qs);
- var pixels = SOTE.util.extractFromQuery('rubberband', qs);
+ var pixels = SOTE.util.extractFromQuery('camera', qs);
var s = SOTE.util.extractFromQuery('switch',qs);
var products = SOTE.util.extractFromQuery('products',qs);
@@ -196,8 +209,8 @@ SOTE.widget.ImageDownload.prototype.updateComponent = function(qs){
$("#imgWidth").text((imgWidth));
$("#imgHeight").text((imgHeight));
$("#imgFileSize").text(imgFilesize);
- if(imgFilesize>250) { $("#imgFileSize").css("color", "red"); $("#btnImgDownload").attr("disabled", "disabled"); }
- else { $("#imgFileSize").css("color", "black"); $("#btnImgDownload").removeAttr("disabled"); }
+ if(imgFilesize>250) { $("#imgFileSize").css("color", "#D99694"); $("#btnImgDownload").attr("disabled", "disabled"); }
+ else { $("#imgFileSize").css("color", "white"); $("#btnImgDownload").removeAttr("disabled"); }
})
.change();
diff --git a/js/mapSote-min.js b/js/mapSote-min.js
index 78e279550..221a6b3ae 100644
--- a/js/mapSote-min.js
+++ b/js/mapSote-min.js
@@ -1 +1 @@
-SOTE.namespace("SOTE.widget.MapSote");SOTE.widget.MapSote=function(a,b){SOTE.widget.Map.call(this,a,b);this.isLayerCachingEnabled=false;this.terribleQsSaver="";this.terribleQsSaverJustSet=false;this.terribleProductListSaver="";this.state="geographic";this.setExtent(this.bbox);this.initMapSote()};SOTE.widget.MapSote.prototype=new SOTE.widget.Map;SOTE.widget.MapSote.prototype.initMapSote=function(){this.isLayerCachingEnabled=false;this.terribleQsSaver="";this.terribleQsSaverJustSet=false;this.terribleProductListSaver="";this.map.events.register("movestart",this,this.handleMapMoveStart);this.map.events.register("zoomend",this,this.handleMapZoomEnd);this.handleMapZoomEnd(null);if(this.projection=="EPSG:4326"){var b=new Date().getUTCHours();if(b<9){b=0}var a=20.6015625+b*(-200.53125/23);var d=a+159.328125;var c=a.toString()+",-46.546875,"+d.toString()+",53.015625";this.setExtent(c,true);this.fire()}else{this.setExtent("-4194304,-4194304,4194304,4194304",true);this.fire()}};SOTE.widget.MapSote.prototype.setLayerCaching=function(a){this.isLayerCachingEnabled=a};SOTE.widget.MapSote.prototype.handleMapMoveStart=function(a){this.setLayerCaching(false);if(this.terribleQsSaver!=""){this.terribleQsSaverJustSet=true;this.updateComponent(this.terribleQsSaver)}};SOTE.widget.MapSote.prototype.handleMapZoomEnd=function(a){if(this.map.zoom==this.map.numZoomLevels-1){$(".olControlZoomInCustomItemInactive").css("background-color","rgba(38,38,38,0.3)");$(".olControlZoomInCustomItemInactive").css("color","#555555")}else{$(".olControlZoomInCustomItemInactive").css("background-color","rgba(68,68,68,0.85)");$(".olControlZoomInCustomItemInactive").css("color","#FFFFFF")}if(this.map.zoom==0){$(".olControlZoomOutCustomItemInactive").css("background-color","rgba(38,38,38,0.3)");$(".olControlZoomOutCustomItemInactive").css("color","#555555")}else{$(".olControlZoomOutCustomItemInactive").css("background-color","rgba(68,68,68,0.85)");$(".olControlZoomOutCustomItemInactive").css("color","#FFFFFF")}};SOTE.widget.MapSote.prototype.addProductToMap=function(c,b){var d=[];if(this.state=="geographic"){d=[SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands143","MODIS_Terra_SurfaceReflectance_Bands143","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands143","MODIS_Aqua_SurfaceReflectance_Bands143","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_Bands721","MODIS_Terra_CorrectedReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_CorrectedReflectance_Bands721","MODIS_Aqua_CorrectedReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands721","MODIS_Terra_SurfaceReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands721","MODIS_Aqua_SurfaceReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands121","MODIS_Terra_SurfaceReflectance_Bands121","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands121","MODIS_Aqua_SurfaceReflectance_Bands121","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Data_No_Data","MODIS_Terra_Data_No_Data","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Data_No_Data","MODIS_Aqua_Data_No_Data","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Land_Surface_Temp_Day","MODIS_Terra_Land_Surface_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Land_Surface_Temp_Day","MODIS_Aqua_Land_Surface_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Land_Surface_Temp_Night","MODIS_Terra_Land_Surface_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Land_Surface_Temp_Night","MODIS_Aqua_Land_Surface_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Aerosol","MODIS_Terra_Aerosol","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Aerosol","MODIS_Aqua_Aerosol","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Water_Vapor_5km_Day","MODIS_Terra_Water_Vapor_5km_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Water_Vapor_5km_Day","MODIS_Aqua_Water_Vapor_5km_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Water_Vapor_5km_Night","MODIS_Terra_Water_Vapor_5km_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Water_Vapor_5km_Night","MODIS_Aqua_Water_Vapor_5km_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Pressure_Day","MODIS_Terra_Cloud_Top_Pressure_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Pressure_Day","MODIS_Aqua_Cloud_Top_Pressure_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Pressure_Night","MODIS_Terra_Cloud_Top_Pressure_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Pressure_Night","MODIS_Aqua_Cloud_Top_Pressure_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Temp_Day","MODIS_Terra_Cloud_Top_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Temp_Day","MODIS_Aqua_Cloud_Top_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Temp_Night","MODIS_Terra_Cloud_Top_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Temp_Night","MODIS_Aqua_Cloud_Top_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Dust_Score","AIRS_Dust_Score","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_CO_Total_Column_Day","AIRS_CO_Total_Column_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_CO_Total_Column_Night","AIRS_CO_Total_Column_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Prata_SO2_Index_Day","AIRS_Prata_SO2_Index_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Prata_SO2_Index_Night","AIRS_Prata_SO2_Index_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Precipitation_Day","AIRS_Precipitation_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Precipitation_Night","AIRS_Precipitation_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Cloud_Pressure","OMI_Cloud_Pressure","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Aerosol_Index","OMI_Aerosol_Index","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Aerosol_Optical_Depth","OMI_Aerosol_Optical_Depth","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Absorbing_Aerosol_Optical_Depth","OMI_Absorbing_Aerosol_Optical_Depth","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Lower_Troposphere","OMI_SO2_Lower_Troposphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Middle_Troposphere","OMI_SO2_Middle_Troposphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Upper_Troposphere_and_Stratosphere","OMI_SO2_Upper_Troposphere_and_Stratosphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Planetary_Boundary_Layer","OMI_SO2_Planetary_Boundary_Layer","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OBPG_MODIS_Aqua_Chlorophyll_A","OBPG_MODIS_Aqua_Chlorophyll_A","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OBPG_SeaSurfaceTemperature_11_Day","OBPG_SeaSurfaceTemperature_11_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_All","MODIS_Fires_All","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_Terra","MODIS_Fires_Terra","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_Aqua","MODIS_Fires_Aqua","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Terra_Orbit_Asc","Terra_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Terra_Orbit_Dsc","Terra_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aqua_Orbit_Asc","Aqua_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aqua_Orbit_Dsc","Aqua_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aura_Orbit_Asc","Aura_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aura_Orbit_Dsc","Aura_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),(c=="sedac_bound")?[{displayName:"sedac_bound",wmsProductName:"sedac_bound",time:"",format:"image/png",urls:["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],tileSize:[512,512],projection:"EPSG:4326",numZoomLevels:9,maxExtent:[-180,-1350,180,90],maxResolution:0.5625,preferredOpacity:0.9,bringToFront:true,transitionEffect:"none"}]:[],(c=="MODIS_Land_Water_Mask")?[{displayName:"MODIS_Land_Water_Mask",wmsProductName:"MODIS_Land_Water_Mask",time:"",format:"image/png",urls:["http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],tileSize:[512,512],projection:"EPSG:4326",numZoomLevels:9,maxExtent:[-180,-1350,180,90],maxResolution:0.5625,preferredOpacity:0.75,bringToFront:true}]:[],(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.55}]:[],(c=="ndh-cyclone-hazard-frequency-distribution")?[{displayName:"ndh-cyclone-hazard-frequency-distribution",wmsProductName:"ndh-cyclone-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-cyclone-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-cyclone-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-cyclone-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-cyclone-mortality-risks-distribution")?[{displayName:"ndh-cyclone-mortality-risks-distribution",wmsProductName:"ndh-cyclone-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-hazard-frequency-distribution")?[{displayName:"ndh-flood-hazard-frequency-distribution",wmsProductName:"ndh-flood-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-flood-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-flood-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-mortality-risks-distribution")?[{displayName:"ndh-flood-mortality-risks-distribution",wmsProductName:"ndh-flood-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-hazard-frequency-distribution")?[{displayName:"ndh-drought-hazard-frequency-distribution",wmsProductName:"ndh-drought-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-drought-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-drought-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-mortality-risks-distribution")?[{displayName:"ndh-drought-mortality-risks-distribution",wmsProductName:"ndh-drought-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-hazard-frequency-distribution")?[{displayName:"ndh-volcano-hazard-frequency-distribution",wmsProductName:"ndh-volcano-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-volcano-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-volcano-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-mortality-risks-distribution")?[{displayName:"ndh-volcano-mortality-risks-distribution",wmsProductName:"ndh-volcano-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="cartographic:esri-administrative-boundaries_level-1")?[{displayName:"cartographic:esri-administrative-boundaries_level-1",wmsProductName:"cartographic:esri-administrative-boundaries_level-1",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:esri-administrative-boundaries_level-1",transparent:true,projection:"EPSG:4326",preferredOpacity:0.55,bringToFront:true}]:[],(c=="gpw-v3-coastlines")?[{displayName:"gpw-v3-coastlines",wmsProductName:"gpw-v3-coastlines",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"gpw-v3-coastlines",transparent:true,projection:"EPSG:4326",preferredOpacity:0.85,bringToFront:true}]:[],(c=="cartographic:00-global-labels")?[{displayName:"cartographic:00-global-labels",wmsProductName:"cartographic:00-global-labels",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:00-global-labels",transparent:true,projection:"EPSG:4326",preferredOpacity:0.95,bringToFront:true}]:[]]}else{if(this.state=="arctic"){d=[SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],projection:"EPSG:3995",preferredOpacity:0.75,bringToFront:true}]:[],(c=="polarview:graticuleN")?[{displayName:"polarview:graticuleN",wmsProductName:"polarview:graticuleN",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:graticuleN",transparent:true,projection:"EPSG:3995",preferredOpacity:0.75,bringToFront:true}]:[],(c=="cartographic:national-boundaries")?[{displayName:"cartographic:national-boundaries",wmsProductName:"cartographic:national-boundaries",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],layers:"cartographic:national-boundaries",transparent:true,projection:"EPSG:3995",preferredOpacity:0.55,bringToFront:true}]:[],(c=="polarview:coastArctic10")?[{displayName:"polarview:coastArctic10",wmsProductName:"polarview:coastArctic10",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:coastArctic10",transparent:true,projection:"EPSG:3995",preferredOpacity:0.95,bringToFront:true}]:[],(c=="cartographic:00-global-labels")?[{displayName:"cartographic:00-global-labels",wmsProductName:"cartographic:00-global-labels",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:00-global-labels",transparent:true,projection:"EPSG:3995",preferredOpacity:0.95,bringToFront:true}]:[]]}else{if(this.state=="antarctic"){d=[SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"NSIDC_Sea_Ice_Concentration","NSIDC_Sea_Ice_Concentration","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],projection:"EPSG:3031",preferredOpacity:0.75,bringToFront:true}]:[],(c=="polarview:graticule3031_10x30")?[{displayName:"polarview:graticule3031_10x30",wmsProductName:"polarview:graticule3031_10x30",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:graticule3031_10x30",transparent:true,projection:"EPSG:3031",preferredOpacity:0.75,bringToFront:true}]:[],(c=="cartographic:national-boundaries")?[{displayName:"cartographic:national-boundaries",wmsProductName:"cartographic:national-boundaries",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],layers:"cartographic:national-boundaries",transparent:true,projection:"EPSG:3031",preferredOpacity:0.55,bringToFront:true}]:[],(c=="polarview:coastS10")?[{displayName:"polarview:coastS10",wmsProductName:"polarview:coastS10",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:coastS10",transparent:true,projection:"EPSG:3031",preferredOpacity:0.85,bringToFront:true}]:[],(c=="lat_long_grid")?[{displayName:"lat_long_grid",wmsProductName:"lat_long_grid",time:"",urls:["http://nsidc.org/cgi-bin/atlas_south?"],layers:"lat_long_grid",transparent:true,projection:"EPSG:3031",preferredOpacity:0.85,bringToFront:true}]:[],(c=="coastlines")?[{displayName:"coastlines",wmsProductName:"coastlines",time:"",urls:["http://nsidc.org/cgi-bin/atlas_south?"],layers:"coastlines",transparent:true,projection:"EPSG:3031",preferredOpacity:0.95,bringToFront:true}]:[]]}}}for(var a=0;a<d.length;a++){if(d[a].length>0){this.addLayers(d[a])}}};SOTE.widget.MapSote.prototype.manageLoadedLayers=function(n){var b=(SOTE.util.extractFromQuery("switch",n))?SOTE.util.extractFromQuery("switch",n):"geographic";if(b!=this.state){this.state=b;if(this.state=="geographic"){this.projection="EPSG:4326"}else{if(this.state=="antarctic"){this.projection="EPSG:3031"}else{if(this.state=="arctic"){this.projection="EPSG:3995"}}}this.init();this.initMapSote()}var c=false;var g=(SOTE.util.extractFromQuery("products",n));if(g!=this.terribleProductListSaver){c=true;this.terribleProductListSaver=g}if(c){var f=[];var d=g.split("~");var m=d[0];var h=d[1];if(m.split(".").length>1){f.push((m.split("."))[1])}var a=h?h.split(".").length-1:0;if(a>0){for(var l=0;l<a;l++){f.push((h.split("."))[l+1])}}if(typeof String.prototype.startsWith!="function"){String.prototype.startsWith=function(i){return this.slice(0,i.length)==i}}var e=[];for(var l=0;l<f.length;l++){var o=false;for(var k=0;k<this.map.layers.length;k++){if(this.map.layers[k].name.startsWith(f[l])){o=true;break}}if(!o){e.push(f[l])}}for(var l=0;l<e.length;l++){this.addProductToMap(e[l],b)}}};SOTE.widget.MapSote.prototype.updateComponent=function(h){var g=(SOTE.util.extractFromQuery("switch",h))?SOTE.util.extractFromQuery("switch",h):"geographic";this.manageLoadedLayers(h);var b=(h===undefined)?"":h;if(b==""){return}if(!this.terribleQsSaverJustSet){this.setLayerCaching(true)}else{this.terribleQsSaverJustSet=false}var o=SOTE.util.extractFromQuery("products",b);var v=SOTE.util.extractFromQuery("transition",b);var z=SOTE.util.extractFromQuery("time",b);var A=new Array();if(o!=""){var D=o.split("~");var k=D[0].split(".");var F=D[1].split(".");for(var y=1;y<k.length;++y){A.push(k[y])}for(var y=1;y<F.length;++y){A.push(F[y])}}if((A==null)||(A.length<1)){return}var d=null;if(z!=""){d=z.split(/T/)}if((d==null)||(d.length!=2)){alert("Invalid or no time provided in querystring to soteMap class; needs to be of the format YYYY-MM-DDTHH:MM:SS");return}var e=d[0];var f=d[1];var q=e.split("-")[0];var C=e.split("-")[1];var x=e.split("-")[2];var l=f.split(":")[0];var s=f.split(":")[1];var B=f.split(":")[2];var p=new String(e);var t=Date.parse(p).add(1).days();var n=new String(t.getFullYear()+"-"+SOTE.util.zeroPad(t.getMonth()+1,2)+"-"+SOTE.util.zeroPad(t.getDate(),2));var r=l/24+s/1440+B/86400;this.terribleQsSaver=b;if(v=="standard"){var c=null;c=new String(p);var m=this.getAllLayers();var u=m.length;for(var y=0;y<u;y++){var E=false;for(var w=0;w<A.length;w++){if((m[y].name==new String(A[w]+"__"+c))||(m[y].name==new String(A[w]))){m[y].setVisibility(true);if(w==0){this.map.setLayerZIndex(m[y],0);m[y].setOpacity(1)}else{if(this.checkWmsParam(m[y].metadata.bringToFront)&&m[y].metadata.bringToFront){this.map.setLayerZIndex(m[y],u-1)}if(this.checkWmsParam(m[y].metadata.preferredOpacity)){m[y].setOpacity(m[y].metadata.preferredOpacity)}else{m[y].setOpacity(this.DEFAULT_OVERLAY_OPACITY)}if(A.length>2){this.map.setLayerZIndex(m[y],u-w)}}E=true}}if(!E){if(!this.isLayerCachingEnabled){m[y].setVisibility(false)}m[y].setOpacity(0)}}}else{if(v=="crossfade"){alert("crossfade transition not yet supported");return}}};
\ No newline at end of file
+SOTE.namespace("SOTE.widget.MapSote");SOTE.widget.MapSote=function(a,b){SOTE.widget.Map.call(this,a,b);this.isLayerCachingEnabled=false;this.terribleQsSaver="";this.terribleQsSaverJustSet=false;this.terribleProductListSaver="";this.state="geographic";this.setExtent(this.bbox);this.initMapSote()};SOTE.widget.MapSote.prototype=new SOTE.widget.Map;SOTE.widget.MapSote.prototype.initMapSote=function(){this.isLayerCachingEnabled=false;this.terribleQsSaver="";this.terribleQsSaverJustSet=false;this.terribleProductListSaver="";this.map.events.register("movestart",this,this.handleMapMoveStart);this.map.events.register("zoomend",this,this.handleMapZoomEnd);this.handleMapZoomEnd(null);if(this.projection=="EPSG:4326"){var b=new Date().getUTCHours();if(b<9){b=0}var a=20.6015625+b*(-200.53125/23);var d=a+159.328125;var c=a.toString()+",-46.546875,"+d.toString()+",53.015625";this.setExtent(c,true);this.fire()}else{this.setExtent("-4194304,-4194304,4194304,4194304",true);this.fire()}};SOTE.widget.MapSote.prototype.setLayerCaching=function(a){this.isLayerCachingEnabled=a};SOTE.widget.MapSote.prototype.handleMapMoveStart=function(a){this.setLayerCaching(false);if(this.terribleQsSaver!=""){this.terribleQsSaverJustSet=true;this.updateComponent(this.terribleQsSaver)}};SOTE.widget.MapSote.prototype.handleMapZoomEnd=function(a){if(this.map.zoom==this.map.numZoomLevels-1){$(".olControlZoomInCustomItemInactive").css("background-color","rgba(38,38,38,0.3)");$(".olControlZoomInCustomItemInactive").css("color","#555555")}else{$(".olControlZoomInCustomItemInactive").css("background-color","rgba(45,45,45,0.75)");$(".olControlZoomInCustomItemInactive").css("color","#FFFFFF")}if(this.map.zoom==0){$(".olControlZoomOutCustomItemInactive").css("background-color","rgba(38,38,38,0.3)");$(".olControlZoomOutCustomItemInactive").css("color","#555555")}else{$(".olControlZoomOutCustomItemInactive").css("background-color","rgba(45,45,45,0.75)");$(".olControlZoomOutCustomItemInactive").css("color","#FFFFFF")}};SOTE.widget.MapSote.prototype.addProductToMap=function(c,b){var d=[];if(this.state=="geographic"){d=[SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands143","MODIS_Terra_SurfaceReflectance_Bands143","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands143","MODIS_Aqua_SurfaceReflectance_Bands143","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_Bands721","MODIS_Terra_CorrectedReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_CorrectedReflectance_Bands721","MODIS_Aqua_CorrectedReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands721","MODIS_Terra_SurfaceReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands721","MODIS_Aqua_SurfaceReflectance_Bands721","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_SurfaceReflectance_Bands121","MODIS_Terra_SurfaceReflectance_Bands121","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_SurfaceReflectance_Bands121","MODIS_Aqua_SurfaceReflectance_Bands121","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Data_No_Data","MODIS_Terra_Data_No_Data","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Data_No_Data","MODIS_Aqua_Data_No_Data","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_250m,this.TILEMATRIXSET_GEO_250m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_500m,this.TILEMATRIXSET_GEO_500m),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Land_Surface_Temp_Day","MODIS_Terra_Land_Surface_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Land_Surface_Temp_Day","MODIS_Aqua_Land_Surface_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Land_Surface_Temp_Night","MODIS_Terra_Land_Surface_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Land_Surface_Temp_Night","MODIS_Aqua_Land_Surface_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Aerosol","MODIS_Terra_Aerosol","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Aerosol","MODIS_Aqua_Aerosol","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Water_Vapor_5km_Day","MODIS_Terra_Water_Vapor_5km_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Water_Vapor_5km_Day","MODIS_Aqua_Water_Vapor_5km_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Water_Vapor_5km_Night","MODIS_Terra_Water_Vapor_5km_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Water_Vapor_5km_Night","MODIS_Aqua_Water_Vapor_5km_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Pressure_Day","MODIS_Terra_Cloud_Top_Pressure_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Pressure_Day","MODIS_Aqua_Cloud_Top_Pressure_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Pressure_Night","MODIS_Terra_Cloud_Top_Pressure_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Pressure_Night","MODIS_Aqua_Cloud_Top_Pressure_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Temp_Day","MODIS_Terra_Cloud_Top_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Temp_Day","MODIS_Aqua_Cloud_Top_Temp_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Terra_Cloud_Top_Temp_Night","MODIS_Terra_Cloud_Top_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"MODIS_Aqua_Cloud_Top_Temp_Night","MODIS_Aqua_Cloud_Top_Temp_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Dust_Score","AIRS_Dust_Score","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_CO_Total_Column_Day","AIRS_CO_Total_Column_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_CO_Total_Column_Night","AIRS_CO_Total_Column_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Prata_SO2_Index_Day","AIRS_Prata_SO2_Index_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Prata_SO2_Index_Night","AIRS_Prata_SO2_Index_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Precipitation_Day","AIRS_Precipitation_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"AIRS_Precipitation_Night","AIRS_Precipitation_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Cloud_Pressure","OMI_Cloud_Pressure","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Aerosol_Index","OMI_Aerosol_Index","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Aerosol_Optical_Depth","OMI_Aerosol_Optical_Depth","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_Absorbing_Aerosol_Optical_Depth","OMI_Absorbing_Aerosol_Optical_Depth","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Lower_Troposphere","OMI_SO2_Lower_Troposphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Middle_Troposphere","OMI_SO2_Middle_Troposphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Upper_Troposphere_and_Stratosphere","OMI_SO2_Upper_Troposphere_and_Stratosphere","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OMI_SO2_Planetary_Boundary_Layer","OMI_SO2_Planetary_Boundary_Layer","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_2km,this.TILEMATRIXSET_GEO_2km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OBPG_MODIS_Aqua_Chlorophyll_A","OBPG_MODIS_Aqua_Chlorophyll_A","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateProductLayersForDateRangeTMS(c,"OBPG_SeaSurfaceTemperature_11_Day","OBPG_SeaSurfaceTemperature_11_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],[512,512],"EPSG:4326",9,[-180,-1350,180,90],0.5625,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_GEO_ALL,this.RESOLUTIONS_ON_SERVER_GEO_1km,this.TILEMATRIXSET_GEO_1km),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_All","MODIS_Fires_All","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_Terra","MODIS_Fires_Terra","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"MODIS_Fires_Aqua","MODIS_Fires_Aqua","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Terra_Orbit_Asc","Terra_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Terra_Orbit_Dsc","Terra_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aqua_Orbit_Asc","Aqua_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aqua_Orbit_Dsc","Aqua_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aura_Orbit_Asc","Aura_Orbit_Asc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),SOTE.util.generateWmsProductLayersForDateRange(c,"Aura_Orbit_Dsc","Aura_Orbit_Dsc","image/png",["http://map2a.vis.earthdata.nasa.gov/wms/wms.php","http://map2b.vis.earthdata.nasa.gov/wms/wms.php","http://map2c.vis.earthdata.nasa.gov/wms/wms.php"],"EPSG:4326",1,true,this.NUM_DAYS_TO_GENERATE),(c=="sedac_bound")?[{displayName:"sedac_bound",wmsProductName:"sedac_bound",time:"",format:"image/png",urls:["http://map1a.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1b.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi","http://map1c.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],tileSize:[512,512],projection:"EPSG:4326",numZoomLevels:9,maxExtent:[-180,-1350,180,90],maxResolution:0.5625,preferredOpacity:0.9,bringToFront:true,transitionEffect:"none"}]:[],(c=="MODIS_Land_Water_Mask")?[{displayName:"MODIS_Land_Water_Mask",wmsProductName:"MODIS_Land_Water_Mask",time:"",format:"image/png",urls:["http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],tileSize:[512,512],projection:"EPSG:4326",numZoomLevels:9,maxExtent:[-180,-1350,180,90],maxResolution:0.5625,preferredOpacity:0.75,bringToFront:true}]:[],(c=="VIIRS_CityLights_2012")?[{displayName:"VIIRS_CityLights_2012",wmsProductName:"VIIRS_CityLights_2012",time:"",format:"image/jpeg",urls:["http://map1.vis.earthdata.nasa.gov/wmts-geo/wmts.cgi"],tileSize:[512,512],projection:"EPSG:4326",numZoomLevels:9,maxExtent:[-180,-1350,180,90],maxResolution:0.5625,resolutions:this.RESOLUTIONS_ON_SCREEN_GEO_ALL,serverResolutions:this.RESOLUTIONS_ON_SERVER_GEO_500m,tileMatrixSet:this.TILEMATRIXSET_GEO_500m,preferredOpacity:1,bringToFront:true}]:[],(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.55}]:[],(c=="ndh-cyclone-hazard-frequency-distribution")?[{displayName:"ndh-cyclone-hazard-frequency-distribution",wmsProductName:"ndh-cyclone-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-cyclone-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-cyclone-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-cyclone-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-cyclone-mortality-risks-distribution")?[{displayName:"ndh-cyclone-mortality-risks-distribution",wmsProductName:"ndh-cyclone-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-hazard-frequency-distribution")?[{displayName:"ndh-flood-hazard-frequency-distribution",wmsProductName:"ndh-flood-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-flood-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-flood-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-flood-mortality-risks-distribution")?[{displayName:"ndh-flood-mortality-risks-distribution",wmsProductName:"ndh-flood-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-hazard-frequency-distribution")?[{displayName:"ndh-drought-hazard-frequency-distribution",wmsProductName:"ndh-drought-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-drought-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-drought-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-drought-mortality-risks-distribution")?[{displayName:"ndh-drought-mortality-risks-distribution",wmsProductName:"ndh-drought-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-hazard-frequency-distribution")?[{displayName:"ndh-volcano-hazard-frequency-distribution",wmsProductName:"ndh-volcano-hazard-frequency-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-proportional-economic-loss-risk-deciles")?[{displayName:"ndh-volcano-proportional-economic-loss-risk-deciles",wmsProductName:"ndh-volcano-proportional-economic-loss-risk-deciles",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="ndh-volcano-mortality-risks-distribution")?[{displayName:"ndh-volcano-mortality-risks-distribution",wmsProductName:"ndh-volcano-mortality-risks-distribution",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],projection:"EPSG:4326",preferredOpacity:0.75}]:[],(c=="cartographic:esri-administrative-boundaries_level-1")?[{displayName:"cartographic:esri-administrative-boundaries_level-1",wmsProductName:"cartographic:esri-administrative-boundaries_level-1",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:esri-administrative-boundaries_level-1",transparent:true,projection:"EPSG:4326",preferredOpacity:0.55,bringToFront:true}]:[],(c=="gpw-v3-coastlines")?[{displayName:"gpw-v3-coastlines",wmsProductName:"gpw-v3-coastlines",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"gpw-v3-coastlines",transparent:true,projection:"EPSG:4326",preferredOpacity:0.85,bringToFront:true}]:[],(c=="cartographic:00-global-labels")?[{displayName:"cartographic:00-global-labels",wmsProductName:"cartographic:00-global-labels",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:00-global-labels",transparent:true,projection:"EPSG:4326",preferredOpacity:0.95,bringToFront:true}]:[]]}else{if(this.state=="arctic"){d=[SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],[512,512],"EPSG:3995",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],projection:"EPSG:3995",preferredOpacity:0.75,bringToFront:true}]:[],(c=="polarview:graticuleN")?[{displayName:"polarview:graticuleN",wmsProductName:"polarview:graticuleN",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:graticuleN",transparent:true,projection:"EPSG:3995",preferredOpacity:0.75,bringToFront:true}]:[],(c=="cartographic:national-boundaries")?[{displayName:"cartographic:national-boundaries",wmsProductName:"cartographic:national-boundaries",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],layers:"cartographic:national-boundaries",transparent:true,projection:"EPSG:3995",preferredOpacity:0.55,bringToFront:true}]:[],(c=="arctic_coastlines")?[{displayName:"arctic_coastlines",wmsProductName:"arctic_coastlines",time:"",format:"image/png",urls:["http://map1a.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/arctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/arctic/wms.cgi"],tileSize:[512,512],projection:"EPSG:3995",numZoomLevels:6,maxExtent:[-4194304,-4194304,4194304,4194304],maxResolution:8192,preferredOpacity:1,bringToFront:true,transitionEffect:"none"}]:[],(c=="cartographic:00-global-labels")?[{displayName:"cartographic:00-global-labels",wmsProductName:"cartographic:00-global-labels",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],layers:"cartographic:00-global-labels",transparent:true,projection:"EPSG:3995",preferredOpacity:0.95,bringToFront:true}]:[]]}else{if(this.state=="antarctic"){d=[SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_TrueColor","MODIS_Terra_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_CorrectedReflectance_TrueColor","MODIS_Aqua_CorrectedReflectance_TrueColor","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_CorrectedReflectance_Bands367","MODIS_Terra_CorrectedReflectance_Bands367","image/jpeg",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_250m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Day","MODIS_Terra_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Brightness_Temp_Band31_Night","MODIS_Terra_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Day","MODIS_Aqua_Brightness_Temp_Band31_Day","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Brightness_Temp_Band31_Night","MODIS_Aqua_Brightness_Temp_Band31_Night","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Snow_Cover","MODIS_Terra_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Snow_Cover","MODIS_Aqua_Snow_Cover","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_500m),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Terra_Sea_Ice","MODIS_Terra_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"MODIS_Aqua_Sea_Ice","MODIS_Aqua_Sea_Ice","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),SOTE.util.generateProductLayersForDateRange(c,"NSIDC_Sea_Ice_Concentration","NSIDC_Sea_Ice_Concentration","image/png",["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],[512,512],"EPSG:3031",6,[-4194304,-4194304,4194304,4194304],8192,1,this.NUM_DAYS_TO_GENERATE,this.RESOLUTIONS_ON_SCREEN_POLAR_ALL,this.RESOLUTIONS_ON_SERVER_POLAR_1km),(c=="grump-v1-population-count_2000")?[{displayName:"grump-v1-population-count_2000",wmsProductName:"grump-v1-population-count_2000",time:"",format:"image/png",urls:["http://sedac.ciesin.columbia.edu/geoserver/wms?"],projection:"EPSG:3031",preferredOpacity:0.75,bringToFront:true}]:[],(c=="polarview:graticule3031_10x30")?[{displayName:"polarview:graticule3031_10x30",wmsProductName:"polarview:graticule3031_10x30",time:"",urls:["http://geos.polarview.aq/geoserver/wms?"],layers:"polarview:graticule3031_10x30",transparent:true,projection:"EPSG:3031",preferredOpacity:0.75,bringToFront:true}]:[],(c=="cartographic:national-boundaries")?[{displayName:"cartographic:national-boundaries",wmsProductName:"cartographic:national-boundaries",time:"",urls:["http://sedac.ciesin.columbia.edu/geoserver/ows"],layers:"cartographic:national-boundaries",transparent:true,projection:"EPSG:3031",preferredOpacity:0.55,bringToFront:true}]:[],(c=="antarctic_coastlines")?[{displayName:"antarctic_coastlines",wmsProductName:"antarctic_coastlines",time:"",format:"image/png",urls:["http://map1a.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1b.vis.earthdata.nasa.gov/antarctic/wms.cgi","http://map1c.vis.earthdata.nasa.gov/antarctic/wms.cgi"],tileSize:[512,512],projection:"EPSG:3031",numZoomLevels:6,maxExtent:[-4194304,-4194304,4194304,4194304],maxResolution:8192,preferredOpacity:1,bringToFront:true,transitionEffect:"none"}]:[],(c=="lat_long_grid")?[{displayName:"lat_long_grid",wmsProductName:"lat_long_grid",time:"",urls:["http://nsidc.org/cgi-bin/atlas_south?"],layers:"lat_long_grid",transparent:true,projection:"EPSG:3031",preferredOpacity:0.85,bringToFront:true}]:[],(c=="coastlines")?[{displayName:"coastlines",wmsProductName:"coastlines",time:"",urls:["http://nsidc.org/cgi-bin/atlas_south?"],layers:"coastlines",transparent:true,projection:"EPSG:3031",preferredOpacity:0.95,bringToFront:true}]:[]]}}}for(var a=0;a<d.length;a++){if(d[a].length>0){this.addLayers(d[a])}}};SOTE.widget.MapSote.prototype.manageLoadedLayers=function(n){var b=(SOTE.util.extractFromQuery("switch",n))?SOTE.util.extractFromQuery("switch",n):"geographic";if(b!=this.state){this.state=b;if(this.state=="geographic"){this.projection="EPSG:4326"}else{if(this.state=="antarctic"){this.projection="EPSG:3031"}else{if(this.state=="arctic"){this.projection="EPSG:3995"}}}this.init();this.initMapSote()}var c=false;var g=(SOTE.util.extractFromQuery("products",n));if(g!=this.terribleProductListSaver){c=true;this.terribleProductListSaver=g}if(c){var f=[];var d=g.split("~");var m=d[0];var h=d[1];if(m.split(".").length>1){f.push((m.split("."))[1])}var a=h?h.split(".").length-1:0;if(a>0){for(var l=0;l<a;l++){f.push((h.split("."))[l+1])}}if(typeof String.prototype.startsWith!="function"){String.prototype.startsWith=function(i){return this.slice(0,i.length)==i}}var e=[];for(var l=0;l<f.length;l++){var o=false;for(var k=0;k<this.map.layers.length;k++){if(this.map.layers[k].name.startsWith(f[l])){o=true;break}}if(!o){e.push(f[l])}}for(var l=0;l<e.length;l++){this.addProductToMap(e[l],b)}}};SOTE.widget.MapSote.prototype.updateComponent=function(h){var g=(SOTE.util.extractFromQuery("switch",h))?SOTE.util.extractFromQuery("switch",h):"geographic";this.manageLoadedLayers(h);var b=(h===undefined)?"":h;if(b==""){return}if(!this.terribleQsSaverJustSet){this.setLayerCaching(true)}else{this.terribleQsSaverJustSet=false}var o=SOTE.util.extractFromQuery("products",b);var v=SOTE.util.extractFromQuery("transition",b);var z=SOTE.util.extractFromQuery("time",b);var A=new Array();if(o!=""){var D=o.split("~");var k=D[0].split(".");var F=D[1].split(".");for(var y=1;y<k.length;++y){A.push(k[y])}for(var y=1;y<F.length;++y){A.push(F[y])}}if((A==null)||(A.length<1)){return}var d=null;if(z!=""){d=z.split(/T/)}if((d==null)||(d.length!=2)){alert("Invalid or no time provided in querystring to soteMap class; needs to be of the format YYYY-MM-DDTHH:MM:SS");return}var e=d[0];var f=d[1];var q=e.split("-")[0];var C=e.split("-")[1];var x=e.split("-")[2];var l=f.split(":")[0];var s=f.split(":")[1];var B=f.split(":")[2];var p=new String(e);var t=Date.parse(p).add(1).days();var n=new String(t.getFullYear()+"-"+SOTE.util.zeroPad(t.getMonth()+1,2)+"-"+SOTE.util.zeroPad(t.getDate(),2));var r=l/24+s/1440+B/86400;this.terribleQsSaver=b;if(v=="standard"){var c=null;c=new String(p);var m=this.getAllLayers();var u=m.length;for(var y=0;y<u;y++){var E=false;for(var w=0;w<A.length;w++){if((m[y].name==new String(A[w]+"__"+c))||(m[y].name==new String(A[w]))){m[y].setVisibility(true);if(w==0){this.map.setLayerZIndex(m[y],0);m[y].setOpacity(1)}else{if(this.checkWmsParam(m[y].metadata.bringToFront)&&m[y].metadata.bringToFront){this.map.setLayerZIndex(m[y],u-1)}if(this.checkWmsParam(m[y].metadata.preferredOpacity)){m[y].setOpacity(m[y].metadata.preferredOpacity)}else{m[y].setOpacity(this.DEFAULT_OVERLAY_OPACITY)}if(A.length>2){this.map.setLayerZIndex(m[y],u-w)}}E=true}}if(!E){if(!this.isLayerCachingEnabled){m[y].setVisibility(false)}m[y].setOpacity(0)}}}else{if(v=="crossfade"){alert("crossfade transition not yet supported");return}}};
\ No newline at end of file
diff --git a/js/mapSote.js b/js/mapSote.js
index c560a02b1..2bfe13331 100644
--- a/js/mapSote.js
+++ b/js/mapSote.js
@@ -139,7 +139,7 @@ SOTE.widget.MapSote.prototype.handleMapZoomEnd = function(evt)
}
else
{
- $('.olControlZoomInCustomItemInactive').css("background-color", "rgba(68,68,68,0.85)");
+ $('.olControlZoomInCustomItemInactive').css("background-color", "rgba(45,45,45,0.75)");
$('.olControlZoomInCustomItemInactive').css("color", "#FFFFFF");
}
@@ -151,7 +151,7 @@ SOTE.widget.MapSote.prototype.handleMapZoomEnd = function(evt)
}
else
{
- $('.olControlZoomOutCustomItemInactive').css("background-color", "rgba(68,68,68,0.85)");
+ $('.olControlZoomOutCustomItemInactive').css("background-color", "rgba(45,45,45,0.75)");
$('.olControlZoomOutCustomItemInactive').css("color", "#FFFFFF");
}
diff --git a/js/rubberBand.js b/js/rubberBand.js
index 752179261..d1c6d3caa 100644
--- a/js/rubberBand.js
+++ b/js/rubberBand.js
@@ -25,8 +25,12 @@ SOTE.widget.RubberBand = function (containerId, config){
if(config===undefined) {
config={};
}
+ this.icon = config.icon;
+ this.onicon = config.onicon;
+ this.cropee = config.cropee;
this.projectionSwitch="geographic";
this.id = containerId;
+ this.state = "off";
this.jcropAPI = null;
//this.windowURL = "";
@@ -44,6 +48,10 @@ SOTE.widget.RubberBand.prototype = new SOTE.widget.Component;
*/
SOTE.widget.RubberBand.prototype.init = function(){
this.container.setAttribute("class","rubberband");
+
+ this.container.innerHTML = "<a id='"+this.id+"camera_link' class='toolbaricon'><img src='"+this.icon+"' /></a>";
+ $('#'+this.id+"camera_link").bind('click',{self:this},SOTE.widget.RubberBand.toggle);
+
if(REGISTRY){
REGISTRY.register(this.id,this);
REGISTRY.markComponentReady(this.id);
@@ -53,6 +61,22 @@ SOTE.widget.RubberBand.prototype.init = function(){
}
};
+SOTE.widget.RubberBand.toggle = function(o){
+ var self = o.data.self;
+ if(self.state == "off"){
+ self.state = "on";
+ $("#"+self.id+"camera_link img").attr("src",self.onicon);
+ $("#imagedownload").show('slide', {direction: 'up'}, 1000);
+ self.draw();
+ }
+ else{
+ self.state = "off";
+ $("#"+self.id+"camera_link img").attr("src",self.icon);
+ self.jcropAPI.destroy();
+ $("#imagedownload").hide('slide', {direction: 'up'}, 1000);
+ }
+}
+
/**
* Sets the values for the rubberband (x1, y1, x2, y2, width, height) from the passed "coordinates" object of JCrop *
* @this {RBand}
@@ -72,8 +96,13 @@ SOTE.widget.RubberBand.prototype.setValue = function(c) {
*
*/
SOTE.widget.RubberBand.prototype.getValue = function() {
- var returnVal = this.id + "=" + this.coords.x+","+this.coords.y+","+this.coords.x2+","+this.coords.y2+","+this.coords.w+","+this.coords.h;
- return returnVal;
+ if(this.coords){
+ var returnVal = this.id + "=" + this.coords.x+","+this.coords.y+","+this.coords.x2+","+this.coords.y2+","+this.coords.w+","+this.coords.h;
+ return returnVal;
+ }
+ else {
+ return;
+ }
};
/**
@@ -161,53 +190,28 @@ SOTE.widget.RubberBand.prototype.getStatus = function(){
*
*
*/
-SOTE.widget.RubberBand.prototype.draw = function(mapId) {
+SOTE.widget.RubberBand.prototype.draw = function() {
- if(this.projectionSwitch !="geographic"){
- alert("The download feature is currently available for geograpic projection only.");
- return -1;
- }
-
-
-
- var self=this;
+ if(this.projectionSwitch !="geographic"){
+ alert("The download feature is currently available for geograpic projection only.");
+ return -1;
+ }
- jQuery(function($){
- if(document.getElementById('imagedownload').style.display != "block") {
- $("#cameraIcon").css('border', "solid 2px red");
- //$("#imagedownload").show("slow");
- $("#imagedownload").show('slide', {direction: 'right'}, 1000);
- $("#rbImageHolder").css("z-index", 1000);
- $("#rbImageHolder").css("width", "100%");
- $("#rbImageHolder").css("height", "100%");
- $("#rbImageHolder").show();
- // $("#rbImage").show();
- //document.getElementById('rbImage').style.display='block';
-
- $("#rbImage").Jcrop({
+ var self = this;
+
+ $("#"+this.cropee).Jcrop({
bgColor: 'black',
- bgOpacity: 0.0,
+ bgOpacity: 0.3,
onSelect: function(c){SOTE.widget.RubberBand.handleChange(c, self);},
- onChange: function(c){SOTE.widget.RubberBand.handleChange(c, self);}
- },function(){
- self.jcropAPI = this;
- });
- //self.jcropAPI.setOptions({ bgOpacity: 0.0 });
- self.jcropAPI.setSelect([($(window).width()/2)-100,($(window).height()/2)-100,($(window).width()/2)+100,($(window).height()/2)+100]);
- // self.jcropAPI.enable();
- }
- else {
-
- //self.jcropAPI.release();
- //self.jcropAPI.disable();
- $("#cameraIcon").css('border','none');
- $("#rbImageHolder").css("z-index", -10);
- $("#imagedownload").hide('slide', {direction: 'right'}, 1000);
- $('#rbImageHolder').hide();
- // $('#rbImage').hide();
-
- }
- });
+ onChange: function(c){SOTE.widget.RubberBand.handleChange(c, self);},
+ fullScreen: true
+ });
+
+ this.jcropAPI = $('#'+this.cropee).data('Jcrop');
+
+ this.jcropAPI.setSelect([($(window).width()/2)-100,($(window).height()/2)-100,($(window).width()/2)+100,($(window).height()/2)+100]);
+
+
};
diff --git a/js/sote-min.js b/js/sote-min.js
index 71837b391..6a0bd5ac1 100644
--- a/js/sote-min.js
+++ b/js/sote-min.js
@@ -1 +1 @@
-window.onload=function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var h=new YAHOO.widget.Panel("iewarning",{zIndex:1020,visible:false,underlay:"matte"});var g="<div><h4>Internet Explorer is not currently supported</h4><br /><p>Worldview uses a set of browser technologies that are not currently supported by Internet Explorer. We are awaiting the release of IE version 10 and are hopeful that it will load Worldview properly. In the meantime, please try loading this page in Mozilla Firefox, Google Chrome, Apple Safari, or a tablet device. <br /><br />Thanks for your patience.</p><br /><p>-The Worldview development team";h.setBody(g);h.render(document.body);h.show();h.center()}this.selector=new YAHOO.widget.Panel("selector",{zIndex:1019,visible:false});this.selector.setBody("<div id='selectorbox'></div>");this.selector.render(document.body);var b=new SOTE.widget.MapSote("map",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor"});var d=new SOTE.widget.Switch("switch",{dataSourceUrl:"a",selected:"geographic"});var c=new SOTE.widget.Bank("products",{dataSourceUrl:"ap_products.php",title:"My Layers",selected:{antarctic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.polarview:coastS10",arctic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.polarview:coastArctic10",geographic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.sedac_bound"},categories:["Base Layers","Overlays"],callback:this.showSelector,selector:this.selector});var e=new SOTE.widget.Selector("selectorbox",{dataSourceUrl:"ap_products.php",categories:["Base Layers","Overlays"]});var f=new SOTE.widget.DateSpan("time",{hasThumbnail:false})};function showSelector(b){var a=b.data.selector;a.show();a.center()}function showOverlay(){if(this.overlay===undefined){this.overlay=new YAHOO.widget.Panel("panel1",{zIndex:1020,visible:false});var a="<div ><h3>Welcome to Worldview</h3><p>This new tool from NASA's <a href='http://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a> provides the capability to interactively browse full-resolution, global, near real-time satellite imagery from 50+ data products from <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a>. In essence, this shows the entire Earth as it looks \"right now\" - or at least as it has looked within the past few hours. This supports time-critical application areas such as wildfire management, air quality measurements, and weather forecasting. The data is generally available within three hours of observation and can be compared to observations from the past week - just drag the orange time slider at the bottom of the screen to change the currently-displayed date. Arctic and Antarctic projections of several products are also available for a \"full globe\" perspective. Browsing on tablet devices is currently supported (iPad 2+ recommended) for mobile access to this spacecraft imagery while in the field or on the couch. Please note, however, that this is an alpha (preview) release and many features are still under development.</p><br /><p>Worldview uses the newly-developed <a href='http://earthdata.nasa.gov/gibs' target='_blank'>Global Image Browse Services (GIBS)</a> to rapidly retrieve its full-resolution imagery to provide an interactive browsing experience. While Worldview uses <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as its mapping library, GIBS also supports Google Earth, NASA World Wind, and several other clients. We encourage interested developers to build their own clients or integrate NASA imagery into their existing ones using these services.</p><h3>Acknowledgements</h3><p>Near-real time data is courtesy of LANCE data providers: <a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a>, <a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a>, <a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a>, and <a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a>. Socioeconomic data supplied by <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>. Credit for development of the data ingest and serving system belongs to the Tiled WMS development team at NASA/JPL's Physical Oceanography Distributed Active Archive Center (<a href='http://podaac.jpl.nasa.gov/' target='_blank'>PO.DAAC</a>). Special thanks to the NASA/GSFC <a href='http://svs.gsfc.nasa.gov/' target='_blank'>Scientific Visualization Studio</a>, Steve Romalewski and Dave Burgoon/<a href='http://www.urbanresearch.org/' target='_blank'>CUNY CUR</a>, Bruce Campbell/<a href='http://www.risd.edu/' target='_blank'>RISD</a>, and Ben Fry/<a href='http://www.fathom.info/' target='_blank'>Fathom Information Design</a> for their invaluable feedback, much of which is still to be implemented. Additional thanks to Katie Lewis, NASA/GSFC, for graphic design and nomenclature support.</p><h3>Disclaimer</h3><p>The LANCE system is operated by the NASA/GSFC Earth Science Data Information System (ESDIS). The information presented through the LANCE Rapid Response system and the LANCE FIRMS are provided “as is” and users bear all responsibility and liability for their use of data, and for any loss of business or profits, or for any indirect, incidental or consequential damages arising out of any use of, or inability to use, the data, even if NASA or ESDIS were previously advised of the possibility of such damages, or for any other claim by you or any other person. Please read the full disclaimer <a href='http://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>here</a>.</p><h3>Support</h3><p>Comments/suggestions/problem reports are welcome via <a href='mailto:[email protected]?subject=Feedback%20for%20EOSDIS%20Worldview%20tool'>[email protected]</a>. Please note that Internet Explorer is not currently supported and we are working to determine if and when it can be.</p><br /><p>Version: 0.2.0 (<a href='release_notes.txt' target='_blank'>release notes</a>)<br />Front-End Lead/Architect: <a href='mailto:[email protected]'>Tilak Joshi</a><br />Responsible NASA Official: <a href='mailto:[email protected]'>Ryan Boller</a><br /></p></div>";this.overlay.setBody(a);this.overlay.render(document.body)}this.overlay.show();this.overlay.center()}function showPermalink(){if(this.permOverlay===undefined){this.permOverlay=new YAHOO.widget.Panel("panel_perm",{width:"300px",zIndex:1020,visible:false});var j="<div id='permpanel' ><!-- <h3>Permalink:</h3> --><span style='font-weight:400; font-size:12px; line-spacing:24px; '>Copy and paste the following link to share this view:</span><input type='text' value='' name='permalink_content' id='permalink_content' /><p><br /><i>Note: Worldview contains only the most recent 7 days of data, this link will expire after the currently selected time is older than 7 days.</i></p></div>";this.permOverlay.setHeader("&nbsp;&nbsp;&nbsp;&nbsp;Permalink");this.permOverlay.setBody(j);this.permOverlay.render(document.body)}var g="?";var c=REGISTRY.getComponents();for(var e=0;e<c.length;e++){if(typeof c[e].obj.getValue=="function"){g+=c[e].obj.getValue()+"&"}}var b=SOTE.util.extractFromQuery("map",g);var h=SOTE.util.extractFromQuery("products",g);var d=SOTE.util.extractFromQuery("time",g);var k=SOTE.util.extractFromQuery("switch",g);g="?map="+b+"&products="+h+"&time="+d+"&switch="+k;var a=window.location.href;var f=a.split("?")[0];f=(f!==null&&f!==undefined)?f:a;$("#permalink_content").val(f+g);this.permOverlay.show();this.permOverlay.center();document.getElementById("permalink_content").focus();document.getElementById("permalink_content").select()};
\ No newline at end of file
+var rb;window.onload=function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var f=new YAHOO.widget.Panel("iewarning",{zIndex:1020,visible:false,underlay:"matte"});var e="<div><h4>Internet Explorer is not currently supported</h4><br /><p>Worldview uses a set of browser technologies that are not currently supported by Internet Explorer. We are awaiting the release of IE version 10 and are hopeful that it will load Worldview properly. In the meantime, please try loading this page in Mozilla Firefox, Google Chrome, Apple Safari, or a tablet device. <br /><br />Thanks for your patience.</p><br /><p>-The Worldview development team";f.setBody(e);f.render(document.body);f.show();f.center()}this.selector=new YAHOO.widget.Panel("selector",{zIndex:1019,visible:false});this.selector.setBody("<div id='selectorbox'></div>");this.selector.render(document.body);var b=this.selector.id;this.selector.beforeHideEvent.subscribe(function(a){$("#"+b).css("display","none")});this.selector.beforeShowEvent.subscribe(function(a){$("#"+b).css("display","block")});var g=new SOTE.widget.MapSote("map",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor"});var j=new SOTE.widget.Switch("switch",{dataSourceUrl:"a",selected:"geographic"});var h=new SOTE.widget.Bank("products",{dataSourceUrl:"ap_products.php",title:"My Layers",selected:{antarctic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.antarctic_coastlines",arctic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.arctic_coastlines",geographic:"baselayers.MODIS_Terra_CorrectedReflectance_TrueColor~overlays.sedac_bound"},categories:["Base Layers","Overlays"],callback:this.showSelector,selector:this.selector});var i=new SOTE.widget.Selector("selectorbox",{dataSourceUrl:"ap_products.php",categories:["Base Layers","Overlays"]});var c=new SOTE.widget.DateSpan("time",{hasThumbnail:false});rb=new SOTE.widget.RubberBand("camera",{icon:"images/camera.png",onicon:"images/cameraon.png",cropee:"map"});var d=new SOTE.widget.ImageDownload("imagedownload",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor",alignTo:rb})};function showSelector(b){var a=b.data.selector;a.show();a.center()}function showOverlay(){if(this.overlay===undefined){this.overlay=new YAHOO.widget.Panel("panel1",{zIndex:1020,visible:false});var b="<div ><h3>Welcome to Worldview</h3><p>This new tool from NASA's <a href='http://earthdata.nasa.gov/about-eosdis' target='_blank'>EOSDIS</a> provides the capability to interactively browse full-resolution, global, near real-time satellite imagery from 50+ data products from <a href='http://lance.nasa.gov/' target='_blank'>LANCE</a>. In essence, this shows the entire Earth as it looks \"right now\" - or at least as it has looked within the past few hours. This supports time-critical application areas such as wildfire management, air quality measurements, and weather forecasting. The data is generally available within three hours of observation and can be compared to observations since May 2012 - just click or drag the blue time sliders at the bottom of the screen to change the currently-displayed date. Arctic and Antarctic projections of several products are also available for a \"full globe\" perspective. Browsing on tablet devices is currently supported (iPad 2+ recommended) for mobile access to this spacecraft imagery while in the field or on the couch. Please note, however, that this is an alpha (preview) release and many features are still under development.</p><br /><p>Worldview uses the newly-developed <a href='http://earthdata.nasa.gov/gibs' target='_blank'>Global Image Browse Services (GIBS)</a> to rapidly retrieve its full-resolution imagery to provide an interactive browsing experience. While Worldview uses <a href='http://openlayers.org/' target='_blank'>OpenLayers</a> as its mapping library, GIBS also supports Google Earth, NASA World Wind, and several other clients. We encourage interested developers to build their own clients or integrate NASA imagery into their existing ones using these services.</p><h3>Acknowledgements</h3><p>Near-real time data is courtesy of LANCE data providers: <a href='http://lance.nasa.gov/home/about/amsr-e-sips/' target='_blank'>AMSR-E SIPS</a>, <a href='http://lance.nasa.gov/home/about/ges-disc/' target='_blank'>GES DISC</a>, <a href='http://lance.nasa.gov/home/about/modaps/' target='_blank'>MODAPS</a>, and <a href='http://lance.nasa.gov/home/about/omi-sips/' target='_blank'>OMI SIPS</a>. Socioeconomic data supplied by <a href='http://sedac.ciesin.org/' target='_blank'>SEDAC</a>. Credit for development of the data ingest and serving system belongs to the Tiled WMS development team at NASA/JPL's Physical Oceanography Distributed Active Archive Center (<a href='http://podaac.jpl.nasa.gov/' target='_blank'>PO.DAAC</a>). Special thanks to the NASA/GSFC <a href='http://svs.gsfc.nasa.gov/' target='_blank'>Scientific Visualization Studio</a>, Steve Romalewski and Dave Burgoon/<a href='http://www.urbanresearch.org/' target='_blank'>CUNY CUR</a>, Bruce Campbell/<a href='http://www.risd.edu/' target='_blank'>RISD</a>, and Ben Fry/<a href='http://www.fathom.info/' target='_blank'>Fathom Information Design</a> for their invaluable feedback, much of which is still to be implemented. Additional thanks to Katie Lewis, NASA/GSFC, for graphic design and nomenclature support.</p><h3>Disclaimer</h3><p>The LANCE system is operated by the NASA/GSFC Earth Science Data Information System (ESDIS). The information presented through the LANCE Rapid Response system and the LANCE FIRMS are provided “as is” and users bear all responsibility and liability for their use of data, and for any loss of business or profits, or for any indirect, incidental or consequential damages arising out of any use of, or inability to use, the data, even if NASA or ESDIS were previously advised of the possibility of such damages, or for any other claim by you or any other person. Please read the full disclaimer <a href='http://earthdata.nasa.gov/data/nrt-data/disclaimer' target='_blank'>here</a>.</p><h3>Support</h3><p>Comments/suggestions/problem reports are welcome via <a href='mailto:[email protected]?subject=Feedback%20for%20EOSDIS%20Worldview%20tool'>[email protected]</a>. Please note that Internet Explorer is not currently supported and we are working to determine if and when it can be.</p><br /><p>Version: 0.3.0 (<a href='release_notes.txt' target='_blank'>release notes</a>)<br />Front-End Lead/Architect: <a href='mailto:[email protected]'>Tilak Joshi</a><br />Responsible NASA Official: <a href='mailto:[email protected]'>Ryan Boller</a><br /></p></div>";this.overlay.setBody(b);this.overlay.render(document.body)}this.overlay.show();this.overlay.center();var a=this.overlay.id;this.overlay.beforeHideEvent.subscribe(function(c){$("#"+a).css("display","none")});this.overlay.beforeShowEvent.subscribe(function(c){$("#"+a).css("display","block")})}function showPermalink(){if(this.permOverlay===undefined){this.permOverlay=new YAHOO.widget.Panel("panel_perm",{width:"300px",zIndex:1020,visible:false});var j="<div id='permpanel' ><!-- <h3>Permalink:</h3> --><span style='font-weight:400; font-size:12px; line-spacing:24px; '>Copy and paste the following link to share this view:</span><input type='text' value='' name='permalink_content' id='permalink_content' /></div>";this.permOverlay.setHeader("&nbsp;&nbsp;&nbsp;&nbsp;Permalink");this.permOverlay.setBody(j);this.permOverlay.render(document.body)}var g="?";var c=REGISTRY.getComponents();for(var e=0;e<c.length;e++){if(typeof c[e].obj.getValue=="function"){g+=c[e].obj.getValue()+"&"}}var b=SOTE.util.extractFromQuery("map",g);var h=SOTE.util.extractFromQuery("products",g);var d=SOTE.util.extractFromQuery("time",g);var k=SOTE.util.extractFromQuery("switch",g);g="?map="+b+"&products="+h+"&time="+d+"&switch="+k;var a=window.location.href;var f=a.split("?")[0];f=(f!==null&&f!==undefined)?f:a;$("#permalink_content").val(f+g);this.permOverlay.show();this.permOverlay.center();document.getElementById("permalink_content").focus();document.getElementById("permalink_content").select()}function showRubberBand(){rb.draw("map")};
\ No newline at end of file
diff --git a/js/sote.js b/js/sote.js
index e7ced4579..8636b51cd 100644
--- a/js/sote.js
+++ b/js/sote.js
@@ -22,6 +22,9 @@ window.onload = function(){// Initialize "static" vars
this.selector = new YAHOO.widget.Panel("selector", { zIndex:1019, visible:false } );
this.selector.setBody("<div id='selectorbox'></div>");
this.selector.render(document.body);
+ var sel_id = this.selector.id;
+ this.selector.beforeHideEvent.subscribe(function(e){ $("#"+sel_id).css("display","none");})
+ this.selector.beforeShowEvent.subscribe(function(e){$("#"+sel_id).css("display","block");})
// Create map
var m = new SOTE.widget.MapSote("map",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor"});
@@ -32,8 +35,8 @@ window.onload = function(){// Initialize "static" vars
//var tr = new SOTE.widget.MenuPicker("transition",{dataSourceUrl:"data/mp_transition.php"});
var map = new SOTE.widget.DateSpan("time",{hasThumbnail:false});
//Image download variables
- rb = new SOTE.widget.RubberBand("rubberband");
- var id = new SOTE.widget.ImageDownload("imagedownload",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor"});
+ rb = new SOTE.widget.RubberBand("camera",{icon:"images/camera.png",onicon:"images/cameraon.png",cropee:"map"});
+ var id = new SOTE.widget.ImageDownload("imagedownload",{baseLayer:"MODIS_Terra_CorrectedReflectance_TrueColor",alignTo: rb});
};
@@ -70,7 +73,9 @@ function showOverlay(){
this.overlay.show();
this.overlay.center();
-
+ var overlay_id = this.overlay.id;
+ this.overlay.beforeHideEvent.subscribe(function(e){$("#"+overlay_id).css("display","none");});
+ this.overlay.beforeShowEvent.subscribe(function(e){$("#"+overlay_id).css("display","block");})
}
function showPermalink(){
@@ -113,7 +118,6 @@ function showPermalink(){
document.getElementById('permalink_content').focus();
document.getElementById('permalink_content').select();
-
}
diff --git a/js/switch.js b/js/switch.js
index 1462d2996..916383ec9 100644
--- a/js/switch.js
+++ b/js/switch.js
@@ -67,7 +67,7 @@ SOTE.widget.Switch.prototype.init = function(){
}
-};
+};
/**
* Renders the UI accordion from this.items