% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/funs_pmtiles2.R
\name{tmap_src_meta}
\alias{tmap_src_meta}
\title{Get tmap source metadata}
\usage{
tmap_src_meta(x)
}
\arguments{
\item{x}{URL or local file path to a PMTiles source.}
}
\value{
A list with elements: \code{input}, \code{type},
\code{tile_type}, \code{url}, \code{layers}, \code{layer_vars},
\code{bbox}, \code{zoom}.  Each element of \code{layer_vars} is a
data frame with columns \code{variable}, \code{class},
\code{categories} (list), \code{palette} (list).
}
\description{
Returns all known metadata for a PMTiles source. For Overture Maps URLs,
the \code{layer_vars} data frames are automatically annotated with
\code{categories} and \code{palette} list-columns for variables that have
a known closed value set.
}
