This function projects latitude/longitude to an x–y plane (with ranges -1 to 1) using an orthographic projection. It also determines whether points are in the front or at the back of the globe, and it can remove the back.
| 1 | 
| lat | Vector of latitudes, in degrees. | 
| long | Vector of longitudes, in degrees | 
| cenlat | Center latitude of projected earth. | 
| cenlong | Center longitude of projected earth. | 
| remove_back | Boolean indicating whether the back of the globe should be removed. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.