Learn R Programming

mosaic (version 0.13.0)

rgeo-internals: rgeo internal functions

Description

These are not really intended for public consumption.

Usage

.googleMapURL(latitude, longitude, position = NULL, zoom = 11,
  maptype = c("roadmap", "satellite", "terrain", "hybrid"), mark = FALSE,
  radius = 0)

.googleMapURL2(latitude, longitude, position = NULL, zoom = 12, width = 600, height = 400, maptype = c("roadmap", "satellite", "terrain", "hybrid"), mark = FALSE)

Arguments

latitude
vectors of latitude and longitude values
longitude
vectors of latitude and longitude values
position
a data frame containing latitude and longitude positions
zoom
zoom level for initial map (1-20)
maptype
one of 'roadmap', 'satellite', 'terrain', and 'hybrid'
mark
a logical indicating whether the location should be marked with a pin
radius
a vector of radii of circles centered at position that are displayed on the map
width, height
width and height of window containing google map

Value

  • a URL as a string