Get Address by Latitude and Longitude C Sharp

108 views
Skip to first unread message

anbuselvan

unread,
Dec 29, 2010, 4:35:55 AM12/29/10
to google-map...@googlegroups.com
hi i want  to get address for Latitude and Longitude 

i tried with below code but i am getting exception

This is the Exception
 
"Culture 'en' is a neutral culture. It cannot be used in formatting and
parsing and therefore cannot be set as the thread's current culture"


exception throw from this line
GeoResponse response = request.GetResponse();

http://googlemap.codeplex.com/wikipage?title=Google%20Geocoder&referringTitle=Documentation

 GeoRequest request = new GeoRequest(42.1438409, 24.7495615);
GeoResponse response = request.GetResponse(); // here i am getting exception
 
string address = response.Results[0].FormattedAddress;




Reply all
Reply to author
Forward
0 new messages