clarity-h2020 / map-component

The Map Component is a reusable, flexible and highly configurable Building Block meant to be used throughout CSIS.
https://csis.myclimateservice.eu/
1 stars 1 forks source link

EMIKAT not showing correct map after change of study location #61

Closed DenoBeno closed 5 years ago

DenoBeno commented 5 years ago

This is probably EMIKAT caching issue, but I'm reporting iit under map because it concerns map component too.

When the study area is changed, EMIKAT still shows the data for the old area. I double-checked the situation and EMIKAT does get the right coordinates so it seems to be an issue with caching.

Furthermore, on next change of area the area shown will be changed to one before the last again. generally, on N-th change, the N-1 area will be shown.

Screenshot_2019-10-04_12-14-35

DenoBeno commented 5 years ago

I just reloaded the same map again and all is OK. It's definitely some kind of a caching issue, I'm just not sure if the map component or the EMIKAT is responsible.

image

p-a-s-c-a-l commented 5 years ago

Changing the study area is a feature we should disable when the system goes life. For development and testing it's o.k., but in production we don't need it IMO. If the the user wants a new area -> new study. Same for study type.

DenoBeno commented 5 years ago

I'm not so sure. It's far too easy to take a wrong area per mistake. There may be valid reasons to do the calculation with several areas too...

As for changing the study type, that's a pretty destructive task. Maybe it should be disabled. At very least, it should be made more difficult (THIS WILL WIPE UP ALL PROJECT DATA, DO YOU REALLY WANT TO PROCEED? [NO WAY] [DEFINITELY NOT] [LET ME RETHINK] [yes, i really want to])

;-)