# NOT RUN {
m1 <- mapView(franconia, col.regions = "red")
m2 <- mapView(breweries)
### add two mapview objects
m1 + m2
### add layers to a mapview object
if (interactive()) {
library(plainview)
m1 + breweries + plainview::poppendorf[[4]]
}
m1 <- mapView(franconia, col.regions = "red")
m2 <- mapView(breweries)
### add two mapview objects
m1 | m2
# }
Run the code above in your browser using DataLab