diff --git a/R/layers.R b/R/layers.R index 04ee2570d..130db9f33 100644 --- a/R/layers.R +++ b/R/layers.R @@ -245,7 +245,7 @@ addRasterImage <- function( project = TRUE, method = c("auto", "bilinear", "ngb"), maxBytes = 4 * 1024 * 1024, - options = tileOptions(), + options = gridOptions(), data = getMapData(map) ) { stopifnot(inherits(x, "RasterLayer"))