Description Usage Arguments Examples
Effect for emap lines
1 2 |
show |
set to |
loop |
set to |
period |
period loop. |
scaleSize |
scale. |
color |
color. |
shadowBlur |
blur. |
shadowColor |
color of shadow. |
... |
any other option to pass to effect. |
1 2 3 4 5 6 7 8 9 10 11 12 | coords <- data.frame(city = c("London", "New York", "Beijing", "Sydney"),
lon = c(-0.1167218, -73.98002, 116.3883, 151.18518),
lat = c(51.49999, 40.74998, 39.92889, -33.92001))
edges <- data.frame(source = c("Beijing", "Beijing", "New York"),
target = c("Sydney", "London", "London"))
coords %>%
echart(city) %>%
emap() %>%
emap_coords(lon, lat) %>%
emap_lines(edges, source, target, effect = emap_line_effect())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.