X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb76671ab9fbe6e6f40b53d8cdd4250820f79a92..fa0cf215e723401fec62a3b336a4ed8908c2bfed:/lib/template/search-jsonv2.php diff --git a/lib/template/search-jsonv2.php b/lib/template/search-jsonv2.php index 126f7866..8006e3c2 100644 --- a/lib/template/search-jsonv2.php +++ b/lib/template/search-jsonv2.php @@ -73,6 +73,9 @@ $aPlace['geokml'] = $aPointDetails['askml']; } + if (isset($aPointDetails['sExtraTags'])) $aPlace['extratags'] = $aPointDetails['sExtraTags']; + if (isset($aPointDetails['sNameDetails'])) $aPlace['namedetails'] = $aPointDetails['sNameDetails']; + $aFilteredPlaces[] = $aPlace; }