Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Google map with clusterer and filter

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven disable workspace resolution 1 21
Sending an input value from a view to a controller in MVC 3 22
Filktering Alphabetically 8 29
Why "Mobile First"? 5 18
"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,…
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

856 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