#' Loads the information of the parcel and displays it on a map of the parcel using its coordinates
#'
#' @param banRmatrix banR object
#' @param information character vector
#'
#' @import leaflet
#' @import dplyr
#'
#' @return dataframe
#' @export
#'
#' @examples \dontrun{
#' map_point(2.2945, 48.8584, 'Here is the <b>Tour Eiffel</b>, Paris')
#' }
#'
#'
map_point <- function(banRmatrix,information){
m = leaflet::leaflet() %>% leaflet::addTiles()
## a map with the default OSM tile layer
m %>% leaflet::addPopups(banRmatrix$longitude, banRmatrix$latitude, information)
## Longitude puis latitude
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.