UNPKG

564 BHTMLView Raw
1---
2layout: example.html
3title: Tile Load Events
4shortdesc: Example using tile load events.
5docs: >
6 Image tile sources fire events related to tile loading. You can
7 listen for <code>tileloadstart</code>, <code>tileloadend</code>,
8 and <code>tileloaderror</code> type events to monitor tile loading
9 progress. This example registers listeners for these events and
10 renders a tile loading progress bar at the bottom of the map.</p>
11tags: "tile, events, loading"
12---
13<div class="wrapper">
14 <div id="map" class="map"></div>
15 <div id="progress"></div>
16</div>