Simplify tile and image load events examples

This commit is contained in:
Andreas Hocevar
2022-03-19 10:34:29 +01:00
parent 26e6bf505c
commit 1de3ce7e19
4 changed files with 37 additions and 53 deletions

View File

@@ -7,7 +7,9 @@ docs: >
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>
renders a tile loading progress bar at the bottom of the map. The
progress bar is shown and hidden according to the map's <code>loadstart</code>
and <code>loadend</code> events.
tags: "tile, events, loading"
cloak:
- key: pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2t0cGdwMHVnMGdlbzMxbDhwazBic2xrNSJ9.WbcTL9uj8JPAsnT9mgb7oQ