GeocodeRequest - Address mapping
smarteez17 opened this issue · comments
the GeocodeRequest call is not mapping all fields for Address I been testing and CountryRegionIso2, neighborhood and landmark is always null or blank
That is by design as the geocode API doesn't support those values as you can see in the docs here. Note that the GeocodeRequest class takes in a SimpleAddress
object: https://github.com/microsoft/BingMapsRESTToolkit/blob/master/Source/Models/SimpleAddress.cs
Note, if you want to geocode any address returned by another service in Bing Maps, use the formattedAddress
value of the address with the "Location by query" API, for some reason this generally works better on average.