]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/searchpage.hbs
control requesting polygons from API without hidden HTML field
[nominatim-ui.git] / dist / searchpage.hbs
index ae13597009ce9f7353834d6b0aeeb6cdcf689af3..7451398d88c148222ec792eaf6a29aa7397ed56f 100644 (file)
@@ -59,9 +59,6 @@
     </div>
     <div class="form-group search-button-group">
             <button type="submit" class="btn btn-primary btn-sm mx-1">Search</button>
     </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"
       <input type="hidden" name="viewbox" value="{{sViewBox}}" />
       <div class="form-check form-check-inline">
         <input type="checkbox" class="form-check-input"