diff --git a/examples/image-load-events.html b/examples/image-load-events.html new file mode 100644 index 0000000000..a979d70284 --- /dev/null +++ b/examples/image-load-events.html @@ -0,0 +1,79 @@ + + +
+ + + + + + + +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.
+
+ See the image-load-events.js source + for more detail on how this is done. +
+