Update some example styles / formatting

This commit is contained in:
Maximilian Krög
2020-08-01 11:47:26 +02:00
parent 82328fe2c1
commit 37e5529b22
14 changed files with 97 additions and 92 deletions

View File

@@ -3,11 +3,15 @@ layout: example.html
title: Moveend Event
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>
<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 id="map" class="map"></div>
<label>top</label><input type="text" id="top">
<label>right</label><input type="text" id="right"><br>
<label>bottom</label><input type="text" id="bottom">
<label>left</label><input type="text" id="left">
<label>left:</label> <input readonly="readonly" type="text" id="left">
<label>right:</label> <input readonly="readonly" type="text" id="right">
<label>bottom:</label> <input readonly="readonly" type="text" id="bottom">
<label>top:</label> <input readonly="readonly" type="text" id="top">