UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

17 lines (16 loc) 564 B
--- layout: example.html title: Tile Load Events shortdesc: Example using tile load events. docs: > Image tile sources fire events related to tile loading. You can listen for <code>tileloadstart</code>, <code>tileloadend</code>, and <code>tileloaderror</code> 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.</p> tags: "tile, events, loading" --- <div class="wrapper"> <div id="map" class="map"></div> <div id="progress"></div> </div>