473,386 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to Find the Latitude and Longitude values from the Google Maps

Hai everyone,

I need to find the Latitude and Longitude values for any one of the Particular location from the Google Maps, using pure java class.

I know, it's done by using javascript, but i need to use pure java class not javascript.

If we provide full address of the location or city or state or country or pincode, then we get the Latitude and Longitude values for the particulars in the google maps.

If anyone having any sample code, it's very useful for me, please help me.

can anyone know this, please healp me

waiting for replies.
Oct 6 '07 #1
1 3345
JosAH
11,448 Expert 8TB
Hai everyone,

I need to find the Latitude and Longitude values for any one of the Particular location from the Google Maps, using pure java class.

I know, it's done by using javascript, but i need to use pure java class not javascript.

If we provide full address of the location or city or state or country or pincode, then we get the Latitude and Longitude values for the particulars in the google maps.

If anyone having any sample code, it's very useful for me, please help me.

can anyone know this, please healp me

waiting for replies.
A rude but simple method would be using a HttpURLConnection on the particular
page. If the connection is successful simply slorp in the entire content of the page
and filter out your lat/long coordinates if they're part of the content of the page.

kind regards,

Jos
Oct 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Galsaba | last post by:
Anyone knows how I can find a script for "Find a Dealer near you" locator script? I prefer to have it in two stages: 1. The customer will enter his address, and then the result will be a list of...
1
by: AJ | last post by:
I'm trying to javascript for my first time using the Google Maps API program. I was wondering if anybody could explain how to convert an address into latitude and longitude in my javascript. using...
5
by: arial | last post by:
Hi all, I have a sql .bak file which i need to convert into xml file. can someone help with this? pointing out to some tutorial or some suggetion on how to start? Thak you,
1
omerbutt
by: omerbutt | last post by:
hi i am trying to store the longitude and latitude i have made the table with 3 columns codes, longitude , latitude and the type for longitude and latitude is decimal(15,11) but there are different...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.