diff --git a/R/layers.R b/R/layers.R index 5c6b67d34..f6f80a28f 100644 --- a/R/layers.R +++ b/R/layers.R @@ -1180,7 +1180,7 @@ markerOptions <- function( #' @param spiderLegPolylineOptions Allows you to specify #' [PolylineOptions](https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option) #' to style spider legs. By default, they are -#' `{ weight: 1.5, color: "#222", opacity: 0.5 }`. +#' `{{ 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 a533b9104..fb9872f7c 100644 --- a/man/map-options.Rd +++ b/man/map-options.Rd @@ -158,7 +158,7 @@ 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) to style spider legs. By default, they are -`{ weight: 1.5, color: "#222", opacity: 0.5 }`.} +`{{ 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".