Description Usage Format Source Examples
Map labels in the Wood River Valley and surrounding areas.
1 |
An object of SpatialPointsDataFrame class containing 40 points with the following variables:
text to be written.
character expansion factor
color and font to be used, respectively.
string rotation in degrees.
Geographic coordinates are in units of meters, in conformance with the North American Datum of 1983 (NAD 83), and placed in the Idaho Transverse Mercator projection (IDTM).
Best estimates of map label locations.
1 2 3 4 5 6 | sp::plot(map.labels, col = "red")
lab <- cbind(map.labels@coords, map.labels@data)
for (i in seq_len(nrow(lab))) {
text(lab$x[i], lab$y[i], labels = lab$label[i], cex = lab$cex[i],
col = lab$col[i], font = lab$font[i], srt = lab$srt[i])
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.