Toggling Neatline SIMILE timeline on/off?

Hi all,

I'm just wondering if it would be possible to add a function for users to toggle the effects of the Neatline SIMILE timeline.

I'm displaying many records on my Neatline map, and because the amount would so overwhelm the timeline (there would be too many titles stacked on top of each other), I have it so that the records simply appear or disappear on the map as the user scrolls through dates. So, I'm using the Before and After date fields, but not enabling the widget for each record.

It would be nice, though, to give users the option of turning off the effects of the timeline, and therefore having Neatline present all records on the map regardless of the Before and After dates. Is there a way to do this, possibly by making a Neatline API call –– or is the timeline not part of the Neatline API parameters?


Hi Stephen,

There's no way to do that currently. The place where the filter is applied is on this line.

Adding this would involve several steps:

  • Create the user interface button or whatever to toggle the setting.
  • In the code I linked to, check the state of that toggle and either apply or ignore filter.


Eric, thanks for the quick reply. This is just what I was looking for –– I'll try playing around with it and see if I can get something to work.