NASA-AMMOS / MMGIS

Multi-Mission Geographical Information System - Web-based Mapping and Spatial Data Infrastructure for Planetary Science Operations - https://nasa-ammos.github.io/MMGIS/
Apache License 2.0
139 stars 45 forks source link

#519 Fix mmgisAPI.setTime start #520

Closed tariqksoliman closed 5 months ago

tariqksoliman commented 5 months ago

Closes #519

Issue was that the Timeline had min/max date restrictions so that the end time can never be before the start time or vice versa. So, for instance if the current start time = 1 and the current end time = 2, then mmgisAPI.setTime(3, 4) would silently fail to set the start time because it occurs after the existing end time.

Solution was to update the time restrictions before finally setting the times.