Built a couple of local layers, Blue Marble & Timezones, would you want them upstream? #3447
NateDogDotNet
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've been running World Monitor self-hosted for a while now and built a couple of map layer pieces to fill some wishlist items of mine. I just wanted to offer them up if they are of interest to you. If not, no worries.
First piece is a new Blue Marble layer that works on both the 2D map and the 3D globe, and composes with the existing Day/Night toggle.
On the 2D map, the
blueMarbletoggle adds NASA BMNG imagery as a MapLibre raster source. When Day/Night is also on, the dark side swaps to NASA Black Marble city lights and the day side keeps BMNG.On the 3D globe, the toggle swaps the globe to NASA imagery with both BMNG and Black Marble bundled locally. Black Marble goes on as an emissive texture, plus a night-mask shader inject on the
MeshPhongMaterialso the city lights only render where the sun isn't hitting.Also rolled in there: sun-tracking directional light, atmosphere tint LERP near the terminator, slow cloud sphere drift. Refresh tick is 5 minutes to match the existing refresh.
Second piece is timezone bands on both 2D and 3D. New
timezonestoggle, bundled with a Mapshaper-simplified Natural Earth GeoJSON (267 KB, Antarctic clipped, dateline rings cleaned). 3D uses globe.gl paths plus UTC labels merged into the existinglabelsDatacall.If you'd want a PR, I'd include this in the body so you don't have to worry about commercial relicensing:
2D Blue Marble + Day/Night — city lights on the night side, BMNG on the day side

3D globe Blue Marble + Day/Night — city lights bound to the dark hemisphere via the night-mask shader

2D timezones + Day/Night — UTC labels readable across the seam

3D globe with timezones + Day/Night + Blue Marble all on

All reactions