In google map, how to Plot multiple locations on dynamically?

Posted on 2009-04-10
Medium Priority
Last Modified: 2013-12-08
Hi all,

I need to plot multiple locations on google map dynamically. I have the adresses in a database and depending on context, I will need to show on a web browser differents addresses.
   What I need is to know how to pass parameters to maps.google.ca in order to see those multiple locations.  This way, I would program "the string" to pass to the web browser.  Anyone has clues?  Thank's in advance!
Question by:ThanksWelcome
1 Comment

Accepted Solution

rweil earned 2000 total points
ID: 24218562
You appear to have three separate problems:

1) displaying the data once you have it. (which you asked about)
2) getting the data to the browser.
3) Selecting data from the database

Task 1 can be solved by looking at the tutorials at http://econym.googlepages.com/index.htm.  In particular part 3 will show how to display locations by Loading the data from an XML file.

Task 2,3  can be solved by having your server create an XML file, and then writing some ajax code to read an XML file dynamically from your server.

Actually you do not need to do it using XML, and format will work as long as writer and reader agree about it.


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When I'm searching for answers on Experts Exchange, I often use Google because it's built into my browser.  To search only on Experts Exchange, I use the "site:" search operator, which can be cumbersome to type out each time I want to run a search.…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Six Sigma Control Plans
Introduction to Processes

627 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