Solved

How to convert an address to GPS coordinate from JavaScript?

Posted on 2014-09-06
2
748 Views
Last Modified: 2014-09-06
Hi.

I would like to convert some addresses to its GPS coordinates. I need this from Javascript (not from php). Is this possible? Can anyone give an example?

Thank you.
0
Comment
Question by:gplana
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40307590
Any reason not to use Google Maps?

https://developers.google.com/maps/documentation/javascript/geocoding

There is another api for Google Maps which is a bit easier
http://hpneo.github.io/gmaps/
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 40307603
Great. Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article discusses how to create an extensible mechanism for linked drop downs.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now