Skip to content

Commit 88ff22e

Browse files
authored
Merge pull request #784 from JulesPrimo/fix-nominatim-bounds
Fixing order of coordinates passed to AddressBuilder::setBound
2 parents e3a6e1a + e827135 commit 88ff22e

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)