View source: R/google_map_urls.R
| google_map_panorama | R Documentation | 
Opens an interactive street view panorama in a browser
google_map_panorama(
  viewpoint = NULL,
  pano = NULL,
  heading = NULL,
  pitch = 0,
  fov = 90
)
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.  | 
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.