Look for this line of code in compact-painter.js: previousInstantEvent.getStart().getTime() == evt.getStart().getTime())
I think it's around 131th line. Here you can specify the range of images which will be grouped. On May 1, 12:17 am, Paul09 <[email protected]> wrote: > Hi & Thank you Alexey, > > I will try to swap the order and get the newest items on top. However, > there will still be items pushed out of sight - unnecesarily. > > That is because I am using the compact painter with images ON the > timeline, like in this example > :http://www.simile-widgets.org/timeline/examples/compact-painter/compa... > > And only images with EXACTLY the same date/time seem to get stacked. > That's a pity, because if that would be changed to images that are > within a certain distance from one another (a range), a lot more > events would fit on the same spot. > > Can you / someone push me into the right direction of where tot start > looking for changing the "EXACT" date/time approach for stacking, > into a "RANGE" date/time approach for stacking the images? > > Cheers, > Paul > > On 27 apr, 07:49, Alexey Smirnov <[email protected]> wrote: > > > > > > > > > Hi Paul, > > > > Am I correct that image-stacking (compact painter) only applies to items > > > that are of exactly the same date/time? > > > > I have some crowded places on my timeline with items that are (apparently) > > > pushed down and out of sight. Stacking these too would be the solution, I > > > think. > > > This question has been raised some time ago. The problem is that the > > Timeline layout algorithm places the most recent items (for example, > > recent blog posts if you visualize RSS feed) to the bottom. It applies > > a sweeping algorithm that starts from older items and places them on > > top, but the younger items end up being out of sight. > > > There is no solution to that except patching the Timeline source code. > > It is not difficult though to change the direction of sweeping > > algorithm backward, so that newest items are shown first. > > > Alexey > > > > Of course I could create hotzones for these crowded places. But as I am > > > trying to create an 'on-the-fly' system (which pulls the items directly > > > from > > > an often-updated database), this would become a tedious task. > > > > Cheers, > > > Paul > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "SIMILE Widgets" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
