The following code is an example map with the Orthographic projection, a custom style and a custom zoom. Zoom out of the projection to see the globe. Check all the available projections bellow.