diff --git a/public/application/js/cesium_00_Main.js b/public/application/js/cesium_00_Main.js index 095bfbb8b5eb46d965979bb522df8e81c04f4539..dfbd2007fd433bf4a8a0df4d80425db62fd1781b 100644 --- a/public/application/js/cesium_00_Main.js +++ b/public/application/js/cesium_00_Main.js @@ -389,7 +389,7 @@ viewer.clock.currentTime = Cesium.JulianDate.fromIso8601(startTime); $('#BuildingStyleSelector').on('change', function () { // alert(this.value); - tileset_3Dbuildings.style = building_style[this.value]; + tileset_3Dbuildings_full.style = building_style[this.value]; $('.cesiumLegend').hide() try { $(`#${this.value}-legend`).show() diff --git a/public/application/js/cesium_mouse_handling.js b/public/application/js/cesium_mouse_handling.js index bea90458b55e1c3b4019f466e9667db7127254d7..7053498ee359b60de0d3fbbe445887a1f57f9d38 100644 --- a/public/application/js/cesium_mouse_handling.js +++ b/public/application/js/cesium_mouse_handling.js @@ -144,6 +144,7 @@ viewer.screenSpaceEventHandler.setInputAction(function onLeftClick( // console.log("This is PIPE") // This case is true when the click feature is PIPE! var pipe_id = pickedFeature.id.name + console.log(`pipe_id: ${pipe_id}`) // var current_pipe_STA_URL = `http://193.196.138.56/iqg4icity_sensor/v1.1/MultiDatastreams(${pipe_sta_map[pipe_id]})/Observations?$orderby=phenomenonTime%20desc` var current_pipe_STA_URL = `https://covidsta.hft-stuttgart.de/iqg4icity_sensor/v1.1/MultiDatastreams(${pipe_sta_map[pipe_id]})/Observations?$orderby=phenomenonTime%20desc` diff --git a/public/application/js/pipelo_sta.js b/public/application/js/pipelo_sta.js index 07853027f2bf5e33787fee5128885a57a577f523..c81c414dd5ccb34cfa7a3cbd20aeb65930e951f7 100644 --- a/public/application/js/pipelo_sta.js +++ b/public/application/js/pipelo_sta.js @@ -437,7 +437,7 @@ var pipe_lo = [ // draw Pipe Location var pipe_lo_entities= []; - +console.log("Drawing [pipe_lo_entities]") for (let i = 0; i < pipe_lo.length; i++) { var name_devEUI = pipe_lo[i]["devEUI"]; var pipe_lon = pipe_lo[i]["long"]; diff --git a/public/application/js/staconnector.js b/public/application/js/staconnector.js index ea0dba94c5b07f0d888a9cd3b7a62d3f8b6e7714..60d9bb45a2c0c8c3dd478dc4eae08535e63c3926 100644 --- a/public/application/js/staconnector.js +++ b/public/application/js/staconnector.js @@ -1,6 +1,6 @@ // var STA_IQG_URL = "http://193.196.138.56/iqg4icity_sensor/v1.1/MultiDatastreams(1)/Observations?$orderby=phenomenonTime%20desc" - +console.log("loading STA connector...") function get_STA_Observation_Value(STA_URL , cb) { var settings = { diff --git a/public/dashboard/index.html b/public/dashboard/index.html index 6ea4b952334807c0588ddb40813bac9eeace54d1..a3c28dd8b33c44a0b2c0934cec3799dc9a6c2a6b 100644 --- a/public/dashboard/index.html +++ b/public/dashboard/index.html @@ -142,20 +142,19 @@ </label> </div> <div class="form-check"> - <input class="form-check-input" type="checkbox" value="" id="util_nw_Enisyst" - checked> + <input class="form-check-input" type="checkbox" value="" id="util_nw_Enisyst"> <label class="form-check-label" for="util_nw_Enisyst"> Utility Network Stations (Enisyst) </label> </div> <hr> - <div style="display: none;"> + <div> <h6>Building Style</h6> <select class="form-select" id="BuildingStyleSelector"> <option value="AllWhite" selected>Default</option> <option value="transparent">Transparent</option> - <option value="PVPotential">PV Potential</option> - <option value="PVSpecificYield">PV Specific Yield</option> + <!-- <option value="PVPotential">PV Potential</option> + <option value="PVSpecificYield">PV Specific Yield</option> --> </select> </div> <h6>Building Function</h6>