windrobin / timemap

Automatically exported from code.google.com/p/timemap
MIT License
0 stars 0 forks source link

Filtering issue #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Extract the zip file to a folder.
2. Run the .html file
3. Choose "EAT" from Category combobox.
4. Scroll timeline to July (between 20th and 28th)
5. Events do not appear on Timeline, but they do appear correctly on Googlemap.

What is the expected output? What do you see instead?
The expected output is to see all filtered events on Timeline and on
googlemap, of course.

What version of the product are you using? On what operating system?
Timemap v1.5
Timeline v2.3.0
All browsers are affected.

Please provide any additional information below.
I tested this in FireBug. I added console.log(item.event); at
the end of  filtering function. Now in FireBug, everytime I scroll the
TimeLine, I get the list of events. I picked some event that is not
visible on the timeline. And I tried to show it manually like this:
tm.timeline.getBand(0).getEventSource()._events.getEvent
('e14').item.show(); // e14 is the id of the event that is not visible
on the timeline band 0.

I also tried tm.timeline.layout(); this caused filtering to occur
again, but still items are not visible!

The weird thing is that everytime I try this filtering, events that
disappeared in the past, disappear again (exactly the same).  Now if I
put "return true" at the top of my filtering function, everything
works 100% fine. 

Original issue reported on code.google.com by Nadeem...@gmail.com on 13 Aug 2009 at 2:40

Attachments:

GoogleCodeExporter commented 9 years ago
There's clearly an issue here, but it's really not clear that it's an issue 
with the 
timemap.js library, and in fact it seems unlikely. Generally speaking it's bad 
form to 
post a bug when you're really asking other people to fix your own code.

Original comment by nick.rab...@gmail.com on 13 Aug 2009 at 6:29

GoogleCodeExporter commented 9 years ago
Well Nick. I am not asking you to fix my code at all. I am just asking you to 
have a
look at my example code to determine if this issue is from TimeLine, TimeMap or 
my
code and to believe me, too. I thought it was a bug from timemap because you 
never
replied to my last post message though you could have said anything.

Anyway, sorry for any inconvenience! 

Original comment by Nadeem...@gmail.com on 20 Aug 2009 at 5:46