Skip to contents

The mapNavigation option handles buttons for navigation in addition to mousewheel and doubleclick handlers for map zooming.

Usage

hc_mapNavigation(hc, ...)

Arguments

hc

A highchart htmlwidget object.

...

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

Examples


hcmap(download_map_data = FALSE) |> 
  hc_mapNavigation(
    enabled = TRUE,
    enableMouseWheelZoom = TRUE,
    enableDoubleClickZoom = TRUE
  )