Add tiled raster data pyramids from a local folder that was created with gdal2tiles.py (see https://gdal.org/gdal2tiles.html for details).
addTileFolder(
map,
folder,
tms = TRUE,
layerId = NULL,
group = NULL,
attribution = NULL,
options = leaflet::tileOptions(),
data = leaflet::getMapData(map)
)
a mapview or leaflet object.
the (top level) folder where the tiles (folders) reside.
whether the tiles are served as TMS tiles.
the layer id.
the group name for the tile layer to be added to map
.
the attribution text of the tile layer (HTML).
a list of extra options for tile layers.
See tileOptions
for details. When the tiles
were created with gdal2tiles.py
argument tms
needs to be
set to TRUE
.
the data object from which the argument values are derived; by default, it is the data object provided to leaflet() initially, but can be overridden.