2 {{#*inline "partial_one_result"}}
3 <div class="result" data-position="{{iResNum}}">
4 {{formatMapIcon aResult}}
6 <span class="name">{{aResult.display_name}}</span>
7 <span class="type">{{formatLabel aResult}}</span>
8 <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
10 <a class="details btn btn-outline-secondary btn-sm"
11 href="details.html?osmtype={{shortOSMType aResult.osm_type}}&osmid={{aResult.osm_id}}">details</a>
16 <form class="form-inline" role="search" accept-charset="UTF-8" action="">
17 <div class="form-group">
18 <input name="format" type="hidden" value="html">
22 class="form-control form-control-sm"
23 placeholder="latitude"
25 <a id="switch-coords" class="btn btn-outline-secondary btn-sm" title="switch lat and lon"><></a>
29 class="form-control form-control-sm"
30 placeholder="longitude"
32 <label>max zoom</label>
33 <select name="zoom" class="form-control form-control-sm" value="{{iZoom}}">
36 <button type="submit" class="btn btn-primary btn-sm mx-1">
40 <div class="search-type-link">
41 <a href="search.html">forward search</a>
48 <div id="searchresults" class="sidebar">
49 {{>partial_one_result iResNum=0 aResult=aPlace env=env}}
52 <div id="intro" class="sidebar">
53 Search for coordinates or click anywhere on the map.
57 <div id="map-wrapper">
58 <div id="map-position">
59 <div id="map-position-inner"></div>
60 <div id="map-position-close"><a href="#">hide</a></div>