]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/searchpage.hbs
Merge pull request #12 from mtmail/generate-mapicon-url
[nominatim-ui.git] / dist / searchpage.hbs
index 1d3c92ca49a1fd654c48ea1b5429e94b04526953..ae13597009ce9f7353834d6b0aeeb6cdcf689af3 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>