UNPKG

556 BHTMLView Raw
1---
2layout: example.html
3title: Moveend Event
4shortdesc: Use of the moveend event.
5docs: >
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>
7tags: "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">