tmap icon indicating copy to clipboard operation
tmap copied to clipboard

Earth boundary not working in V4

Open RSO9192 opened this issue 4 months ago • 1 comments

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)

RSO9192 avatar Oct 03 '24 13:10 RSO9192