Where i can get data of location by Latitude and Longitude without google map

I have data Latitude,Longitude  . and i want to get location without use javascript to get address from google map. can i do that ? or there is some where that i can get all  address data with Latitude,Longitude. so  i will get address only my country then save to database. then when i want to use location i just pull data by Latitude,Longitude from my database .

or any one have another idea
aimdsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Avinash ZalaWeb ExpertCommented:
try below code:




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<title>Google Maps JavaScript API Example: Tile Detector</title>
	<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=Your google map key here" type="text/javascript"></script>
	<script type="text/javascript">
	

	function showAddress(address) {
		
			geocoder = new GClientGeocoder();
		if (geocoder) {
			geocoder.getLatLng(
				address,
				function(point) {
					if (!point) {
						alert(address + " not found");
					} else {
						var latitude = point.lat().toFixed(5);
						var longitude = point.lng().toFixed(5);
					}
				}
			);
		}
	}

	showAddress('uk');
	
</script>

Open in new window

0
aimdsAuthor Commented:
How can i do it in window form (my application is window application(c#.net))
and I need to for..loop to get many address
can i do that ?
0
aimdsAuthor Commented:
I tried to use webBrowser1.Document.InvokeScript("GetAddress", new object[] { "uk" });
it's work only first time when i call it in event webBrowser1_DocumentCompleted
but i want  to for..loop to get many time
0
Avinash ZalaWeb ExpertCommented:
Sorry but i am not ggod at C#.net. But  You can simply create for loop in javascript and call this function like below:

<script>
var addressArray=[];

addressArray[0]='usa';
addressArray[0]='uk';
addressArray[0]='australia';
addressArray[0]='india';
addressArray[0]='south africa';
for(var i=0;i<5;i++)
{
    showAddress(addressArray[i]);
}
</script>


Hope this helps
Addy
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.