]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/searchpage.hbs
Merge pull request #15 from mtmail/master
[nominatim-ui.git] / dist / searchpage.hbs
index 1d3c92ca49a1fd654c48ea1b5429e94b04526953..7451398d88c148222ec792eaf6a29aa7397ed56f 100644 (file)
@@ -1,9 +1,6 @@
 {{#*inline "partial_one_result"}}
   <div class="result" data-position="{{iResNum}}">
-    {{#if aResult.icon}}
-      {{!-- <img src="{{env.Images_Base_Url}}{{aResult.icon}}" /> --}}
-      {{formatMapIcon aResult.icon}}
-    {{/if}}
+    {{formatMapIcon aResult}}
 
     <span class="name">{{aResult.display_name}}</span>
     <span class="type">({{formatLabel aResult}})</span>
@@ -62,9 +59,6 @@
     </div>
     <div class="form-group search-button-group">
             <button type="submit" class="btn btn-primary btn-sm mx-1">Search</button>
-      {{#if env.Search_AreaPolygons}}
-        <input type="hidden" value="1" name="polygon_geojson" />
-      {{/if}}
       <input type="hidden" name="viewbox" value="{{sViewBox}}" />
       <div class="form-check form-check-inline">
         <input type="checkbox" class="form-check-input"