3 ms·
That’s awesome. I’m on mobile and can’t tell what tech you’re using but I bet you can just calculate day night geometries and draw them onto a Leaflet or OpenLa
by Waterluvian 6y ago
That’s awesome. I’m on mobile and can’t tell what tech you’re using but I bet you can just calculate day night geometries and draw them onto a Leaflet or OpenLayers map.
I can’t commit atm but I might poke at this and I’ll flag you if I come up with something or find an existing solution. A leaflet plug-in for this sounds like a fun little project.
- OmarShehata 6y agoYeah I'd love to see if you build off this! FYI all you gotta do to switch to 2D in this viewer is type this in the console: ``` viewer.scene.morphTo2D() ``` It might be fun to regenerate this timelapse I did with the 2D view since you can see the whole world at once: https://twitter.com/Omar4ur/status/1315325135990202369 https://twitter.com/Omar4ur/status/1315325135990202369
- modeless 6y agoThere's a flag you can pass to Cesium to show a button in the UI to switch between 2D and 3D.