Solved

Google map with clusterer and filter

Posted on 2012-03-30
6
1,044 Views
Last Modified: 2013-11-10
Hi,

I'm looking for a google map example that has XML file for the source which clusters the map icons and allows the user to filter the items on the map by category using checkboxes.  If possible I would like to have a drop down box for a specific year or all years.  When the user makes a change to the checkbox or drop down, the map clusters meted to be updated.

There are plenty of samples on clustering of map icons, and I've used a filter on the map, but I have not used both together.  I am hoping someone out there has a sample.

The XML format is like this:

<file>
<marker>
....
</marker>
</file>
0
Comment
Question by:atljarman
6 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 37792969
Can you please post the code you have so far?  This sounds like a fairly large project (as distinct from a how-to question) and I'd like to see what the existing effort has produced.  Perhaps we can build some of the parts on top of your existing code base.  Thanks, ~Ray
0
 

Accepted Solution

by:
atljarman earned 0 total points
ID: 37797679
Ray,

Sorry for the delay.  It took me a while to locate my files and where I left off.  I was able to make the clusterer based on XML data (all files attached).  I was never able to get the checkbox function to work (example:http://www.geocodezip.com/v3_MW_example_categories.html).  

In this example, I would like to be able to filter via checkbox if the pharmacy sells human or animal drugs (tp variable).  Then I would like to be able to have check boxes if they are in grp 1, 2, 3, or 4.  While not in the sample xml file, more than one group number can be assigned to the grp variable.

I don't think I've seen an example of this anywhere on the web, and have looked over the past 3-4 years trying to gleen the best of the examples.

I did notice that my xml format requested initially was not the same as I've attached.  One positive is that it is the same format is the geocodezip.com category sample.
markerclusterer.js
downloadxml.js
pharmacies.html
pharmacies.xml
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 38249572
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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 …
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now