Solved

Display Google Map with addresses stored on website

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

20 Experts available now in Live!

Get 1:1 Help Now