Example sources in the examples dir
This commit is contained in:
18
examples/image-load-events.html
Normal file
18
examples/image-load-events.html
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
template: example.html
|
||||
title: Image load events example
|
||||
shortdesc: Example using image load events.
|
||||
docs: >
|
||||
<p>Image sources fire events related to image loading. You can
|
||||
listen for <code>imageloadstart</code>, <code>imageloadend</code>,
|
||||
and <code>imageloaderror</code> type events to monitor image loading
|
||||
progress. This example registers listeners for these events and
|
||||
renders an image loading progress bar at the bottom of the map.</p>
|
||||
tags: "image, events, loading"
|
||||
---
|
||||
<div class="row-fluid">
|
||||
<div class="span12 wrapper">
|
||||
<div id="map" class="map"></div>
|
||||
<div id="progress"></div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user