(CC-BY-NC-SA)
This document was produced on So Jun 12 2016 using mapview version 1.1.0
viewRGB
can be used to render rgb raster data on the map. This works similar to raster::plotRGB
. Default values for the r, g, b channels are 3, 2, 1 respectively
library(mapview)
viewRGB(poppendorf, r = 4, g = 3, b = 2, map.types = "Esri.WorldImagery")
library(mapview)
viewRGB(poppendorf, 5, 4, 3)