1 | ---
|
2 | layout: example.html
|
3 | title: Tile Load Events
|
4 | shortdesc: Example using tile load events.
|
5 | docs: >
|
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>
|
11 | tags: "tile, events, loading"
|
12 | ---
|
13 | <div class="wrapper">
|
14 | <div id="map" class="map"></div>
|
15 | <div id="progress"></div>
|
16 | </div>
|