I currently have a Leaflet.js map system. It's OK, although extremely slow on anything but the fastest computer once you have loaded any non-trivial amount of markers or overlay images.
Anyway, what I would like is for the existing maps to "wrap around" a sphere representing Earth, with a black background to represent space (if zoomed out enough). I'd love to be able to toggle this on/off with a button, switching between the standard 2D view and the 3D globe.
Additionally, I would like to be able to put some sort of "height data" files (such as what I can get from a government site for my country) in a dir and tell Leaflet about these, and then have the relevant area on the 3D globe get "height differences".
All the markers and stuff would display in this mode, just like in the 2D mode. This is important.
(Of course, I would like a Google Maps-like actual 3D environment with 3D objects, but I consider that "science fiction" at this stage, especially since I want it for free and without relying on a third party service.)
Is what I ask for possible already in Leaflet? I have a vague memory of a few plug-ins that attempt to do something similar, but from what I can remember, they all suck. I would love for Leaflet itself to support this, without a plug-in required, and it seems like it would be trivial to accomplish for somebody who managed to make Leaflet in the first place, as it's essentially "just" putting the 2D textures onto a sphere in WebGL or something, and the height differences part isn't even a requirement -- it would just be a bonus.
I hope you have some happy news for me, such as: "Yeah, this is a very requested feature and has been prioritized by the Leaflet.js team. We're adding it in the next version which is due to be released next week. Then you can simply use the config option "use3DGlobe: true". Enjoy!"