From 3b23dfcc98fbe6f087d56cf21cba96c4e9571fc9 Mon Sep 17 00:00:00 2001 From: Thomas Roh Date: Mon, 17 Jan 2022 07:46:53 -0800 Subject: [PATCH] adding rendered documentation --- man/addLegendAwesomeIcon.Rd | 8 ++++---- man/addLegendSize.Rd | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/man/addLegendAwesomeIcon.Rd b/man/addLegendAwesomeIcon.Rd index 77d4c10..fc3943d 100644 --- a/man/addLegendAwesomeIcon.Rd +++ b/man/addLegendAwesomeIcon.Rd @@ -60,17 +60,17 @@ iconSet <- awesomeIconList( spin = TRUE, squareMarker = FALSE) ) -leaflet(quakes[1:3,]) |> - addTiles() |> +leaflet(quakes[1:3,]) \%>\% + addTiles() \%>\% addAwesomeMarkers(lat = ~lat, lng = ~long, - icon = iconSet) |> + icon = iconSet) \%>\% addLegendAwesomeIcon(iconSet = iconSet, orientation = 'horizontal', title = htmltools::tags$div( style = 'font-size: 20px;', 'Awesome Icons'), - labelStyle = 'font-size: 16px;') |> + labelStyle = 'font-size: 16px;') \%>\% addLegendAwesomeIcon(iconSet = iconSet, orientation = 'vertical', marker = FALSE, diff --git a/man/addLegendSize.Rd b/man/addLegendSize.Rd index b20566a..1fc2ded 100644 --- a/man/addLegendSize.Rd +++ b/man/addLegendSize.Rd @@ -203,17 +203,17 @@ leaflet() \%>\% baseSize <- 10 lineColor <- '#00000080' pal <- colorNumeric('Reds', atlStorms2005$MinPress) -leaflet() |> - addTiles() |> +leaflet() \%>\% + addTiles() \%>\% addPolylines(data = atlStorms2005, weight = ~sizeNumeric(values = MaxWind, baseSize = baseSize), color = ~pal(MinPress), - popup = ~as.character(MaxWind)) |> + popup = ~as.character(MaxWind)) \%>\% addLegendLine(values = atlStorms2005$MaxWind, title = 'MaxWind', baseSize = baseSize, width = 50, - color = lineColor) |> + color = lineColor) \%>\% addLegendNumeric(pal = pal, title = 'MinPress', values = atlStorms2005$MinPress)