I'm trying to plot points in a map (
BTW, you might want to think about switching to something more interactive (like mapview) for exploratory analysis of spatial data:
library(mapview)
m_map = mapview(
map
, legend = FALSE
)
m_dat = mapview(
dat1
, layer.name = "x"
)
m_map
m_dat