View source: R/coords_to_google.R
coords_to_google | R Documentation |
The function coords_to_google
can be used to convert coordinates of an sf
object to a format that is easy to copy and paste into Google Maps.
coords_to_google(coords, crs_out = 25833)
coords |
An |
crs_out |
Chosen coordinate reference system (CRS) for the geometry column of the returned |
An sf
object with a new column added (coords_google
), and an addtional sf
geometry column with the chosen CRS.
address_to_coords(zip_code = "0185", address = "Schweigaards gate 10") %>% coords_to_google()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.