如何为tmap-feature的弹出窗口控制弹出窗口的宽度?

时间:2019-08-01 05:03:29

标签: r

我想控制Rstudio中tmap-feature弹出窗口的宽度,我该怎么做?

当我打开使用tmap制作的已保存的html映射时,无法一目了然地查看所有文本。弹出框太小,我必须使用滚动条。

TREND <- tm_shape(AUST_STE_POP) +
  tm_layout(title = "Trends of Australian Population growth, 2013-2015", title.position = c("center", "top"))  +
  tm_polygons(id = "STE_NAME11", c("Population (2013)" = "2013", "Population (2014)"= "2014", "Population (2015)"  = "2015"), style=c("pretty","pretty", "pretty"), palette=list("Purples", "Greens", "Blues"), title=c("2013 population", "2014 population", "2015 population")) +

tm_facets(as.layers = TRUE) + tm_view(alpha = 1, basemaps = "Esri.WorldTopoMap")
tmap_save(TREND, "TREND.html")

0 个答案:

没有答案