| llh2xyz | R Documentation | 
Angular coordinates to X, Y, Z.
llh2xyz(lonlatheight, rad = 6378137, exag = 1)
| lonlatheight | matrix or data.frame of lon,lat,height values | 
| rad | radius of sphere | 
| exag | exaggeration to apply to height values (added to radius) | 
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.