A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pdil/usmap/issues/12 below:

Add ability to add custom shapefile layers · Issue #12 · pdil/usmap · GitHub

User should be able to add other shape file layers superimposed on the US map (e.g. roads, rivers, temperature data, etc.).

One way this could work is as follows:

roads <- # load shape file...

plot_usmap("counties") +
  add_layer(roads) +
  add_layer(...)
# etc.

This could work by applying the same spTransform that was applied to the original US map data to the layers passed through to plot_usmap.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4