Description Usage Arguments References See Also Examples
Download and extract adminstrative boundary for Sweden from Eurostat.
1 2 |
scale |
The scale of the map. |
year |
The year of the dataset. |
Copyright notice http://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units
1 2 3 4 5 6 7 8 9 10 11 12 13 | plot(sweden(), usePolypath = FALSE)
SpatialPolygonsRescale(layout.scale.bar(),
offset = list(x = 1603000, y = 6161447),
scale = 200000,
fill = c("transparent", "black"),
plot.grid = FALSE)
text(x = 1605000, y = 6207531, label = "0")
text(x = 1830000, y = 6207531, label = "200 km")
SpatialPolygonsRescale(layout.north.arrow(1),
offset = list(x = 1780000, y = 6261447),
scale = 100000,
plot.grid = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.