---
layout: example.html
title: Image Load Events
shortdesc: Example using image load events.
docs: >
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. The
progress bar is shown and hidden according to the map's loadstart
and loadend
events.
tags: "image, events, loading"
---