Skip to contents

Defunct Functions in Package rOstluft.plot

Usage

get_stamen_map(bbox, width = 640, zoom = "auto", color = "bw", ...)

Arguments

bbox

list with items left, bottom, right and top as WSG84 coordinates. Additional width in meters if zoom = "auto". Use bbox_lv95() to create a compatible bounding box list

width

of resulting map in pixels.

zoom

zoomlevel from 0 to 18 or "auto"

color

color or black-and-white. Changed default to "bw"

...

forwarded

Value

a ggmap object (a classed raster object with a bounding box attribute)

Details

get_stamen_map() is replaced by get_stadia_map()

The functions get_googlemap() and get_stamen_map() tries to harmonize the calls to ggmap(). The objective is to get interchangeable functions with sensible defaults. For example automatic calculation of the zoom. The function bbox_lv95() generates a bbox object compatible with both functions.

Attribution

  • Toner and Terrain: Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.

  • Watercolor: Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.