2 {{#*inline "partial_one_result"}}
3 <div class="result" data-position="{{iResNum}}">
5 <img src="{{env.Images_Base_Url}}{{aResult.icon}}" />
6 {{!-- {{formatMapIcon aResult.icon}} --}}
9 <span class="name">{{aResult.display_name}}</span>
10 <span class="type">{{formatLabel aResult}}</span>
11 <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>
13 <a class="btn btn-default btn-xs details" href="details.html?osmtype={{shortOSMType aResult.osm_type}}&osmid={{aResult.osm_id}}">details</a>
17 <form class="form-inline" role="search" accept-charset="UTF-8" action="">
18 <div class="form-group">
19 <input name="format" type="hidden" value="html">
20 <input name="lat" type="text" class="form-control input-sm" placeholder="latitude" value="{{fLat}}">
21 <span id="switch-coords"><></span>
22 <input name="lon" type="text" class="form-control input-sm" placeholder="longitude" value="{{fLon}}">
24 <select name="zoom" class="form-control input-sm" value="{{iZoom}}">
28 <div class="form-group search-button-group">
29 <button type="submit" class="btn btn-primary btn-sm">Search</button>
31 <div class="search-type-link">
32 <a href="/search.html">forward search</a>
39 <div id="searchresults" class="sidebar">
40 {{>partial_one_result iResNum=0 aResult=aPlace env=env}}
43 <div id="intro" class="sidebar">
44 Search for coordinates or click anywhere on the map.
48 <div id="map-wrapper">
49 <div id="map-position">
50 <div id="map-position-inner"></div>
51 <div id="map-position-close"><a href="#">hide</a></div>