I just tried out this library and ran into a problem.
What steps will reproduce the problem?
1. I run the following to get coordinates for an address and it fails:
IGeoCoder geoCoder = new GoogleGeoCoder();
List<Address> addresses = geoCoder.GeoCode("c/o Yavapai College, 601 Black Hills Drive, Bldg I-141, Clarkdale, AZ 86324").ToList<Address>();
What is the expected output? What do you see instead?
I expected this function to return an Address object with coordinates
What version of the product are you using? On what operating system?
Using version 1.0.0.0 (downloaded today, this version number is the version number defined in the assembly, the download page I got it from on code.google.com said it was version 2.1.1) on Windows 7 64-bit (and .NET Framework 4)
Please provide any additional information below.
Here is the error type and message:
ArgumentException,
"Value cannot be empty.
Parameter name: types"
Here is the stack trace:
at GeoCoding.Google.GoogleAddressComponent..ctor(GoogleAddressType[] types, String longName, String shortName)
at GeoCoding.Google.GoogleGeoCoder.<ParseComponents>d__b.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at GeoCoding.Google.GoogleGeoCoder.<ParseAddresses>d__0.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)