diff --git a/R/layers.R b/R/layers.R index f6f80a28f..0fb2967d8 100644 --- a/R/layers.R +++ b/R/layers.R @@ -1178,9 +1178,9 @@ markerOptions <- function( #' @param removeOutsideVisibleBounds clusters and markers too far from the #' viewport are removed from the map for performance #' @param spiderLegPolylineOptions Allows you to specify -#' [PolylineOptions](https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option) +#' \href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option}{PolylineOptions} #' to style spider legs. By default, they are -#' `{{ weight: 1.5, color: "#222", opacity: 0.5 }}`. +#' \code{\{weight: 1.5, color: "#222", opacity: 0.5 \}}. #' @param freezeAtZoom Allows you to freeze cluster expansion to a zoom level. #' Can be a zoom level e.g. 10, 12 or "max" or "maxKeepSpiderify". #' See . diff --git a/man/map-options.Rd b/man/map-options.Rd index fb9872f7c..de343d5a7 100644 --- a/man/map-options.Rd +++ b/man/map-options.Rd @@ -156,9 +156,9 @@ spiderfy it so you can see all of its markers} viewport are removed from the map for performance} \item{spiderLegPolylineOptions}{Allows you to specify -[PolylineOptions](https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option) +\href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option}{PolylineOptions} to style spider legs. By default, they are -`{{ weight: 1.5, color: "#222", opacity: 0.5 }}`.} +\code{\{weight: 1.5, color: "#222", opacity: 0.5 \}}.} \item{freezeAtZoom}{Allows you to freeze cluster expansion to a zoom level. Can be a zoom level e.g. 10, 12 or "max" or "maxKeepSpiderify".