X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4a321487f3d44241242a1729ab4d137df1f57bfb..c792691c5280458499d6e3a6b657bd4cb9661d36:/lib/ReverseGeocode.php?ds=inline diff --git a/lib/ReverseGeocode.php b/lib/ReverseGeocode.php index 41eed262..c56c9b29 100644 --- a/lib/ReverseGeocode.php +++ b/lib/ReverseGeocode.php @@ -1,18 +1,20 @@ oDB =& $oDB; } - function setZoom($iZoom) + public function setZoom($iZoom) { // Zoom to rank, this could probably be calculated but a lookup gives fine control $aZoomRank = array( @@ -47,7 +49,7 @@ class ReverseGeocode */ - function lookup($fLat, $fLon, $bDoInterpolation = true) + public function lookup($fLat, $fLon, $bDoInterpolation = true) { $sPointSQL = 'ST_SetSRID(ST_Point('.$fLon.','.$fLat.'),4326)'; $iMaxRank = $this->iMaxRank;