diff options
Diffstat (limited to 'perllib/FixMyStreet/Geocode')
-rw-r--r-- | perllib/FixMyStreet/Geocode/Google.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Geocode/Google.pm b/perllib/FixMyStreet/Geocode/Google.pm index 5261bb7e4..e64d02c4c 100644 --- a/perllib/FixMyStreet/Geocode/Google.pm +++ b/perllib/FixMyStreet/Geocode/Google.pm @@ -53,7 +53,7 @@ sub string { next unless $c->cobrand->geocoded_string_check( $address ); ( $longitude, $latitude ) = map { Utils::truncate_coordinate($_) } - ($_->{geometry}{location}{lat}, $_->{geometry}{location}{lng}); + ($_->{geometry}{location}{lng}, $_->{geometry}{location}{lat}); push (@$error, { address => $address, latitude => $latitude, |