R/addAecomLogo.R

Defines functions addAecomLogo

Documented in addAecomLogo

#' ----------
#' Add Aecom Logo
#'
#' Adds aecom logo to leaflet maps.
#'
#' @param map map for the pipe to work
#' @param position logo position parameter see addLogo from mapview for options.
#' @keywords map ,save, htmlwidget
#' @export
 <- function(map,position = "bottomleft"){
  mapview::addLogo(map = map,
                   img = "https://www.aecom.com/wp-content/themes/aecom/images/aecom-logo.svg",
                   position = position,
                   url = "https://www.aecom.com")
}
fermumen/spellbook-fmm documentation built on Oct. 25, 2019, 6:12 p.m.