Description Usage Arguments Examples
For use with the (annoying) openmap()
functions which retrieve basemap tiles for a box specified by the topleft and bottom right vertices.
1 | bottomright(geom)
|
geom |
Input geometry (polygon) |
1 2 3 4 5 6 7 | shade = gBoundingPoly(cambridge_town, tol = 1.1)
basemap = openmap(topleft(shade), bottomright(shade), type = "skobbler")
plot(basemap)
# skobbler maps look better with a little purple haze
plot(spTransform(shade, osm()), add = T, col = col2hex("lavender", "40"), border = NA)
plot(spTransform(cambridge_town, osm()), add = T, col = col2hex("skyblue", "80"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.