lcesri

Tax Parcel Viewer - How to ShowProgressIndicator when Panning Map/Parcels Loading?

Discussion created by lcesri on Jan 24, 2014
Latest reply on Jan 24, 2014 by jwestman-esristaff
Hi all,

To anyone who is familiar with the Tax Parcel Viewer (http://www.arcgis.com/home/item.html?id=23cc5b90b78d45e0bd51ede193328568), our users are requesting we have a progress indicator for when the user is panning the map and image data is still loading, and I am not sure where to start. Currently, when the data is loading, the map just shows the background color of the basemap, and the concern is that because sometimes it takes a few seconds to load, unless the user knows it is loading, they will leave the page.

I realize it might be difficult to propose a solution without seeing our code (I can provide links to code , but it is the standard Tax Parcel Viewer 10.2 application, and of course we are using our own locally-hosted map services with the application).

You can replicate the issue by doing the following:

1. Go to http://www.lcounty.com/taxparcelviewer/
2. Quickly zoom in to any area of the county (say the middle of Newark township, for example). You will see roads, but the map will take a few seconds to load all the text. The goal is for there to be a progress indicator while this loading is taking place (the application's ShowProgressIndicator function in utils.js would be fine for now). I'm just having a hard time finding the place in the TPV's code where I would call this function so it would do what we need.

Please let me know if you have any ideas regarding this. Help is much appreciated.

Outcomes