Problems with Geocoding

Oct 16, 2009 at 1:14 PM

Hi All,

seems that since today the geocoding through Google requires keys?!?

I tried my application and also the newest FormsDemo with addresses in Europe and I'm getting constantly the result  "G_GEO_BAD_KEY"...

Yesterday the application worked fine.

I also rolled back to a previous version without the language stuff changes, also does not work.

Any ideas or workarounds ?


Thanx in advance

Oct 16, 2009 at 3:07 PM

i see, you can try this one

Oct 19, 2009 at 5:53 AM

I'm getting the exact same error. Been working fine but today I can't search for any locations

Oct 19, 2009 at 6:40 AM

google as allways changed their urls ;}

Oct 19, 2009 at 8:08 AM
Edited Oct 19, 2009 at 8:32 AM

Google geocoder now expects to see an API key otherwise error 610 is being returned.

Get your API key and patch the geocoder URL constructor.




Oct 19, 2009 at 9:14 AM

i see ;/

Oct 21, 2009 at 3:20 PM
Edited Oct 21, 2009 at 3:42 PM


To use an API key add the following line to GMaps.cs

public string SetApiKey = string.Empty;

Then change the following lines as shown here internal string MakeGeocoderUrl(string keywords)
string key = keywords.Replace(' ', '+');
return string.Format("{0}&output=csv&sensor=false&key={1}", key, SetApiKey);

internal string MakeReverseGeocoderUrl(PointLatLng pt, string language)
return string.Format("{0}&ll={1},{2}&output=csv&sensor=false&key={3}", language, pt.Lat.ToString(CultureInfo.InvariantCulture), pt.Lng.ToString(CultureInfo.InvariantCulture), SetApiKey);

In your calling application add this line:

GMaps.Instance.SetApiKey = " Your Key Goes Here "




Oct 21, 2009 at 9:07 PM

done! ;}

Feb 20, 2010 at 5:58 PM

Geocoding does not work for me. It was ok couple weeks ago. Which domain should I use while generating the key? I've tried random domain but the result is the same. Thank you.

Feb 20, 2010 at 6:01 PM

your custom name, but google still can block you ;}