also emit place_type in json version of details

This commit is contained in:
Sarah Hoffmann 2020-03-29 21:06:39 +02:00
parent 60c4c9ef2c
commit 98750922eb

View File

@ -47,6 +47,7 @@ $funcMapAddressLine = function ($aFull) {
'place_id' => isset($aFull['place_id']) ? (int) $aFull['place_id'] : null,
'osm_id' => isset($aFull['osm_id']) ? (int) $aFull['osm_id'] : null,
'osm_type' => isset($aFull['osm_type']) ? $aFull['osm_type'] : null,
'place_type' => isset($aFull['place_type']) ? $aFull['place_type'] : null,
'class' => $aFull['class'],
'type' => $aFull['type'],
'admin_level' => isset($aFull['admin_level']) ? (int) $aFull['admin_level'] : null,