Azure / Azure/azure-sdk-for-java
[FEATURE REQ] Add streetName and streetNumber to MapsSearchAddress
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
**Is your feature request related to a problem? Please describe.**
We have to migrate from `com.azure:azure-maps-search:1.0.0-beta.1` to `com.azure:azure-maps-search:2.0.0-beta.2` in order to update spring boot to version 3.4.0. All spring boot version >= 3.1.x require a newer spring cloud version than `com.azure:azure-maps-search:1.0.0-beta.1` supports.
Since version 2.2.0-beta.1 the fields `street` and `streetNumber` are removed from the `MapsSearchAddress`. We need this fields for our own Address representation and it is not really possible to extract them from the `addressLine` as the street and street number are placed in a different order for different countries.
**Describe the solution you'd like**
It would be very helpful when the fields `streetName` and `streetNumber` are added to the `MapsSearchAddress`.
The address returned by the `getReverseGeoCoding` api has the fields `streetName` and `streetNumber` ([link to the docs](https://learn.microsoft.com/en-us/rest/api/maps/search/get-reverse-geocoding?view=rest-maps-2025-01-01&tabs=HTTP#address)) why I think it should be possible.
Contributor guide
Assessment
This issue has not been assessed yet.