]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-html.php
return actual centroid lat,lon of reverse geocoding result
[nominatim.git] / lib / template / details-html.php
index 8bef4791b2d40e76a875a9c34fbd8788fad0cfea..a02d3abf979143a8a934217805469c77ceb91fc3 100644 (file)
@@ -148,6 +148,24 @@ foreach($aPolyPoints as $aPolyPoint)
        }
        echo '</div>';
 
+       if ($aPlaceSearchNameKeywords)
+       {
+               echo '<h2>Name Keywords</h2>';
+               foreach($aPlaceSearchNameKeywords as $aRow)
+               {
+                       echo '<div>'.$aRow['word_token'].'</div>';
+               }
+       }
+
+       if ($aPlaceSearchAddressKeywords)
+       {
+               echo '<h2>Address Keywords</h2>';
+               foreach($aPlaceSearchAddressKeywords as $aRow)
+               {
+                       echo '<div>'.($aRow['word_token'][0]==' '?'*':'').$aRow['word_token'].'('.$aRow['word_id'].')'.'</div>';
+               }
+       }
+
        if (sizeof($aParentOfLines))
        {
                echo '<h2>Parent Of (named features only):</h2>';