Learn R Programming

rosm (version 0.1.3)

bmaps.plot: Plot Bing Maps

Description

Identical syntax to osm.plot, but using Bing maps (https://www.bing.com/maps/) instead of Open Street Map.

Usage

bmaps.plot(bbox, type = "Aerial", key = NULL, ...)

Arguments

bbox
A bounding box as generated by sp::bbox() or prettymapr::searchbbox()
type
Use Aerial, AerialWithLabels, or Road.
key
If plotting a large number of images, consider getting your own (free) key at the https://msdn.microsoft.com/en-us/library/ff428642.aspx{Microsoft Website}.
...
Arguments passed on to osm.plot.

Examples

Run this code
library(prettymapr)
bmaps.plot(makebbox(47.2, -59.7, 43.3, -66.4))
bmaps.plot(makebbox(47.2, -59.7, 43.3, -66.4), type="Road")

Run the code above in your browser using DataLab