Skip to content

Commit a240622

Browse files
Set more fun.geometry to NULL
1 parent f22ee47 commit a240622

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

R/sf.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ geom_sf_label <- function(mapping = aes(), data = NULL,
272272
na.rm = FALSE,
273273
show.legend = NA,
274274
inherit.aes = TRUE,
275-
fun.geometry = sf::st_point_on_surface) {
275+
fun.geometry = NULL) {
276276

277277
# Automatically determin name of geometry column
278278
if (!is.null(data) && is_sf(data)) {
@@ -326,7 +326,7 @@ geom_sf_text <- function(mapping = aes(), data = NULL,
326326
na.rm = FALSE,
327327
show.legend = NA,
328328
inherit.aes = TRUE,
329-
fun.geometry = sf::st_point_on_surface) {
329+
fun.geometry = NULL) {
330330
# Automatically determin name of geometry column
331331
if (!is.null(data) && is_sf(data)) {
332332
geometry_col <- attr(data, "sf_column")

man/ggsf.Rd

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)