geodesymiami / insarmaps

3 stars 0 forks source link

Don't recolor when no new points rendered #109

Open stackTom opened 1 month ago

stackTom commented 1 month ago

Currently, if we have a reference point or custom dates, we recolor on every map movement or zoom change. Even if the resultant movement/zoom change does not lead to new being points being rendered.

We need to fix this - only recolor/re-download data from the server if the user interaction leads to new points being rendered for which we need to download data from the server.

stackTom commented 1 month ago

What do you think? Should we just disable on the fly re coloring when the user zooms/moves the map? And have a button so the user manually chooses when to re render at a given zoom level or after a map drag?

falkamelung commented 1 month ago

I think that is a good idea. Maybe we also have a button to switch the automatic recoloring on. If on the other button disappears.

stackTom commented 1 month ago

I think that is a good idea. Maybe we also have a button to switch the automatic recoloring on. If on the other button disappears.

Where do you want these buttons to go?

falkamelung commented 1 month ago

lets do upper right

falkamelung commented 1 month ago

The *.50 is back online. I just saw that we have something in the upper right. Rather lets put it next to the layer button