Closed hansgunnar closed 4 years ago
A code sample or other information would be helpful.
Hi, I'm just using it like this:
var locationService = new GoogleLocationService();
var locationAddress = locationService.GetAddressFromLatLang(tripMessage.Latitude, tripMessage.Longitude);
location = locationAddress.Address;
The latitude and longitude values are of type double. Got a try catch around that. There shouldn't be any more to it, should it?
Thanks
You probably need to set an API KEY (see docs) as without it, you're probably getting refused. Without more info, I can't help you.
Hi, I am trying to use Location services to resolve lat long coordinates into an address but when I am trying to use that method I get a 400 Bad Request, any idea Why?