Change the camera point of view.

globe_pov(globe, lat, lon, altitude = 2.5, ms = 1500L)

Arguments

globe

An object of class globe as returned by create_globe, or an object of class globeProxy as returned by globeProxy.

lat, lon

Coordinates of camera position.

altitude

Altitude of camera, defaults to 2.5 globe radii.

ms

Milliseconds to animate point of view switch.

Examples

create_globe() %>% globe_img_url() %>% globe_pov(38, -77)