Skip to contents

Session settings

Draw an extent and define session defaults for all function calls

draw_ext()
Draw extent
set_defaults() get_defaults() reset_defaults()
Set, get and reset basemaps defaults

Basemap retrieval

(Down)load and cache basemaps and return them as a class of choice

Plot rasters

Plot raster objects as ggplot2

gg_raster()
Plot raster objects using ggplot

Flushing cache

Flush to delete all cached map tiles and basemaps

flush_cache()
Flush basemaps cache

Example data

ext ext_eur
Example extent