ifellows / ROSM

R access to high resolution raster maps using the OpenStreetMap protocol. Dozens of road, satellite, and topographic map servers are directly supported, including CloudMade, Mapnik, Bing, stamen, and MapQuest. Maps can be plotted using either base graphics, or ggplot2. This package is not affiliated with the OpenStreetMap.org mapping project.
11 stars 2 forks source link

Some tidying of code in openmap() #2

Closed MichaelChirico closed 6 years ago

MichaelChirico commented 6 years ago

Basically about using match.arg for type so as to ease the pain/scope for mistakes if the list of supported types is changing over time.

MichaelChirico commented 6 years ago

@ifellows this should be ready to merge