Skip to content

Commit

Permalink
fixed #871
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed May 23, 2024
1 parent 3417337 commit b86ecca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/tm_layers_raster.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#' @name opt_tm_raster
#' @param interpolate Should the raster image be interpolated? Currently only applicable in view mode (passed on to [`grid`][grid::rasterGrob()])
#' @export
opt_tm_raster = function(interpolate = FALSE) {
opt_tm_raster = function(interpolate = TRUE) {
list(trans.args = list(),
mapping.args = list(interpolate = interpolate))
}
Expand Down
2 changes: 1 addition & 1 deletion R/tmapGridAux.R
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ tmapGridTiles = function(bi, bbx, facet_row, facet_col, facet_page, id, pane, gr
shpTM = g$bmaps_shpTHs[[id]][[bi]]
gp = list()

if (!is.null(dt)) tmapGridRaster(shpTM, dt, gp, bbx, facet_row, facet_col, facet_page, id, pane, group, o)
if (!is.null(dt)) tmapGridRaster(shpTM, dt, gp, bbx, facet_row, facet_col, facet_page, id, pane, group, o, interpolate = FALSE)
}


Expand Down

0 comments on commit b86ecca

Please sign in to comment.