Last post Sep 22, 2010 06:42 AM by dharit utpal mehta
Sep 22, 2010 05:05 AM|botii88|LINK
i have a big problem! this code worked some month ago, and now the last line drop an error (time out)!
i wanna convert the address to geocode. i set the google api key, and i see the map without the last line.
i think the problem is the "sMapKey", because the remaining functions are working. the "sMapKey"-s value is the google api key!
(i generated the key for "localhost", i think its good, because, i can see the map, just the getGeoCodeRequest funciton not working)
please help me, its important for me!
protected void Page_Load(object sender, EventArgs e)
String sMapKey = System.Configuration.ConfigurationManager.AppSettings["googlemaps.subgurim.net"];
Subgurim.Controles.GeoCode GeoCode1= new GeoCode();
sStreetAddress = "Szombathely";
GeoCode1 = GMap1.getGeoCodeRequest(sStreetAddress,sMapKey);
<cc1:GMap ID="GMap1" runat="server" Key="......myKey......." />
<add key="googlemaps.subgurim.net" value="......myKey......." />
thanks a lot,
(sorry, my english is not so good)
Sep 22, 2010 06:38 AM|smirnov|LINK
GeoCode myGeoCode = new GeoCode;
myGeoCode = GMap1geoCodeRequest(sStreetAddress.ToString(), sMapKey);
if it doesn't help, check if there is any new version available. Maybe it's due to that fact that Google API v.2 has been deprecated.
Sep 22, 2010 06:40 AM|mehta.rahulit|LINK
try this code and address in this code
if this works , means only the address u are giving is not working
Sep 22, 2010 06:42 AM|Dharit Utpal Mehta|LINK
I guess,You are using AJAX control to popup the map.So,I think you should use update panel before.And reply me is it working properly or not.