usmap icon indicating copy to clipboard operation
usmap copied to clipboard

Add ability to add custom shapefile layers

Open pdil opened this issue 7 years ago • 0 comments

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.

pdil avatar Sep 26 '18 19:09 pdil