Commit b0478615 authored by JOE XMG's avatar JOE XMG
Browse files

update

parent 0703266b
Pipeline #7236 passed with stage
in 9 seconds
......@@ -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()
......
......@@ -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`
......
......@@ -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"];
......
// 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 = {
......
......@@ -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>
......
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