Skip to content

Commit 6a280a9

Browse files
Fix mistakenly passed sf::point_on_surface
1 parent a240622 commit 6a280a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/sf.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ geom_sf_text <- function(mapping = aes(), data = NULL,
357357
parse = parse,
358358
check_overlap = check_overlap,
359359
na.rm = na.rm,
360-
fun.geometry = sf::st_point_on_surface,
360+
fun.geometry = fun.geometry,
361361
...
362362
)
363363
)

0 commit comments

Comments
 (0)