Solved

Google map with clusterer and filter

Posted on 2012-03-30
6
1,055 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 109

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This video teaches users how to migrate an existing Wordpress website to a new domain.
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…

776 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