powered by
The map is plotted using plotRGB from raster.
plotRGB
esriMap_plotOnStaticMap(mapRaster, grayscale = FALSE, ...)
a RGB rasterBrick object. It is assumed that layer 1 represents red, layer 2 represents gree, and layer 3 represents blue.
logical, if TRUE one layer is plotted with grayscale values. If FALSE, a color map is plotted from red, green, and blue colors.
arguments passed on to plot (for grayscale = TRUE) or plotRGB (for grayscale = FALSE)
plot
An plot of the map
esriMap_getMap
# NOT RUN { map <- esriMap_getMap(-122.3318, 47.668) esriMap_plotOnStaticMap(map) esriMap_plotOnStaticMap(map, grayscale = TRUE) # }
Run the code above in your browser using DataLab