Plot legend for choropleth maps.
legendChoro(pos = "topleft", title.txt = "Title of the legend", title.cex = 0.8, values.cex = 0.6, breaks, col, cex = 1, values.rnd = 2, nodata = TRUE, nodata.txt = "No data", nodata.col = "white", frame = FALSE, symbol = "box")
data("nuts2006") plot(nuts0.spdf, col = "grey")box()legendChoro(pos = "bottomleft", title.txt = "Title of the legend", title.cex = 0.8, values.cex = 0.6, breaks = c(1,2,3,4,10.27,15.2), col = carto.pal(pal1 = "orange.pal",n1 = 5), values.rnd =2, nodata = TRUE, nodata.txt = "No data available", frame = TRUE, symbol="box")legendChoro(pos = "bottomright", title.txt = "Title of the legend", title.cex = 0.8, values.cex = 0.6, breaks = c(1,2,5,7,10,15.27), col = carto.pal(pal1 = "wine.pal",n1 = 5), values.rnd = 0, nodata = TRUE, nodata.txt = "NA",nodata.col = "black", frame = TRUE, symbol="line")