1 | ---
|
2 | layout: example.html
|
3 | title: Moveend Event
|
4 | shortdesc: Use of the moveend event.
|
5 | docs: >
|
6 | <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>
|
7 | tags: "moveend, map, event"
|
8 | ---
|
9 | <div id="map" class="map"></div>
|
10 | <label>top</label><input type="text" id="top">
|
11 | <label>right</label><input type="text" id="right"><br>
|
12 | <label>bottom</label><input type="text" id="bottom">
|
13 | <label>left</label><input type="text" id="left">
|