X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3502ff837ff1718083ba084ced332a9c66ac15a8..0115b655bdcb294550548149e056f695101ba1d4:/lib/template/details-json.php diff --git a/lib/template/details-json.php b/lib/template/details-json.php index 06554aba..4afb1b0b 100644 --- a/lib/template/details-json.php +++ b/lib/template/details-json.php @@ -33,7 +33,7 @@ if ($aPointDetails['icon']) { $aPlaceDetails['rank_address'] = (int) $aPointDetails['rank_address']; $aPlaceDetails['rank_search'] = (int) $aPointDetails['rank_search']; -$aPlaceDetails['isarea'] = ($aPointDetails['isarea'] == 't'); +$aPlaceDetails['isarea'] = $aPointDetails['isarea']; $aPlaceDetails['centroid'] = array( 'type' => 'Point', 'coordinates' => array( (float) $aPointDetails['lon'], (float) $aPointDetails['lat'] )