Solved

Display Google Map with addresses stored on website

Posted on 2014-11-05
2
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 110

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

626 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