globe: Plot Globe with Locator Pin for Berlin (while preserving...

View source: R/globe.R

globeR Documentation

Plot Globe with Locator Pin for Berlin (while preserving polygons in orthographic view)

Description

Plot Globe with Locator Pin for Berlin (while preserving polygons in orthographic view)

Usage

globe(
  center = c(13.405, 52.52),
  col_earth = "#a5bf8b",
  col_water = "#96b6d8",
  col_pin = "black",
  size_pin = 1.2,
  bg = TRUE
)

Arguments

center

A vector with longitude and latitude (WGS 84) used to center the globe and for the locator circle.

col_earth

A hex code. Color used for continents.

col_water

A hex code. Color used for oceans.

col_pin

A hex code. Color used for te locator circle.

size_pin

A positive number indicating the symbol size and stroke of the locator circle.

bg

A Boolean. Should a background be added to the globe?

Value

A ggplot object containing a locator globe with pin.

Examples

## Not run: 
globe()

## End(Not run)


EcoDynIZW/d6berlin documentation built on Oct. 18, 2024, 10:13 p.m.