Hello all,
I am trying to access an eventSource element.
I create my timelines dynamically using the following:
tl.loadJSON(type, function(json, url) {eventSource.loadJSON(json, url);});
url is a Servlet PrintWriter output.
I currently have a link in the info bubble that calls a function on an
Iframe that contains a map.
I need to call this function when the dots are clicked (not from inside the
bubble).
I can already override the bubble popup and can call a function that takes
no parms.
I need to somehow call that function that will pass parms(specifically lat
and lon).
I did see this post below but I dont see how I can relate it to the way I
set the eventSource:
On Sat, Mar 10, 2007 at 11:06:19PM -0500, David Huynh wrote:
I saw this in your code:
var evt = new Timeline.DefaultEventSource.Event(date,null,null,null,
false,title,point,
null,null,
null,color,null);
You can just add something to evt, e.g.,
evt.point = point;
I don't think there's any "right" solution...
I have total control of the creation of the json so can I add a new element
to the json string.
If so, how can I access this element?
Thanks in advance.
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general