]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/search.html
control requesting polygons from API without hidden HTML field
[nominatim-ui.git] / dist / search.html
index b3e2b032ae5d05da845d05337700439c6a88be9d..afb6c33adb69e28514e988e0fb1b0d0622f374a9 100644 (file)
     </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"