Skip to content

Commit

Permalink
Merge branch 'master' of https:/trafficonese/leaflet.extras
Browse files Browse the repository at this point in the history
  • Loading branch information
trafficonese committed Jul 22, 2024
2 parents 44dd22f + c0e08a7 commit 47071cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion R/draw.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ addDrawToolbar <- function(
edittoolbar = NULL,
edithandlers = NULL,
drag = TRUE) {

if (!is.null(targetGroup) && !is.null(targetLayerId)) {
stop("To edit existing features either specify a targetGroup or a targetLayerId, but not both")
}
Expand Down
2 changes: 0 additions & 2 deletions R/drawOptions.R
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ edithandlersOptions <- function(
remove = list(
tooltipText = "Click on a feature to remove."
)) {

leaflet::filterNULL(list(
edit = list(
tooltip = list(
Expand Down Expand Up @@ -446,7 +445,6 @@ edittoolbarOptions <- function(
remove = "Delete layers",
removeDisabled = "No layers to delete"
)) {

leaflet::filterNULL(list(
actions = actions,
buttons = buttons
Expand Down

0 comments on commit 47071cd

Please sign in to comment.