Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
18991d4e
Commit
18991d4e
authored
3 years ago
by
Patrick
Browse files
Options
Download
Email Patches
Plain Diff
update Noise Sensor
parent
787f1ea2
master
NewS_cleaned
New_Structure
workingVersion
1 merge request
!1
update some ui
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
vcm/config.json
+5
-5
vcm/config.json
vcm/datasource-data/NoiseData/NoisePoint.geojson
+29
-1
vcm/datasource-data/NoiseData/NoisePoint.geojson
vcm/datasource-data/NoiseData/NoisePoint37833.geojson
+29
-0
vcm/datasource-data/NoiseData/NoisePoint37833.geojson
vcm/js/noise.js
+1
-1
vcm/js/noise.js
vcm/templates/custom.js
+2
-2
vcm/templates/custom.js
with
66 additions
and
9 deletions
+66
-9
vcm/config.json
+
5
-
5
View file @
18991d4e
...
...
@@ -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"
:
[
"NoiseLocation
53627
"
"NoiseLocation
37833
"
]
},{
"template"
:
[
...
...
@@ -1833,8 +1833,8 @@
},
"heightAboveGround"
:
0
},{
"name"
:
"NoiseLocation
53627
"
,
"url"
:
"./datasource-data/NoiseData/NoisePoint
53627
.geojson"
,
"name"
:
"NoiseLocation
37833
"
,
"url"
:
"./datasource-data/NoiseData/NoisePoint
37833
.geojson"
,
"type"
:
"vcs.vcm.layer.GeoJSON"
,
"datasourceId"
:
"..."
,
"activeOnStartup"
:
false
,
...
...
This diff is collapsed.
Click to expand it.
vcm/datasource-data/NoiseData/NoisePoint.geojson
+
29
-
1
View file @
18991d4e
{"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
This diff is collapsed.
Click to expand it.
vcm/datasource-data/NoiseData/NoisePoint37833.geojson
0 → 100644
+
29
-
0
View file @
18991d4e
{
"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
This diff is collapsed.
Click to expand it.
vcm/js/noise.js
+
1
-
1
View file @
18991d4e
...
...
@@ -389,7 +389,7 @@ function noisemap2(areatime){
function
noisesens
(
status
){
var
layerOn
=
[
"
NoiseLocation
"
]
var
layerTwo
=
[
"
NoiseLocation
53627
"
]
var
layerTwo
=
[
"
NoiseLocation
37833
"
]
var
layerThree
=
[
"
NoiseLocation29212
"
]
var
layers
=
framework
.
getLayers
();
...
...
This diff is collapsed.
Click to expand it.
vcm/templates/custom.js
+
2
-
2
View file @
18991d4e
...
...
@@ -662,7 +662,7 @@ function NoiseText(proj) {
var
layer01
=
[
"
NoiseLocation
"
]
var
layer02
=
[
"
NoiseLocation29212
"
]
var
layer03
=
[
"
NoiseLocation
53627
"
]
var
layer03
=
[
"
NoiseLocation
37833
"
]
var
framework
=
vcs
.
vcm
.
Framework
.
getInstance
();
var
layers
=
framework
.
getLayers
();
...
...
@@ -798,7 +798,7 @@ function Expert() {
var
layer01
=
[
"
NoiseLocation
"
]
var
layer02
=
[
"
NoiseLocation29212
"
]
var
layer03
=
[
"
NoiseLocation
53627
"
]
var
layer03
=
[
"
NoiseLocation
37833
"
]
var
layer04
=
[
"
ProjektNord
"
]
var
layer05
=
[
"
LocationFour
"
]
var
layer06
=
[
"
LocationThree
"
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets