Targomo Map Tiles URL

getTargomoMapURL(style = "basic", api_key = Sys.getenv("TARGOMO_API_KEY"))

Arguments

style

A valid Targomo Map Style - see targomoMapStyles()

api_key

Your Targomo API key - defaults to the TARGOMO_API_KEY ennvironment variable

Value

The URL of the requested map tile

Examples

getTargomoMapURL(style = "toner", api_key = NULL)
#> [1] "https://maps.targomo.com/styles/toner-gl-style/rendered/{z}/{x}/{y}.png?key="