geodesymiami / insarmaps

3 stars 0 forks source link

Display other datasets for same area, zoom level, color scale and (nearly) same time period. #110

Open falkamelung opened 1 month ago

falkamelung commented 1 month ago

When a data set is displayed, there should appear a pull-down window with all data sets covering the same area and period (area shown in the window). The window should have two buttons: (1) to open a new browser window showing exactly the same zoom area/period. (2) to replace the current dataset with the selected dataset (and an easy way to switch back).

If it is not possible to open a new window, producing a URL that the user can copy into a new window/tab is fine.

This needs some logic for the interpretation of the dates: The second dataset will never have the same dates as the first dataset. So if the first dataset has for example startDate=20240601, then it should takes as the next subsequent date it finds, e.g. 20240603 (instead of producing an error) . For endDate=20241001, if there is no later dates in the second dataset, it should use the nearest prior date.