R/geom_runway.R

Defines functions geom_runway

Documented in geom_runway

#' @export
#' @importFrom ggplot2 layer GeomPolygon
#' @rdname runway
geom_runway <- function(mapping = NULL, data = NULL,
                        position = "identity", na.rm = FALSE, show.legend = NA,
                        inherit.aes = TRUE, ...) {

  ggplot2::layer(
    stat = StatRunway, geom = GeomPolygon, data = data, mapping = mapping,
    position = position, show.legend = show.legend, inherit.aes = inherit.aes,
    params = list(na.rm = na.rm, ...)
  )
}
mitre/aviationgeoms documentation built on Sept. 15, 2020, 3:14 a.m.