Hi,

I am trying to implement custom icons for timeline view. These custom icons 
are populated dynamically. This works perfectly if I use regular timeline 
and specify
icon URL in JSON Data as mentioned here: 
https://code.google.com/p/simile-widgets/wiki/Timeline_EventSources

But, Exhibit timeline view doesn't work :(. 

I debugged through the code and found that icon is always passed as null to 
exhibit timeline view. Following is the relevant code from: 
https://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/src/webapp/api/extensions/time/scripts/timeline-view.js

This code means we must use IconKey and IconCoder to see icons for

events in [exhibit] timeline.


Exhibit.TimelineView.prototype._internalValidate = function() {
      if ("getIconKey" in this._accessors) {
        this._iconCoder = null;
        if ("iconCoder" in this._settings) {
            this._iconCoder = this._uiContext.getExhibit().getComponent(this
._settings.iconCoder);
        }
    }
   }; How can I make exhibit timleline view behave the same way as regular 
Timeline and generate custom icons? Any help will be appreciated. Thanks, 
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to