R/normalize-map.R

Defines functions polygonData.map metaData.map

#' @export
metaData.map <- function(obj) {
  obj
}

#' @export
polygonData.map <- function(obj) {
  polygonData(cbind(obj$x, obj$y))
}
rstudio/leaflet documentation built on Aug. 1, 2018, 3:43 p.m.