Skip to content

Commit

Permalink
stupid me! #271
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-salabim committed Mar 20, 2020
1 parent 813e4bb commit 3803768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mapviewControls.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ getProjection <- function(x) {
if (inherits(x, c("Raster", "Spatial"))) {
prj <- raster::projection(x)
} else {
prj <- sf::st_crs(x)$"proj4string"
prj <- sf::st_crs(x)$proj4string
}

return(prj)
Expand Down

0 comments on commit 3803768

Please sign in to comment.