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))
}

Try the leaflet package in your browser

Any scripts or data that you put into this service are public.

leaflet documentation built on March 24, 2022, 1:05 a.m.