mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 21:54:10 +03:00
Merge pull request #1737 from mtmail/expose-isaddress-in-details-json
details JSON: also print isaddress addressline field
This commit is contained in:
commit
1047b1c191
@ -52,7 +52,8 @@ $funcMapAddressLine = function ($aFull) {
|
||||
'type' => $aFull['type'],
|
||||
'admin_level' => isset($aFull['admin_level']) ? (int) $aFull['admin_level'] : null,
|
||||
'rank_address' => $aFull['rank_address'] ? (int) $aFull['rank_address'] : null,
|
||||
'distance' => (float) $aFull['distance']
|
||||
'distance' => (float) $aFull['distance'],
|
||||
'isaddress' => (bool) $aFull['isaddress']
|
||||
);
|
||||
|
||||
return $aMapped;
|
||||
|
Loading…
Reference in New Issue
Block a user