tmap
tmap copied to clipboard
Earth boundary not working in V4
In tmap v4 is not possible to reproduce these plots with robinson projections
# working in tmap V3
library(tmap)
data(World)
tm_shape(World, projection = "+proj=robin") +
tm_polygons("HPI") +
tm_style("natural", earth.boundary = c(-180, -87, 180, 87)) +
tm_format("World", inner.margins = 0.02, frame = FALSE)
# tmap v4 not drawing earth boundaries
library(tmap)
data(World)
tm_shape(World, crs = "+proj=robin") +
tm_polygons("HPI") +
tm_style("natural", earth.boundary = c(-180, -87, 180, 87)) +
tm_format("World", inner.margins = 0.02, frame = FALSE)