Closed falkamelung closed 3 years ago
The current logic is that if a min scale and max scale are supplied in the URL, we don't do this slow call to the database to calculate min and max etc etc. So, I suppose the best course of action is to include the color scale update in the URL. That way, according to our current logic, if a user reloads the same dataset, it won't go through the slow update scale database call yet will have the correct colors of the previous database call.
done
This is in this issue https://github.com/geodesymiami/insarmaps/issues/37#issuecomment-754720466 but I am making it its own issue for clarity.
The command below first has a [-2, 2] scale and then switches to [-15, 15]. Is it OK that the update does not show up in the URL?