Closed smalers closed 4 years ago
Is it also possible to indicate in the legend when a data layer is still loading? For example the US wildfires map takes a few seconds for the layer to load and if uncomfortable to the user they may reload the page or do something else that makes the situation worse. On the other hand, we don't want spinners on the main map all the time. Is it possible to show a spinner or "horizontal back and forth" indicator to show that a layer is in the process of loading? If an error results, then an error indicator could be shown.
The first push for this has been completed. If a property path is incorrect, or a server is currently unavailable, a red triangular warning sign will appear. Still a work in progress.
Is this done. I think I tried specifying a bad geojson path and it showed a triangle. See if this can be tested and close.
I tested as well and it was looking okay. Any other problems found later can be opened as their own issues. Closing this issue.
Now that we are starting to use web services for data layers, there is more potential that a layer is not available due to various reasons. In these cases hopefully an error code is being generated that can be handled. Rather than not showing the layer on the map or having the app crap out, I recommend the following: