Solved

How to make dynamic google map's from database?

Posted on 2007-11-29
4
4,586 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
[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
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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

635 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