View source: R/highcharts-api.R
hc_mapView | R Documentation |
The mapView options control the initial view of the chart, and how projection is set up for raw geoJSON maps (beta as of v9.3). To set the view dynamically after chart generation, see mapView.setView.
hc_mapView(hc, ...)
hc |
A |
... |
Arguments defined in https://api.highcharts.com/highmaps/mapView. |
map <- hcmap()
map
map |>
hc_mapView(zoom = 10) |>
hc_mapNavigation(enabled = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.