]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
for search,details in format=HTML return geometry in geojson, not wkt. No longer...
[nominatim.git] / lib / template / search-html.php
index 02c338cd8cfe334a18018c4308b8ea195da9b0f2..115f1813e1359ae7791dd65dc4cd37f1be2c25f2 100644 (file)
@@ -17,8 +17,8 @@
         <div class="form-group search-button-group">
             <button type="submit" class="btn btn-primary btn-sm">Search</button>
             <?php if (CONST_Search_AreaPolygons) { ?>
-                <!-- <input type="checkbox" value="1" name="polygon" <?php if ($bAsText) echo "checked='checked'"; ?>/> Highlight -->
-                <input type="hidden" value="1" name="polygon" />
+                <!-- <input type="checkbox" value="1" name="polygon_geojson" <?php if ($bAsGeoJSON) echo "checked='checked'"; ?>/> Highlight -->
+                <input type="hidden" value="1" name="polygon_geojson" />
             <?php } ?>
             <input type="hidden" name="viewbox" value="<?php echo $sViewBox; ?>" />
             <div class="checkbox-inline">
@@ -27,7 +27,7 @@
             </div>
         </div>
         <div class="search-type-link">
-            <a href="<?php echo CONST_Website_BaseURL; ?>reverse.php?format=html">reverse search</a>
+            <a id="switch-to-reverse" href="<?php echo CONST_Website_BaseURL; ?>reverse.php?format=html">reverse search</a>
         </div>
     </form>