addBingTiles | R Documentation |
Adds Bing Tiles Layer
addBingTiles(
map,
apikey = Sys.getenv("BING_MAPS_API_KEY"),
imagerySet = c("Aerial", "AerialWithLabels", "AerialWithLabelsOnDemand",
"AerialWithLabelsOnDemand", "Birdseye", "BirdseyeWithLabels", "BirdseyeV2",
"BirdseyeV2WithLabels", "CanvasDark", "CanvasLight", "CanvasGray", "Road",
"RoadOnDemand", "Streetside"),
layerId = NULL,
group = NULL,
...
)
map |
The Map widget |
apikey |
String. Bing API Key |
imagerySet |
String. Type of Tiles to display |
layerId |
String. An optional unique ID for the layer |
group |
String. An optional group name for the layer |
... |
Optional Parameters required by the Bing API described at https://msdn.microsoft.com/en-us/library/ff701716.aspx |
Get a Bing Maps API Key: https://msdn.microsoft.com/en-us/library/ff428642.aspx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.