Description Usage Arguments Examples
View source: R/mapdeck_dependencies.R
Adds the required mapdeck javascript dependencies to a map when not using a mapdeck map.
1 | add_dependencies(map)
|
map |
the map object to which dependencies will be added |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## use with a google map from googleway
library(googleway)
set_key("GOOGLE_MAP_KEY")
google_map() %>%
add_dependencies() %>%
add_scatterplot(
data = capitals
, lon = "lon"
, lat = "lat"
, fill_colour = "country"
, radius = 10000
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.