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" href="{{detailsURL aResult}}">details</a>
15 <form class="form-inline" role="search" accept-charset="UTF-8" action="">
16 <div class="form-group">
17 <input name="format" type="hidden" value="html">
21 class="form-control form-control-sm"
22 placeholder="latitude"
24 <a id="switch-coords" class="btn btn-outline-secondary btn-sm" title="switch lat and lon"><></a>
28 class="form-control form-control-sm"
29 placeholder="longitude"
31 <label>max zoom</label>
32 <select name="zoom" class="form-control form-control-sm" value="{{iZoom}}">
35 <button type="submit" class="btn btn-primary btn-sm mx-1">
39 <div class="search-type-link">
40 <a href="details.html" class="mr-2">search by id</a>
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>