8000 Add support for displaying municipality in AzureMaps autocomplete results by kryber · Pull Request #1242 · geocoder-php/Geocoder · GitHub
[go: up one dir, main page]

Skip to content

Add support for displaying municipality in AzureMaps autocomplete results #1242

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added support for 'municipalities' in AzureMaps provider
  • Loading branch information
Krystof Bernat authored and Krystof Bernat committed Jan 30, 2025
commit 9c231d235920e79bb191916bf8636840f5dbdc79
1 change: 1 addition & 0 deletions src/Provider/AzureMaps/AzureMaps.php
< 5A43 td class="blob-num blob-num-expandable" colspan="2"> Expand Up
Original file line number Diff line number Diff line change
@@ -225,6 +225,7 @@ private function formatGeocodeResponse(\stdClass $response): array
$builder->setCountryCode($result->address->countryCode ?? null);
$builder->setCountry($result->address->country ?? null);
$builder->setPostalCode($result->address->extendedPostalCode ?? null);
$builder->setLocality($result->address->municipality ?? null);

return $builder->build();
}, $response->results);
Expand Down
0