Skip to content

Commit

Permalink
Use new endpoint for Base Adresse Nationale.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsegura committed Feb 6, 2025
1 parent a09e746 commit 0d75a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Geocoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private function getGeocoder()
// For France only, use https://adresse.data.gouv.fr/
if ('fr' === $this->country) {
// TODO Create own provider to get results with a high score
$providers[] = AddokProvider::withBANServer($httpClient);
$providers[] = new AddokProvider($httpClient, 'https://data.geopf.fr/geocodage');
}
}

Expand Down

0 comments on commit 0d75a11

Please sign in to comment.