sClickOnZoom | R Documentation |
Zoom in/out when click the plot
sClickOnZoom(ratio = 1/2, resize = FALSE)
ratio |
a numeric value, define the ratio of zomm in or out |
resize |
resize the map? |
if ratio < 1 then zoom in, if ratio > 1 then zoom out, if ratio = 1 then shift the plot.
Jason
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.