Description Usage Arguments Value
View source: R/setPolygonZoom.R
Sets the zoom behavior of polygons as layer option
1 | setPolygonZoom(behavior = "center", ids = NULL, zoomScale = 2)
|
behavior |
a string indicating the desired zoom behavior for the layer: "center" |
zoomScale |
is a numeric value setting the max value for the zooms scale |
list object with layer options
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.