map_style: Access built-in map styles

Description Usage Arguments Value See Also Examples

View source: R/map_styles.R

Description

A selection of themes included within the ggmapstyles package. These will potentially be more robust to future changes in the Snazzymaps interface.

Usage

1
map_style(name = NULL, ID = NULL, random = FALSE)

Arguments

name

a character string of the internal style. Examples include "apple-like", "Avocado World" and "darkdetail".

ID

a character string of the ID.

random

TRUE/FALSE. Select a random style from the stored values.

Value

a googlemap stylestring which can be used within the 'style' argument of get_googlemap

See Also

get_googlemap

list_styles

Examples

1
2
3
 map_style("Apple Like") 
 map_style(ID = "98")
 map_style(random = TRUE)

mikey-harper/ggmapstyles documentation built on July 21, 2019, 7 p.m.