hc_mapView: Mapview options for highcharter objects

View source: R/highcharts-api.R

hc_mapViewR Documentation

Mapview options for highcharter objects

Description

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)
  
  


jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.