Mercurial > gemma
view client/src/components/paneSetups.js @ 5475:791a372553a0
Client:FWA: Fix setting request parameters and legend
* Set default limit-width values (80m, 150m) for bottlenecks that limited
by width
* Fix condition of generating the legend
* Fix setting the boundaries of the legend
* Convert limit-width values to "cm" for the request.
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Mon, 16 Aug 2021 15:55:57 +0200 |
parents | fa7dc3f31ef3 |
children |
line wrap: on
line source
const main = { id: "main", component: "Map" }; export const DEFAULT = { main }; export const COMPARESURVEYS = { main, compare: { id: "compare-survey", component: "Map" } }; export const FAIRWAYPROFILE = { main, fairwayprofile: { id: "fairwayprofile", component: "Fairwayprofile" } }; export const AVAILABLEFAIRWAYDEPTH = { main, availablefairwaydepth: { id: "availablefairwaydepth", component: "AvailableFairwayDepth" } }; export const AVAILABLEFAIRWAYDEPTHLNWL = { main, availablefairwaydepth: { id: "availablefairwaydepthlnwl", component: "AvailableFairwayDepthLNWL" } }; export const COMPARESURVEYS_FAIRWAYPROFILE = { main, compare: { id: "compare-survey", component: "Map" }, fairwayprofile: { id: "fairwayprofile", component: "Fairwayprofile" } }; export const GAUGE_WATERLEVEL = { main, waterlevel: { id: "gauge-waterlevel", component: "Waterlevel" } }; export const GAUGE_HYDROLOGICALCONDITIONS = { main, hydrological: { id: "gauge-hydrologicalconditions", component: "HydrologicalConditions" } }; export const GAUGE_WATERLEVEL_HYDROLOGICALCONDITIONS = { main, waterlevel: { id: "gauge-waterlevel", component: "Waterlevel" }, hydrological: { id: "gauge-hydrologicalconditions", component: "HydrologicalConditions" } };