Description Usage Arguments Details Value Examples
Define focal_point
1 | focal_point(city = NULL, country = NULL, x = NULL, y = NULL)
|
city |
Name of city appearing in maps::world.cities database |
x |
Longitude of point of interest, provided as alternate to city name |
y |
Latitude of point of interest, provided as alternate to city name |
county |
Name of country of city |
Prompt for x and y coordinate if city name not found
An sf object
1 2 3 4 | focal_point(city = "Worcester", country = "USA")
focal_point(city = "Worcester", country = "UK")
focal_point(city = "Worcester", country = "South Africa")
focal_point(x = 15, y = -19.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.