• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3140
  • Last Modified:

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

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!
0
ThanksWelcome
Asked:
ThanksWelcome
1 Solution
 
Roy WeilownerCommented:
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.

0
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

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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