My first approach was to have a loop which sent off the address requests but I wasn't sure how your server would like it if I send 10 requests at once :).
The main issue for me was relating the result back to the original request. I have objects which describe an event e.g. birth. The object contains date, text and location information. I want to be able to convert the location text into a geo-location and plug it back into the original object. I couldn't think of a mechanism to do that. Perhaps the success method could pass back a user-defined object reference? That would help me.
Would it be wrong to call the success method even if an address is not found? The result count would simply be 0. I know it doesn't sound very successful but the call itself did function and my chained approach would work. It just seems to me to be a situation which is not covered: the call is successful but no matching address was found.
The two addresses which I have which don't work are:
Hollybrook Cemetery, Southampton, GB
Sloane Hospital, Beckenham, GB
Google Maps does actually find the first address but I haven't tried the other one.
What are the terms of use for your atlas service? I had originally looked at bing but that look too expensive. This is only a little project for displaying the results of my aunt's Family Tree research so I don't want it to get expensive.