2

Closed

postal_town is not a valid value for GeoAddressType

description

When I use town, country the geolocation works. However when I add in the post code I get an error

postal_town is not a valid value for GeoAddressType

The address I'm passing it works perfect in Google Maps, so it's not as if the address or format of it is wrong in any way.

As far as I know I'm using v1.2 release off CodePlex
Closed Apr 2, 2012 at 7:52 AM by velio
Geo types changes to string type and GeoAddressType enum changes to static class with some known types as constants

comments

bladefist wrote Feb 11, 2012 at 7:14 PM

Getting the same thing. Been using this code block for a year, all of a sudden this week, it's crashing.

bladefist wrote Feb 11, 2012 at 7:15 PM

Use postal code: BH5 1DP to test

bladefist wrote Feb 11, 2012 at 7:31 PM

Paul,

Download the source code, edit the GeoTypes file, add postal_town at the end, compile, there you go.

spunkmyer wrote Mar 13, 2012 at 10:51 AM

Hi, where do i download the source code from? i have just added the artem.googleGeocoder dll as a reference.
I am getting the same error.
The geocoder works in javascript fine though

Cheers