Map 3d [WIP]

This will be my WIP PR for 3d stuff that is not "ready" for merge yet. I just have it here so you can see what I'm doing, comments are welcome but not requested.

Related issue #6818