Solved

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

Posted on 2009-04-10
1
3,054 Views
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!
0
Comment
Question by:ThanksWelcome
1 Comment
 
LVL 8

Accepted Solution

by:
rweil earned 500 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.

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

A short article about problems I had with the new location API and permissions in Marshmallow
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

830 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