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, ...)