Select to view content in your preferred language

Add Loading Icon to Mobile View of Shortlist App

560
0
11-15-2016 12:04 PM
PatrickMcKinney1
Occasional Contributor III

I'm developing a Shortlist Story Map application that has 9 tabs.  Based upon an issue with a separate shortlist app, I have wrapped the `initMap(layers)` call around line 586 of the `main.js` file in a setTimeout function to ensure the layers load.

For non-mobile devices there is a loading icon.  However, for mobile devices, there is no loading icon.  The user will see the plain background until the tabs load.


I was wondering if anyone had some code snippets to add in a loading icon for mobile versions of the app?  It would improve the user experience.

I am using version 1.4.9 of Shortlist.  Here is the development site for the app. 

I appreciate any help or nudging anyone can provide!

0 Kudos
0 Replies