Skip to content

Commit

Permalink
Bug in overlay_raw_map fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
noriakis committed Jun 14, 2024
1 parent 3ab685b commit 1cc92ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/overlay_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ ggplot_add.overlay_raw_map <- function(object, plot, object_name) {
path <- paste0(object$pid, ".png")
if (!is.null(object$directory)) {
path <- paste0(object$directory,"/",path)
} else {
download.file(url=url, destfile=path, mode='wb')
}
download.file(url=url, destfile=path, mode='wb')
}

## Load, transparent and rasterize
Expand Down

0 comments on commit 1cc92ed

Please sign in to comment.