forked from hans/Nominatim
always return bbox ccordinates as string
fixes https://trac.openstreetmap.org/ticket/5132
This commit is contained in:
@@ -1581,7 +1581,7 @@
|
||||
$aResult['aPolyPoints'][] = array($aPoint[1], $aPoint[2]);
|
||||
}
|
||||
}
|
||||
$aResult['aBoundingBox'] = array($aPointPolygon['minlat'],$aPointPolygon['maxlat'],$aPointPolygon['minlon'],$aPointPolygon['maxlon']);
|
||||
$aResult['aBoundingBox'] = array((string)$aPointPolygon['minlat'],(string)$aPointPolygon['maxlat'],(string)$aPointPolygon['minlon'],(string)$aPointPolygon['maxlon']);
|
||||
}
|
||||
|
||||
// Is there an icon set for this type of result?
|
||||
|
||||
Reference in New Issue
Block a user