Learn R Programming

webglobe (version 1.0.3)

wgcamcenter: Camera: Center on a point

Description

Centers the camera on a point

Usage

wgcamcenter(lat, lon, alt = NA)

Arguments

lat

Latitude of the center point, in degrees

lon

Longitude of the center point, in degrees

alt

Altitude of the center point, in kilometres

Value

A webglobe command

Examples

Run this code
# NOT RUN {
library(webglobe)
wg<-webglobe(immediate=TRUE)
wg+wgcamcenter(45,-93,5000)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab