-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
When the style is updated by the user, OpenLayers-internal keys are being updated, but EOX-specific keys only update once at the loading of the dataset/style combination. This is because the actual map layers are not being rebuilt anymore each time the style is changed, but only generated when necessary (i.e. one time when everything is loaded).
This breaks hot-reloading of all EOX keys.
The problem fundamentally comes from the choice to use Lit, which does not have deep reactivity, and keeps us from updating data deep inside the style, because Lit just does not see it.
Functionality matrix
It is likely that all of the entries are affected by the same reactivity bug.
| GeoJSON | FGB | GeoTIFF | Notes | |
|---|---|---|---|---|
tooltip appears with tooltip? |
❌ | ❌ | Waiting for upstream support | |
tooltip updates with tooltip? |
❌ | ❌ | Waiting for upstream support | |
legend appears with legend? |
❌ | ❌ | ❌ | |
legend updates with legend? |
❌ | ❌ | ❌ | |
| adding jsonform with vars updates layercontrol? | ❌ | ❌ | ❌ | |
| changing the form values in layercontrol updates map style? | ❌ | ❌ | ❌ |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working