google_map_panorama {googleway} | R Documentation |
Google Map Panorama
Description
Opens an interactive street view panorama in a browser
Usage
google_map_panorama(
viewpoint = NULL,
pano = NULL,
heading = NULL,
pitch = 0,
fov = 90
)
Arguments
viewpoint |
vector of lat/lon coordinates. If NULL, |
pano |
string of a specific panorama ID (see https://developers.google.com/maps/documentation/urls/get-started#pano-id).
If NULL, |
heading |
number between -180 and 360. Indicates the compass heading of the camera in degrees clockwise from north. |
pitch |
number between -90 and 90, specifying the angle, up or down, of the camera |
fov |
number between 10 and 100, determines the orizontal field of view of the image. |
Examples
## Not run:
google_map_panorama(viewpoint = c(48.857832, 2.295226))
google_map_panorama(viewpoint = c(48.857832,2.295226),
heading = -90, pitch = 38, fov = 80)
google_map_panorama(pano = "4U-oRQCNsC6u7r8gp02sLA")
## End(Not run)
[Package googleway version 2.7.8 Index]