Solved

Display Google Map with addresses stored on website

Posted on 2014-11-05
2
120 Views
Last Modified: 2014-11-06
Hi all.

I have a php page where I enter the following information, it gets saved in the vendorAddress table on the webserver:

Builder, Address, City, State, Zip Code
Community, Address, City, State, Zip Code

Now I want to be able to display a Google Map with all of the information in the vendorAddress table with markers on the map for each.

I do not know the latitude and longitude, just the address.

How can I do this?

Thank you in advance.
0
Comment
Question by:Sim1980
2 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 250 total points
ID: 40425342
Click here on "Javascript + HTML" : https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple

The best is to locate the vendor lat and long because reverse geocoding may give you wrong results
0
 
LVL 109

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 40425473
Google can geocode addresses, if you have the appropriate application permissions.  You do not need to have the lat/lon data.  If you do not have these permissions you can buy them.  Here is some background information that may be helpful.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_3350-Using-the-Google-Maps-API-in-PHP.html
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Autocomplete with Jquery Question 2 21
Search Item in Table 2 23
On Load function does not trigger on iPhone 4 37
Clear input text 15 8
This article discusses how to create an extensible mechanism for linked drop downs.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remaiā€¦
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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