How to create a map of Denmark with ggmap
If we look at ?borders
and, for more into, ?map
, we see that we may use the regions
argument:
ggplot() + borders(regions = "Denmark", colour = "gray50", fill = "gray50")
Get the bounds of Denmark in lat-long and use coord_fixed
:
ggplot() + borders("world", colour="gray50", fill="gray50") + coord_fixed(xlim=c(7, 12), ylim=c(52, 58))
You can get the bounds from the map
package:
> map("world", "Denmark", plot=FALSE)$range
[1] 8.121484 15.137110 54.628857 57.736916
And you might want to expand these a bit for nicer spacing and more context.