Skip to content

Commit

Permalink
for #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Jul 24, 2024
1 parent 8c3e11f commit 6ebc745
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/plot_let.R
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,10 @@ setMethod("plet", signature(x="SpatRaster"),

#checkLeafLetVersion()

if (has.RGB(x)) {
x <- colorize(x, "col")
}

if (is.na(crs(x)) | (grepl("^Cartesian", .name_or_proj4(x)))) {
tiles <- ""
e <- ext(x)
Expand Down

0 comments on commit 6ebc745

Please sign in to comment.