Build base tracking chart using ggplot
tracking_chart(countries = TRUE, states = TRUE, res = 110, ...)
countries | Show country borders. Default TRUE. |
---|---|
states | Show state boundaries. Default TRUE. Ignored if `countries` is FALSE. |
res | Resolution of charts; 110 (1:110m), 50 (1:50m), 10 (1:10m). Default is low. The higher the resolution, the longer the plot takes to appear. |
... | Additional ggplot2::aes parameters |
Returns ggplot2 object that can be printed directly or have new layers added.
# NOT RUN { # Build map with white land areas, thin black borders tracking_chart(color = "black", size = 0.1, fill = "white") # 50nm resolution, no states tracking_chart(res = 50, states = FALSE, color = "black", size = 0.1, fill = "white") # 50nm resolution, coastlines only tracking_chart(countries = FALSE, res = 50, color = "black", size = 0.1, fill = "white") # Adding and modifying with ggplot functions tracking_chart(color = "black", size = 0.1, fill = "white") + ggplot2::labs(x = "Lon", y = "Lat", title = "Base Tracking Chart") # }