Description Usage Arguments Examples
save_png
decodes a base64-encoded PNG of a response object from a isochrone_png call and
saves it to file.
1 | save_png(isochrone_png, file = "isochrone.png")
|
isochrone_png |
a response object from a isochrone_png call to the |
file |
character vector, containing file name or path |
1 2 | isochrone_png(x = 896488, y = 6006502, key = "abcd1234") %>%
save_png(tempfile(pattern = "file", fileext = ".png"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.