google_map_panorama: Google Map Panorama

Description Usage Arguments Examples

View source: R/google_map_urls.R

Description

Opens an interactive street view panorama in a browser

Usage

1
2
3
4
5
6
7
google_map_panorama(
  viewpoint = NULL,
  pano = NULL,
  heading = NULL,
  pitch = 0,
  fov = 90
)

Arguments

viewpoint

vector of lat/lon coordinates. If NULL, pano must be used.

pano

string of a specific panorama ID (see https://developers.google.com/maps/documentation/urls/get-started#pano-id). If NULL, viewpoint must be used.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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)

Example output

sh: 1: xdg-open: Permission denied
sh: 1: xdg-open: Permission denied
sh: 1: xdg-open: Permission denied

googleway documentation built on Nov. 16, 2020, 9:08 a.m.