R/bu_map.R

#' Displays an interactive map of breeding locations
#'
#'
#'
#' @param locs brapi location object
#' @import leaflet
#' @export
#'
bu_map <- function(locs){
  locs %>% leaflet() %>% addTiles() %>% addMiniMap() %>% addPopups(popup = locs$name)
}
c5sire/brapiUI documentation built on May 13, 2019, 9:58 a.m.