Skip to content

Commit

Permalink
clear h3
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed May 15, 2024
1 parent 0db39c5 commit 817b3cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/map_layer_h3.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ add_h3 <- function(

#' @rdname clear
#' @export
clear_h3_hexagon <- function( map, layer_id = NULL) {
clear_h3_hexagon <- function( map, layer_id = NULL, update_view = TRUE, clear_legend = TRUE) {
layer_id <- layerId(layer_id, "h3")
invoke_method(map, "md_layer_clear", map_type( map ), layer_id, "h3_hexagon" )
invoke_method(map, "md_layer_clear", map_type( map ), layer_id, "h3_hexagon", update_view, clear_legend )
}

0 comments on commit 817b3cd

Please sign in to comment.