Right now if the submission map takes a while to load, the user only sees the message "Loading Submissions..." while the map loads. We don't show a count in the message, because while Frontend knows the number of submissions, it doesn't know the number of submissions with geo data. This issue is to improve the loading message so that it shows:
- The number of features, i.e., the number of submissions with geo data
- The number of features that have not yet been processed (the number whose extraction from the submission XML is not cached). If there are many unprocessed features, the map will take longer to load.
Frontend will request this information from Backend at the same time that it requests GeoJSON.
The goal of this issue is to give the user more information than they have now so that they can better anticipate how long it'll take the map to load.
Right now if the submission map takes a while to load, the user only sees the message "Loading Submissions..." while the map loads. We don't show a count in the message, because while Frontend knows the number of submissions, it doesn't know the number of submissions with geo data. This issue is to improve the loading message so that it shows:
Frontend will request this information from Backend at the same time that it requests GeoJSON.
The goal of this issue is to give the user more information than they have now so that they can better anticipate how long it'll take the map to load.