Solved

Display Google Map with addresses stored on website

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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.…

738 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