Skip to content

Commit 49458c5

Browse files
authored
Update arrowhead.R
In re: Issue#83--inserting some documentation that will clarify how specifying styling aspects for lines and arrowheads separately works.
1 parent b1bccc9 commit 49458c5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

R/arrowhead.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ arrowheadDependency <- function() {
2020
#' \href{https://github.com/slutske22/leaflet-arrowheads}{leaflet-arrowheads}
2121
#' for further details.
2222
#'
23+
#' It is possible to style the lines and the arrowheads separately; put styling
24+
#' specifications for the lines inside \code{\link{addArrowhead}} and the
25+
#' specifications for the arrowheads inside \code{\link{arrowheadOptions}}.
26+
#' A dashArray provided for the lines will also apply to the arrowheads,
27+
#' but the latter can be overruled by specifying a separate dashArray
28+
#' for the arrowheads inside \code{\link{arrowheadOptions}}.
29+
#'
2330
#' @inheritParams leaflet::addPolylines
2431
#' @param options A named list of options. See \code{\link{arrowheadOptions}}
2532
#' @family Arrowhead Functions

0 commit comments

Comments
 (0)