Filtering Data Display by an external click

Permalink Browser Info Environment
I'd like to add an interactive map (http://newsignature.github.io/us-map/) to a page and use the data display block for the content. I'd like to be able to apply a filter dynamically by clicking on a state in the map and passing that variable to the content block.

I see that you can assign a filter to the block itself, and you can add a filter form to that block. So hopefully, it's not too big a leap to pass that variable from the map, rather than from the integrated filter form...

Any chance that's possible?

Thanks

Type: Discussion
Status: New
Metaglyphics
View Replies:
Metaglyphics replied on at Permalink Reply
Metaglyphics
Thinking about this a little more, I think the answer is to feed the content to the jquery.usmap.js (http://newsignature.github.io/us-map/) script from an XML file.

It looks like Data Display is essentially XML, with the parameters defined by a combination of the template and the content block parameters.

So is it possible to render those results as an actual XML file that can be grabbed by the map's script. rather than placing a Data Display content block on a page?
fauners replied on at Permalink Reply
fauners
Hi
sorry i didnt see this before i posted my own thread on a map i got working.
i also got a google geochart working too that might be down the lines of what you are looking for.
Havent done anything with the sorting though, basically with the geochart you can click on each country and a description comes up in the side bar area.
You can set the geochart to use US states as well.
If you havent got this to work yet let me know and i'll try send you a link to a demo of it

adam

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.