allReady icon indicating copy to clipboard operation
allReady copied to clipboard

Manual Request Creation - Latitude/Longitude Lookup

Open stevejgordon opened this issue 10 years ago • 3 comments

When creating a request via the admin UI and saving it via EditRequestCommandHandler we should call the Bing API to determine the latitude and longitude for storage in the DB.

We need these details when representing the requests on the map.

stevejgordon avatar Oct 26 '16 12:10 stevejgordon

@stevejgordon FYI, there is an IGeocoder abstraction that I found when picking up work on PR #1111 that is also used in ImportController. ImportController allows the import of Requests via a CSV. IGeoCoder is implemented by GoogleGeocoder in Startup.cs.

Not too sure if this is the same thing, or something different, but I figured I'd point it out.

mgmccarthy avatar Oct 26 '16 12:10 mgmccarthy

Thanks @mgmccarthy. I've literally just stumbled on that when digging into the code!

stevejgordon avatar Oct 26 '16 12:10 stevejgordon

I'm looking at this one.

tonylambert avatar Nov 16 '16 04:11 tonylambert