Commit 500b4caa authored by Luis Dominguez's avatar Luis Dominguez

update, report, Hide Maps, default Noon checked

parent f1909472
MAPBOX_ACCESS_TOKEN = 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw'; MAPBOX_ACCESS_TOKEN = 'pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw';
MAX_OPACITY = 1; MAX_OPACITY = 1;
FIRST_IMAGE_LAYER_INDEX = 2; FIRST_IMAGE_LAYER_INDEX = 2;
document.getElementById("light").checked=true;
// create wkt polygon // create wkt polygon
const wktFormat = new ol.format.WKT(); const wktFormat = new ol.format.WKT();
...@@ -314,6 +315,7 @@ function changeMap(selectedMap) { ...@@ -314,6 +315,7 @@ function changeMap(selectedMap) {
} }
function showControlMap() { function showControlMap() {
if ($('#showControlMap').is(':visible')) { if ($('#showControlMap').is(':visible')) {
$("#showControlMap").hide(); $("#showControlMap").hide();
$("#hideControlMap").show(); $("#hideControlMap").show();
......
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
<span>Streets</span> <span>Streets</span>
</div> </div>
<div class="form-check submenu" onclick="changeMap('night')"> <div class="form-check submenu" onclick="changeMap('night')">
<input id="night" type="radio" name="layerOption"> <input id="night" type="radio" name="layerOption" checked="">
<span>Night</span> <span>Night</span>
</div> </div>
<div class="form-check submenu" onclick="changeMap('cycle')"> <div class="form-check submenu" onclick="changeMap('cycle')">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment