Ingenjorsarbete-For-Klimatet / ifk-sverige

Map of Sweden.
https://dev.sverige.ingenjorsarbeteforklimatet.se
MIT License
1 stars 0 forks source link

SMHI multipoint data format #33

Open mgcth opened 4 months ago

mgcth commented 4 months ago

Description

When we fetch multipoint data it's for the whole area SMHI covers. We can downsample that data. To visualise it on a map as fast as possible we should format the data such that only relevant data for that view is loaded in the required level of detail.

mgcth commented 4 months ago

Rendering tiles with data works, an early implementation that is slightly choppy when panning and zooming, but it works.

It would be nice if we could still filter out point in such a way that the lower zoom levels points are always present in the higher zoom levels. I think this would stabilise the visuals when zooming, as they shift slightly now.