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

Google map with clusterer and filter

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
atljarman
Asked:
atljarman
1 Solution
 
Ray PaseurCommented:
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
 
atljarmanAuthor Commented:
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
 
DhaestCommented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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