From 800b9ebeecbfe8f2c931e5841289df958171d514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Perpi=C3=B1=C3=A1n=20Lamigueiro?= Date: Fri, 13 Oct 2023 11:11:07 +0200 Subject: [PATCH] Fixes #101 --- R/latticeRaster.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/latticeRaster.R b/R/latticeRaster.R index 726a31c..943c12a 100644 --- a/R/latticeRaster.R +++ b/R/latticeRaster.R @@ -20,10 +20,12 @@ lpolygon.SpatVector <- function(x, ...) { for (j in seq_along(xy[[i]])) { lattice::lpolygon(x = xy[[i]][[j]][[1]], y = xy[[i]][[j]][[2]], + rule = "evenodd", ...) } } } + ##Customization of lattice xscale.raster <- function(lim, ...){ ans <- xscale.components.default(lim, ...)