Open keenanjohnson opened 2 years ago
Here's an implementation with leaflet alone (not dash): https://github.com/joergdietrich/Leaflet.Terminator
To clarify, which would be better for user experience?
If #1, then I think adding overlays per @spestana 's suggestion makes sense.
If #2, I think it would just be a matter of dynamically updating the map style of the tileset based on geolocation and timestamp.
I have a work in progress on a branch here with some promising results now, but it still needs some fine tuning with the map display.
It's a dash-leaflet (python) version of the plain leaflet (js) code here: https://github.com/joergdietrich/Leaflet.Terminator
oh wow! This is awesome @spestana ! I continue to be impressed with the capabilities of dash / plotly.
From a Ribbit Network user: It would be great to have some sort of night/ day shading of the graph background, so you know where you are at in time.