CartoDB / odyssey.js

Making it easy to merge map and narrative
BSD 3-Clause "New" or "Revised" License
1.62k stars 188 forks source link

change visjson filter with slide? #215

Open abenrob opened 9 years ago

abenrob commented 9 years ago

trying to change the filter of the vizjson witht he slide change, but getting no results - is this intended to be supported? e.g. I have this in the global config:

-title: "TDF 2015"
-author: "abenrob"
- vizjson: "https://abenrob.cartodb.com/api/v2/viz/27e50b2a-24da-11e5-bdc3-0e853d047bba/viz.json"

if I add

- cartodb_filter: "name='Stage01'"

to the global config, it filters the entire dataset successfully. However, if I add the filter to the actions for each slide:

TDF - Stage 1

- center: [52.085, 5.152]
- zoom: 14
- cartodb_filter: "name='Stage01'"

there is no change. Are we able to access the vizlayer in the slide? Are there data actions?

Thanks!