Learn R Programming

mapview (version 1.0.0)

mapviewTheme: A trellis theme to mimick the looks of mapview. This is a modified version of latticeExtra::theEconomist.theme. (c) Felix Andrews

Description

A trellis theme to mimick the looks of mapview. This is a modified version of latticeExtra::theEconomist.theme. (c) Felix Andrews

Usage

mapviewTheme(win.fontfamily = NULL, with.bg = FALSE, box = "black", ...)

Arguments

win.fontfamily
on Windows systems, sets the font by name.
with.bg
if TRUE, uses a light blue background and a few other corresponding changes; otherwise white.
box
color for panel boxes, strip outlines, and axis ticks.
...
further arguments passed to simpleTheme and used to modify the theme.

See Also

theEconomist.theme

Examples

Run this code
library(rasterVis)

levelplot(poppendorf[[10]], par.settings = mapviewTheme())

Run the code above in your browser using DataLab