29 lines
624 B
Text
29 lines
624 B
Text
|
|
% Generated by roxygen2: do not edit by hand
|
||
|
|
% Please edit documentation in R/sample-tiles.R
|
||
|
|
\name{protomaps_clear_cache}
|
||
|
|
\alias{protomaps_clear_cache}
|
||
|
|
\title{Clear Cached Sample Tiles}
|
||
|
|
\usage{
|
||
|
|
protomaps_clear_cache(cache_dir = NULL)
|
||
|
|
}
|
||
|
|
\arguments{
|
||
|
|
\item{cache_dir}{Character. Cache directory. Default uses same as
|
||
|
|
\code{\link{protomaps_sample_tiles}}.}
|
||
|
|
}
|
||
|
|
\value{
|
||
|
|
Invisibly returns TRUE if files were removed, FALSE otherwise.
|
||
|
|
}
|
||
|
|
\description{
|
||
|
|
Removes cached sample PMTiles files to free disk space.
|
||
|
|
}
|
||
|
|
\examples{
|
||
|
|
\dontrun{
|
||
|
|
# Clear all cached tiles
|
||
|
|
protomaps_clear_cache()
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
\seealso{
|
||
|
|
\code{\link{protomaps_sample_tiles}}
|
||
|
|
}
|