Example using tile load events.
Image tile sources fire events related to tile loading. You can
listen for tileloadstart, tileloadend,
and tileloaderror type events to monitor tile loading
progress. This example registers listeners for these events and
renders a tile loading progress bar at the bottom of the map.
See the tile-load-events.js source for more detail on how this is done.