Hi,
Looks simple but it is not that simple

If the position is not on a street then you dont get back a Location object. You get always a location object if you zoom to a large altitude, but then the Country is 'Default" which does not say mutch

Also the FindNearBy seems to give only "Default" as country if it is an address
Solution is check first if you get back a location object, if not then move the position around on the circumfence of a circle with given radius and same resolution on the circumfence. Break the loop if you find a Location object containing a StreetAddress. If not then increase radius, and so on.