GeolocatorPlugin icon indicating copy to clipboard operation
GeolocatorPlugin copied to clipboard

[Feature request] `GetAddressesForAddressAsync(string)`

Open ElteHupkes opened this issue 6 years ago • 0 comments

I'm working on a search functionality for locations, which lets the user enter an address and it returns the matches for it. Kind of like GetPositionsForAddressAsync, but with the rest of the address information. In at least the Android an iOS implementations of GetPositionsForAddressAsync the actual queries have address information, but it is discarded before it is returned. I would like that information without making another redundant call to GetAddressesForPositionAsync. Presently I extend the Geolocator just for that functionality.

I propose a GetAddressesForAddressAsync(string) method that returns full address objects. I'll create a PR if this is something you'd consider, with the caveat that I don't currently have a working Windows environment for development so I could only test it for Android / iOS. It's minimal code though, so I'm pretty confident I can create even the UWP version without much issue.

ElteHupkes avatar May 11 '18 09:05 ElteHupkes