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
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 |
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
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
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?