geodesymiami / insarmaps

3 stars 0 forks source link

order of variables in URL command #44

Open falkamelung opened 3 years ago

falkamelung commented 3 years ago

Is there flexibility with the order of variable in the URL? If there is I would suggest the following which is more logical (minScale is only needed if colorscale is given and colorscale is more important than pointLat)

startDataset
colorscale
minScale, maxScale
pointLat, pointLon

https://insarmaps.miami.edu/start/19.4287/-155.2043/11.2361?flyToDatasetCenter=false&startDataset=S1_IW12_087_0527_0531_20141116_20191226&pointLat=19.41179&pointLon=-155.27178&minScale=-200&maxScale=200&startDate=20180423&endDate=20180505&colorscale=velocity

stackTom commented 3 years ago

The variables are added in the order in which things happen. So it depends on the order things are clicked or changed. I could add logic so that the variables are always in the order you specify regardless of the order in which things are done. What priority should we give this issue?

falkamelung commented 3 years ago

Low priority. Depends on the the risk of complications. If there is little risk you can give it higher priority.

In the example above minScale and maxScale is separates from colorscale, which does look weired as they belong together.