diff --git a/vcm/config.json b/vcm/config.json index b81a1f89a046057c902ad674d6884cdd89c5b795..3955c411059b931b0d40cd07901de53aebf05990 100644 --- a/vcm/config.json +++ b/vcm/config.json @@ -759,11 +759,11 @@ "template": [ "<div class='balloon' style='width: 200px; background-color: #3C3C3C; color: #FFFFFF;' id='myBalloon'>", "<button class='infobtn' id='infobtnNoise' onclick='NoiseText();'></button>", - " <h1 class='balloon-title' style='color: #FFFFFF;'>Noise Sensor (53627)</h1>", + " <h1 class='balloon-title' style='color: #FFFFFF;'>Noise Sensor (37833)</h1>", " <div class='balloon-content' style='margin-right: 0px;'", " </div>", "<div class='box-3'>", - "<div class='btn btn-three' id='noiseStuff' onclick='getNoiseData(\"53627\");SetNoiseDataWaiting()'>", + "<div class='btn btn-three' id='noiseStuff' onclick='getNoiseData(\"37833\");SetNoiseDataWaiting()'>", "<span>Get Noise Data</span>", "</div><br>", "<br></div><br>", @@ -786,7 +786,7 @@ "" ], "layerNames": [ - "NoiseLocation53627" + "NoiseLocation37833" ] },{ "template": [ @@ -1833,8 +1833,8 @@ }, "heightAboveGround": 0 },{ - "name": "NoiseLocation53627", - "url": "./datasource-data/NoiseData/NoisePoint53627.geojson", + "name": "NoiseLocation37833", + "url": "./datasource-data/NoiseData/NoisePoint37833.geojson", "type": "vcs.vcm.layer.GeoJSON", "datasourceId": "...", "activeOnStartup": false, diff --git a/vcm/datasource-data/NoiseData/NoisePoint.geojson b/vcm/datasource-data/NoiseData/NoisePoint.geojson index 6535c0264d0d70780a4df10be66460e7fc6dd05d..aa2bb09b2d9d7d3edca6c3fb39da26f853d5bd70 100644 --- a/vcm/datasource-data/NoiseData/NoisePoint.geojson +++ b/vcm/datasource-data/NoiseData/NoisePoint.geojson @@ -1 +1,29 @@ -{"id": "LFwfxQb4d2CX8CBhL", "type": "FeatureCollection", "features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[9.15884470936,48.77543604444,20.013149800758705666]},"properties":{},"vcsMeta":{},"id":"mPWksRx2XR6bd7DQ8Ter9EPW"}],"featureType":"simple","vcsMeta": {"version":"1.0","altitudeMode":"clampToGround"}} \ No newline at end of file +{ + "id":"LFwfxQb4d2CX8CBhL", + "type":"FeatureCollection", + "features":[ + { + "type":"Feature", + "geometry":{ + "type":"Point", + "coordinates":[ + 9.15884470936, + 48.77543604444, + 20.013149800758705666 + ] + }, + "properties":{ + + }, + "vcsMeta":{ + + }, + "id":"mPWksRx2XR6bd7DQ8Ter9EPW" + } + ], + "featureType":"simple", + "vcsMeta":{ + "version":"1.0", + "altitudeMode":"clampToGround" + } + } \ No newline at end of file diff --git a/vcm/datasource-data/NoiseData/NoisePoint37833.geojson b/vcm/datasource-data/NoiseData/NoisePoint37833.geojson new file mode 100644 index 0000000000000000000000000000000000000000..6a4c2e7a34aa78893305f62a4253f5b6fd8dd2b1 --- /dev/null +++ b/vcm/datasource-data/NoiseData/NoisePoint37833.geojson @@ -0,0 +1,29 @@ +{ + "id":"LFwfxQb4d2CX8CBhL", + "type":"FeatureCollection", + "features":[ + { + "type":"Feature", + "geometry":{ + "type":"Point", + "coordinates":[ + 9.16, + 48.778, + 20.013149800758705666 + ] + }, + "properties":{ + + }, + "vcsMeta":{ + + }, + "id":"mPWksRx2XR6bd7DQ8Ter9EPW" + } + ], + "featureType":"simple", + "vcsMeta":{ + "version":"1.0", + "altitudeMode":"clampToGround" + } + } \ No newline at end of file diff --git a/vcm/js/noise.js b/vcm/js/noise.js index 5e5dd9f974f7a2fe41b23a7e6421265bb0f45b0b..7e28b5754066e01976d426f8fea974baca72f679 100644 --- a/vcm/js/noise.js +++ b/vcm/js/noise.js @@ -389,7 +389,7 @@ function noisemap2(areatime){ function noisesens(status){ var layerOn = ["NoiseLocation"] - var layerTwo = ["NoiseLocation53627"] + var layerTwo = ["NoiseLocation37833"] var layerThree = ["NoiseLocation29212"] var layers = framework.getLayers(); diff --git a/vcm/templates/custom.js b/vcm/templates/custom.js index 64c2fc22d50fc94f9eeb70edaea7e2692e6fc9b0..7b9baa47f8baa111e766ef9461403fd03e0317fd 100644 --- a/vcm/templates/custom.js +++ b/vcm/templates/custom.js @@ -662,7 +662,7 @@ function NoiseText(proj) { var layer01 = ["NoiseLocation"] var layer02 = ["NoiseLocation29212"] - var layer03 = ["NoiseLocation53627"] + var layer03 = ["NoiseLocation37833"] var framework = vcs.vcm.Framework.getInstance(); var layers = framework.getLayers(); @@ -798,7 +798,7 @@ function Expert() { var layer01 = ["NoiseLocation"] var layer02 = ["NoiseLocation29212"] - var layer03 = ["NoiseLocation53627"] + var layer03 = ["NoiseLocation37833"] var layer04 = ["ProjektNord"] var layer05 = ["LocationFour"] var layer06 = ["LocationThree"]