Example using image load events.
Image sources fire events related to image loading. You can listen for imageloadstart
, imageloadend
, and imageloaderror
type events to monitor image loading progress. This example registers listeners for these events and renders an image loading progress bar at the bottom of the map.