pacificclimate / weather-anomaly-tool

0 stars 0 forks source link

Stabilize marker layer selection #112

Closed rod-glover closed 1 month ago

rod-glover commented 1 month ago

Resolves #111

This PR also moves some items out of component DataMap into new components; DataMap was much too big and would have grown further after this.

A final puzzle, without an answer:

In an attempt to further simplify DataMap, I segregated the layer vis state and logic in a separate component, which a naive take on it should have worked exactly the same as the present code, but did not. For some reason the state needs to be kept in DataMap and not in a lower component. I have not determined the reason yet. You can see the attempt in the reverted commit.

rod-glover commented 1 month ago

Demo