Solved

How to make dynamic google map's from database?

Posted on 2007-11-29
4
4,582 Views
Last Modified: 2013-12-12
I have a database of addresses.  In my application (php/mysql) a user pulls up one address at a time.

When that address is pulled up, I want to display a google map with a marker of where that address is.

There are no lat / long in my database.  

How can I accomplish this?
0
Comment
Question by:dprundle
4 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 250 total points
ID: 20377979
I'm sure you can accomplish this using the Google API:
http://code.google.com/apis/maps/index.html
0
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 250 total points
ID: 20380504
First go through the nizsmo's API URL

then, practice the samples there and workout few samples,

so, you can dynamically add lat / long by marking the location and store it in the database.  also for the lat/long you can store the address and it could be retrieved the marked locations...etc.,

look at this sample, http://maps.forum.nu/gm_markers_from_db.php
http://www.map-server.com/googlemaps/tutorial_api2.html


0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

770 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