diff --git a/examples/tile-load-events.html b/examples/tile-load-events.html new file mode 100644 index 0000000000..883e42ec6d --- /dev/null +++ b/examples/tile-load-events.html @@ -0,0 +1,79 @@ + + +
+ + + + + + + +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. +
+