Solved

How to convert an address to GPS coordinate from JavaScript?

Posted on 2014-09-06
2
780 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

778 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