R/styles_doc.R

#' Create styles
#'
#' Style methods to create style objects corresponding to openlayers style classes.
#'
#' @name style_methods
#'
#' @param color stroke or fill color
#'
#' @return style object
#'
#' @note
#'   \code{color}, \code{icon_color}, \code{radius} and \code{text} can be single values applied to all features
#'   or vectors of length equal to the number of features
#'
#' @examples
#'   style <- stroke_style() + fill_style()
#'
#'   point_style <- circle_style(stroke_style(color = "blue"), fill = NULL)
NULL
crazycapivara/openlayers documentation built on June 4, 2019, 8:08 p.m.