Skip to content

Commit e827135

Browse files
author
Jules
committed
Fixing order of coordinates passed to AddressBuilder::setBound in Nominatim.php
1 parent e3a6e1a commit e827135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Nominatim/Nominatim.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private function xmlResultToArray(\DOMElement $resultNode, \DOMElement $addressN
156156
if ($boundsAttr) {
157157
$bounds = [];
158158
list($bounds['south'], $bounds['north'], $bounds['west'], $bounds['east']) = explode(',', $boundsAttr);
159-
$builder->setBounds($bounds['south'], $bounds['north'], $bounds['west'], $bounds['east']);
159+
$builder->setBounds($bounds['south'], $bounds['west'], $bounds['north'], $bounds['east']);
160160
}
161161

162162
return $builder->build();

0 commit comments

Comments
 (0)