diff --git a/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2010.json b/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2010.json index 92465eeb9..48805ec00 100644 --- a/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2010.json +++ b/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2010.json @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2010, "variables": "eapa", - "datetime": "2023-12-04T14:35:49.577351Z" + "datetime": "2023-12-13T11:00:58.960320Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2040.json b/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2040.json index 70e57e611..490b0d78d 100644 --- a/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2040.json +++ b/STAC/data/current/sub_threat/eapa-mapbox/eapa-mapbox-time-2040.json @@ -12,7 +12,7 @@ ], [ "get", - "time-2010" + "time-2040" ], 0, "hsla(110, 90%, 80%, 0.25)", @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2040, "variables": "eapa", - "datetime": "2023-12-04T14:35:49.578339Z" + "datetime": "2023-12-13T11:00:58.965405Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2010.json b/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2010.json index df9dee449..8c111e343 100644 --- a/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2010.json +++ b/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2010.json @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2010, "variables": "egdp", - "datetime": "2023-12-04T14:35:49.578339Z" + "datetime": "2023-12-13T11:00:58.965405Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2040.json b/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2040.json index b729adf40..4a6fe15c1 100644 --- a/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2040.json +++ b/STAC/data/current/sub_threat/egdp-mapbox/egdp-mapbox-time-2040.json @@ -12,7 +12,7 @@ ], [ "get", - "time-2010" + "time-2040" ], 0, "hsla(110, 90%, 80%, 0.25)", @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2040, "variables": "egdp", - "datetime": "2023-12-04T14:35:49.579331Z" + "datetime": "2023-12-13T11:00:58.966407Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2010.json b/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2010.json index 14cf8e47d..96c284f41 100644 --- a/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2010.json +++ b/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2010.json @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2010, "variables": "epsi", - "datetime": "2023-12-04T14:35:49.579331Z" + "datetime": "2023-12-13T11:00:58.967405Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2040.json b/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2040.json index f71f56d18..0c1477ac5 100644 --- a/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2040.json +++ b/STAC/data/current/sub_threat/epsi-mapbox/epsi-mapbox-time-2040.json @@ -12,7 +12,7 @@ ], [ "get", - "time-2010" + "time-2040" ], 0, "hsla(110, 90%, 80%, 0.25)", @@ -27,7 +27,7 @@ "deltares:onclick": {}, "time": 2040, "variables": "epsi", - "datetime": "2023-12-04T14:35:49.580326Z" + "datetime": "2023-12-13T11:00:58.967405Z" }, "geometry": { "type": "Polygon", diff --git a/STAC/data/scripts/09_subsidence_stacs.py b/STAC/data/scripts/09_subsidence_stacs.py index c68131584..c1d008cad 100644 --- a/STAC/data/scripts/09_subsidence_stacs.py +++ b/STAC/data/scripts/09_subsidence_stacs.py @@ -71,7 +71,7 @@ } # hard-coded frontend properties STATIONS = "locationId" - TYPE = "circle" + TYPE = "fill" ON_CLICK = {} # these are added at collection level (for graph plot in the dashboard) @@ -93,27 +93,16 @@ # they also require input arguments def get_paint_props(item_key: str): return { - "circle-color": [ + "fill-color": [ "interpolate", ["linear"], ["get", item_key], 0, - "hsl(110,90%,80%)", + "hsla(110, 90%, 80%, 0.25)", 1.5, - "hsla(55, 88%, 53%, 0.5)", + "hsla(55, 88%, 53%, 0.25)", 3.0, - "hsl(0, 90%, 70%)", - ], - "circle-radius": [ - "interpolate", - ["linear"], - ["zoom"], - 0, - 0.5, - 1, - 1, - 5, - 5, + "hsla(0, 90%, 70%, 0.25)", ], }