I have two sf objects, precincts
and elemZones
. I want to make a mapview object showing the boundaries of both sf objects, and I want to style each sf object differently. My code so far.
library(sf)
library(mapview)
precincts <- read_sf("precincts.shp")
elemZones <- read_sf("elemZones.shp")
mapview(
x = elemZones,
legend = F,
color = "black",
alpha.regions = 0,
popup = F
)
This only maps elemZones
. How do I add precincts
?