Hello,
I've created a set of tiles with gdal2tiles.py I can get them to display on the leaflet map with addTileFolder, but from the docs can't work out how to style the raster(s). Which options can I use to provide a colour palette?
My code looks like this:
leaflet() %>%
addTiles() %>%
addTileFolder(
"/tmp/30by30_tiles_WGS84",
tms = TRUE,
layerId = NULL,
group = NULL,
attribution = NULL,
options = leaflet::tileOptions(),
data = leaflet::getMapData(.)
)
And my map looks like this - the raster extent is correct.

If there's a bit more detail to add to the docs, I would be happy to do this in a PR.
Any help much appreciated!