Skip to content

Cannot zoom out more than 30,000 years / "Something is wrong with the Timeline scale" when zooming out too much #1327

Open
@phil294

Description

@phil294

Hi,
I copypasted the example from the README, zoomed out to the maximum and got an error. https://jsbin.com/sicayuhine <- Zoom out until you can no more, and you will see:

"Something is wrong with the Timeline scale. Limited drawing of grid lines to 1000 lines."

img

Outside of JS Bin, this error does not occur for some reason, but it does, as soon as you set zoomMax to a high enough value. I think it depends on the screen width. On my system (Linux, Firefox, 1920px width), the error occurs as soon as zoomMax is set to a value of 943_981_714_285_685 (943981714285686) or higher.

In short, it seems to be impossible to zoom out for more than 30,000 years without the timeline going haywire. I wanted to create a timeline that spans several billion years :|

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions