Skip to contents

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.

Usage

hc_mapView(hc, ...)

Arguments

hc

A highchart htmlwidget object.

...

Arguments defined in https://api.highcharts.com/highmaps/mapView.

Examples


map <- hcmap()

map
map |> hc_mapView(zoom = 10) |> hc_mapNavigation(enabled = TRUE)