Can someone please explain how to use ex:iconKey correctly?
I am trying to get custom icons to work with Exhibit + Timeline. The data is coming as JSON from Google Docs, where I have an {icon} field which contains the URL for each event icon (these are single events). So I am trying to do something like:
<div ex:role="view"
ex:viewClass="Timeline"
ex:start=".start"
ex:end=".end"
ex:iconKey=".icon"
ex:timelineConstructor="myTimelineConstructor"
>
</div>
And myTimelineConstructor makes bands like this:
var bandInfos = [
Timeline.createBandInfo({
width: "20%",
intervalUnit: Timeline.DateTime.MONTH,
intervalPixels: 100,
eventSource: constructFilteredEventSource(eventSource, window.database, "category", "a"),
theme: theme
Everything works except the icons! Any help would be appreciated.