Skip to content

Commit

Permalink
Set lng as well as long in the output
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 2, 2024
1 parent 1471175 commit 26046ce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Revision history for Geo-Coder-Free
Added "exact" to OpenAddresses.pm
Local.pm - remove empty fields
Install bin/address_lookup
Set lng as well as long in the output

0.35 Wed Mar 6 20:48:43 EST 2024
Fix scantext.t when OSM is installed
Expand Down
1 change: 1 addition & 0 deletions lib/Geo/Coder/Free/MaxMind.pm
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ sub geocode {
return Geo::Location::Point->new({
'lat' => $rc->{'latitude'},
'long' => $rc->{'longitude'},
'lng' => $rc->{'longitude'},
'location' => $location,
'database' => 'MaxMind'
});
Expand Down
2 changes: 2 additions & 0 deletions lib/Geo/Coder/Free/OpenAddresses.pm
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ sub geocode
return Geo::Location::Point->new({
'lat' => $rc->{'latitude'},
'long' => $rc->{'longitude'},
'lng' => $rc->{'longitude'},
'location' => $location,
'database' => 'OpenAddresses'
});
Expand Down Expand Up @@ -936,6 +937,7 @@ sub _get {
$rc = Geo::Location::Point->new({
'lat' => $rc->{'latitude'},
'long' => $rc->{'longitude'},
'lng' => $rc->{'longitude'},
'location' => $location,
'database' => 'OpenAddresses'
});
Expand Down

0 comments on commit 26046ce

Please sign in to comment.