Skip to content

Commit

Permalink
Removed service from map config which is not required in sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius Austerschulte committed Jun 24, 2024
1 parent ff2d4a9 commit 6eca6a4
Showing 1 changed file with 0 additions and 205 deletions.
205 changes: 0 additions & 205 deletions src/main/js/apps/sample/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,211 +121,6 @@
"opacity": 0.7
}
]
},
{
"id": "pegelonline",
"url": "https://services2.arcgis.com/jUpNdisbWqRpMo35/arcgis/rest/services/PegelOnline/FeatureServer/0",
"type": "AGS_FEATURE",
"title": "PegelOnline",
"description": "",
"visible": true,
"definitionExpression": "parameter_name = 'WASSERSTAND ROHDATEN'",
"outFields": [
"*"
],
"maptipTemplate": {
"title": "",
"content": [
{
"type": "text",
"text": "<h2 style='margin-top:0; margin-bottom: 0;'>Pegel: {expression/wert} {expression/trend}</h2><font color='#999'>{expression/date}</font>"
},
{
"type": "fields",
"fieldInfos": [
{
"fieldName": "expression/gewaesser"
},
{
"fieldName": "expression/messstelle"
},
{
"fieldName": "station_url",
"label": "Weitere Informationen"
}
]
}
],
"expressionInfos": [
{
"name": "wert",
"expression": "$feature.currentMeasure_value + ' ' + $feature.parameter_unit"
},
{
"name": "gewaesser",
"expression": "$feature.water_longname + ' (Kilometer ' + $feature.km + ')'",
"title": "Gewässer"
},
{
"name": "messstelle",
"expression": "$feature.longname + ' (' + $feature.number + ')'",
"title": "Messstelle"
},
{
"name": "trend",
"expression": "When($feature.currentMeasure_trend == 1, '↑',$feature.currentMeasure_trend == -1, '↓','')"
},
{
"name": "date",
"expression": "Day($feature.currentMeasure_timestamp) + '.' + (Month($feature.currentMeasure_timestamp)+1) + '.' + Year($feature.currentMeasure_timestamp) + ' - ' + Hour($feature.currentMeasure_timestamp) + ':' + (IIf(Minute($feature.currentMeasure_timestamp) < 10, Concatenate('0', Minute($feature.currentMeasure_timestamp)), Minute($feature.currentMeasure_timestamp))) + ' Uhr'",
"title": "Zeitpunkt"
}
]
},
"popupTemplate": {
"title": "",
"customActions": [
"export-popup-screenshot"
],
"content": [
{
"type": "text",
"text": "<h2 style='margin-top:0; margin-bottom: 0;'>Pegel: {expression/wert} {expression/trend}</h2><font color='#999'>{expression/date}</font>"
},
{
"type": "media",
"mediaInfos": [
{
"title": "{Name}",
"type": "image",
"value": {
"sourceURL": "{station_graphic_url}"
}
}
]
},
{
"type": "fields",
"fieldInfos": [
{
"fieldName": "expression/gewaesser"
},
{
"fieldName": "expression/messstelle"
},
{
"fieldName": "station_url",
"label": "Weitere Informationen"
}
]
}
],
"expressionInfos": [
{
"name": "wert",
"expression": "$feature.currentMeasure_value + ' ' + $feature.parameter_unit"
},
{
"name": "gewaesser",
"expression": "$feature.water_longname + ' (Kilometer ' + $feature.km + ')'",
"title": "Gewässer"
},
{
"name": "messstelle",
"expression": "$feature.longname + ' (' + $feature.number + ')'",
"title": "Messstelle"
},
{
"name": "trend",
"expression": "When($feature.currentMeasure_trend == 1, '↑',$feature.currentMeasure_trend == -1, '↓','')"
},
{
"name": "date",
"expression": "Day($feature.currentMeasure_timestamp) + '.' + (Month($feature.currentMeasure_timestamp)+1) + '.' + Year($feature.currentMeasure_timestamp) + ' - ' + Hour($feature.currentMeasure_timestamp) + ':' + (IIf(Minute($feature.currentMeasure_timestamp) < 10, Concatenate('0', Minute($feature.currentMeasure_timestamp)), Minute($feature.currentMeasure_timestamp))) + ' Uhr'",
"title": "Zeitpunkt"
}
]
},
"renderer": {
"type": "simple",
"symbol": {
"type": "simple-marker",
"color": [
100,
170,
233,
0.6
],
"size": 6,
"outline": {
"color": [
0,
0,
0,
0.4
],
"width": 0.5
}
}
},
"labelingInfo": [
{
"labelPlacement": "below-center",
"labelExpressionInfo": {
"expression": "IIf($feature.currentMeasure_trend == 1, '↑','')"
},
"symbol": {
"type": "text",
"font": {
"size": 12,
"wheight": "bold"
},
"color": "red"
}
},
{
"labelPlacement": "below-center",
"labelExpressionInfo": {
"expression": "IIf($feature.currentMeasure_trend == -1, '↓','')"
},
"symbol": {
"type": "text",
"font": {
"size": 12,
"wheight": "bold"
},
"color": "green"
}
},
{
"labelPlacement": "below-right",
"labelExpressionInfo": {
"expression": "$feature.currentMeasure_value + ' ' + $feature.parameter_unit"
},
"symbol": {
"type": "text",
"font": {
"size": 12
},
"color": "#666"
},
"minScale": 1500000
},
{
"labelExpressionInfo": {
"expression": "$feature.longname"
},
"symbol": {
"type": "text",
"font": {
"size": 10
},
"color": "#999"
},
"labelPlacement": "above-center",
"minScale": 1000000
}
]
}
]
},
Expand Down

0 comments on commit 6eca6a4

Please sign in to comment.