Plot a map in an rgl window
rgl.Map.RdPlots a map (from a Map object from package spData) on a unit sphere in an rgl window that can then be interactively rotated.
Details
This assumes that the map is cordinates in degrees and plots the map on a unit sphere in an rgl window making a globe. You can then rotate the globe by clicking and dragging in the window.
Author
Greg Snow 538280@gmail.com
Examples
if(interactive()){
if(require("spData")) {
data(world)
rgl.Map(world$geom)
spheres3d(0,0,0,.999, col='lightblue')
}
}