Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4590
  • Last Modified:

How to make dynamic google map's from database?

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
dprundle
Asked:
dprundle
2 Solutions
 
nizsmoDeveloperCommented:
I'm sure you can accomplish this using the Google API:
http://code.google.com/apis/maps/index.html
0
 
Loganathan NatarajanLAMP DeveloperCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now