extract_gmaps | R Documentation |
ggmap
s from a tibble
columnExtract the ggmap
s from a tibble
column
extract_gmaps(.data, col)
.data |
( |
col |
(unquoted character) the column with the embedded maps |
a named list
of ggmap
base maps
## Not run:
embedded_maps <- base_map_params %>%
filter(geo_level == "state") %>%
mutate(gmap = embed_gmap(left, bottom, right, top, zoom, maptype)) %>%
ungroup()
list_of_basemaps <- extract_gmaps(embedded_maps) %>% map(fix_ggmap_bbox)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.