This function returns the URL associated with a tile set matching id.

st_tiles(id)

Arguments

id

character, name of map tile set ID. See stTiles.

Value

a character string.

Details

Tile set data are stored in the stTiles dataset. See for available IDs.

Examples

st_tiles("galaxy1")
#> [1] "https://leonawicz.github.io/tiles/st1/tiles/{z}/{x}/{y}.png"