Example sources in the examples dir

This commit is contained in:
Tim Schaub
2015-04-14 10:27:32 -06:00
parent 8fd2e9f79f
commit 89f5e711e6
309 changed files with 21 additions and 16 deletions
+17
View File
@@ -0,0 +1,17 @@
---
template: example.html
title: Moveend Example
shortdesc: Use of the moveend event.
docs: >
<p>In this example, a listener is registered for the map's <code>moveend</code> event. Whenever this listener is called, it updates the inputs below with the map extent in decimal degrees.</p>
tags: "moveend, map, event"
---
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div>
</div>
</div>
<label>top</label><input type="text" id="top">
<label>right</label><input type="text" id="right">
<label>bottom</label><input type="text" id="bottom">
<label>left</label><input type="text" id="left">