Example sources in the examples dir
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
template: example.html
|
||||
title: Tile load events example
|
||||
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>
|
||||
This example creates a "rotate to north" button.
|
||||
tags: "tile, 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