Solved

Google map with clusterer and filter

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.

757 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

21 Experts available now in Live!

Get 1:1 Help Now