diff --git a/src/main/js/apps/sample/app.json b/src/main/js/apps/sample/app.json index 0191bf6..9e3105d 100644 --- a/src/main/js/apps/sample/app.json +++ b/src/main/js/apps/sample/app.json @@ -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": "

Pegel: {expression/wert} {expression/trend}

{expression/date}" - }, - { - "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": "

Pegel: {expression/wert} {expression/trend}

{expression/date}" - }, - { - "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 - } - ] } ] },