Jonathan Skeate
Jonathan Skeate
You shouldn't have to run that through `moment`. Would this work? ```js formatOutput: function(date) { if (date < 0) return -date + ' BC'; return date + ' AD'; }...
Do you mean at the same time or cutting down the timeline to that range? At the same time -- I wouldn't use L.Timeline for this; instead, I'd have another...
If you want to keep both a timeline and also toggle to a range view, you might be able to take advantage of the [`IntervalTree`](https://github.com/skeate/diesal/blob/master/src/ds/IntervalTree.js) (from one of my other...
I made some changes to the events (in the examples on the site; haven't published a new version yet) -- can you try them out? It works for me in...
Couldn't hurt
1. The current time is available as a property on the timeline control, `time`. You can see this in the [borders example](https://skeate.dev/Leaflet.timeline/examples/borders.html) -- open up the dev console and type...
At first I was thinking I might be able to do something neat with prototypal inheritance (basically, dynamically change the parent class of `L.Timeline` from `L.GeoJSON` to `L.GeoJSON.Pouch`), but I...
My gut says this would be difficult. The Timeline layer is a subclass of `L.GeoJSON`. That said, maybe it makes sense to generalize `L.Timeline` to just be a `FeatureGroup` so...
At least for ALE, you can use an [alias](https://github.com/w0rp/ale#5xii-how-can-i-check-jsx-files-with-both-stylelint-and-eslint) to have it run typescript checkers against `typescriptreact`
oof, coming back to this code after years of neglect is rough. I just published 1.6.0 which should have it