I met some problems in displaying a map in a shiny using the package highcharter. When I try to display it in my RStudio Viewer, all is ok, my map is fine.
Whereas, when I try to display it in my shiny app via the functions highchartOutput
(in the server) and renderHighchart
(in the ui).
The "highcharter code" of my map in pretty simple, and it's not the problem because I can display it in my viewer, but I show it anyway here :
carte <- highchart(type = "map") %>%
hc_title(text = "Test") %>%
hc_add_series_map(Map,as.data.frame(Dat),value='N',joinBy=c('name','LIB_DEP'))%>%
hc_mapNavigation( enableMouseWheelZoom=T) -> carte
carte
I bet the problem comes from the .js libraries I load, but not sure about it.
Anyone could help me ?
Thanks.