From 7b9958e4c83d8211ece03d3871ab357959c42724 Mon Sep 17 00:00:00 2001 From: Tim Appelhans Date: Thu, 21 Nov 2024 19:22:51 +0100 Subject: [PATCH] update example of extendLayersControl --- R/layerviewcontrol.R | 2 +- man/extendLayersControl.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/layerviewcontrol.R b/R/layerviewcontrol.R index e6fc498..af6864b 100644 --- a/R/layerviewcontrol.R +++ b/R/layerviewcontrol.R @@ -110,7 +110,7 @@ #' addPolygons(data = polys, group = "gadmCHE") %>% #' #' ## Extend Layers Control -#' extendLayerControl( +#' extendLayersControl( #' view_settings, home_btns = TRUE, #' home_btn_options = list( #' "Base_tiles1" = list(text = '🏡', cursor = 'ns-resize', class = 'homebtn'), diff --git a/man/extendLayersControl.Rd b/man/extendLayersControl.Rd index 5ac0dee..a67efa6 100644 --- a/man/extendLayersControl.Rd +++ b/man/extendLayersControl.Rd @@ -131,7 +131,7 @@ leaflet() \%>\% addPolygons(data = polys, group = "gadmCHE") \%>\% ## Extend Layers Control - extendLayerControl( + extendLayersControl( view_settings, home_btns = TRUE, home_btn_options = list( "Base_tiles1" = list(text = '🏡', cursor = 'ns-resize', class = 'homebtn'),