Saturday, 25 January 2020

carto - Sunlight layer into CartoDB


I have a list of tweets on a torque map made with CartoDB. I want to add an additional layer that shows the sunlight around the world at certain times, similar to the Twitter #sunrise map found here.


Does anyone know how to add a layer like this?



Answer



It is a Leaflet plugin you can implement in any CartoDB map, you can find it here: https://github.com/joergdietrich/Leaflet.Terminator



No comments:

Post a Comment