Here is one way, draw a polygon and make it as beautiful as you like. It really has nothing to do with areas on maps, more about how you create the vertices of your polygon.
library(maps) p <- matrix(c(50, 50, 80, 100, 70, 40, 25, 60), ncol=2) plot(p, pch = 16, col = "red", cex = 3, xlim = range(p[,1]) + c(-10,10), ylim = range(p[,2]) + c(-5, 5)) map(add = TRUE) #click until happy, right-click "stop" to finish p <- locator(type = "l") map() polygon(cbind(p$x, p$y), col = "blue")
Otherwise, you could interpolate the intermediate vertices and smooth them somehow, and in the context of the lon / lat map, perhaps using reprogramming to get more realistic line segments, but depending on your purpose.
source share