Solved

Display Google Map with addresses stored on website

Posted on 2014-11-05
2
114 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 108

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

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

911 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

17 Experts available now in Live!

Get 1:1 Help Now