3 ms·
I have this in the about page in the app, but this is actually based on a 2D version: http://wakingandsleeping.glitch.me http://wakingandsleeping.glitch.me I j
by OmarShehata 6y ago
I have this in the about page in the app, but this is actually based on a 2D version: http://wakingandsleeping.glitch.me http://wakingandsleeping.glitch.me
I just wanted to be able to see the day/night part (which now that I think about you can do with Cesium).
- Waterluvian 6y agoThat’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.