]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-html.php
UI: keep map position when switch to reverse. Easy switching of lat,lon to lon,lat
[nominatim.git] / lib / template / address-html.php
index 4a9f6325eb7463e67ad830db2ac79953507b2a29..b4c7533e190f52890fbeb2f154e548cfdcf6c1cf 100644 (file)
@@ -14,6 +14,7 @@
         <div class="form-group">
             <input name="format" type="hidden" value="html">
             <input name="lat" type="text" class="form-control input-sm" placeholder="latitude"  value="<?php echo htmlspecialchars($_GET['lat']); ?>" >
+            <span id="switch-coords">&lt;&gt;</span>
             <input name="lon" type="text" class="form-control input-sm" placeholder="longitude" value="<?php echo htmlspecialchars($_GET['lon']); ?>" >
             max zoom