I tried to use hc_mapView() function to make a world map pacific centric. The example of using Highcharts can be found here (https://jsfiddle.net/BlackLabel/p5or2gfe/). I then tried to replicate it in R but cannot get it working.
I used highcharter 0.9.4.9 installed from Github (the Dev version).
library(highcharter)
hcmap("custom/world",
showInLegend = FALSE) |>
hc_mapView( projection = list( name = 'Miller', rotation = 210 ) )
## use different format for rotation
hcmap("custom/world",
showInLegend = FALSE) |>
hc_mapView( projection = list( name = 'Miller', rotation = '[210]' ) )
## use different format for rotation
hcmap("custom/world",
showInLegend = FALSE) |>
hc_mapView( projection = list( name = 'Miller', rotation = list('[210]') ) )
I tried to use
hc_mapView()
function to make a world map pacific centric. The example of using Highcharts can be found here (https://jsfiddle.net/BlackLabel/p5or2gfe/). I then tried to replicate it in R but cannot get it working.I used highcharter 0.9.4.9 installed from Github (the Dev version).