Skip to content

Commit

Permalink
num (general purpose vv) added to tmap_options
Browse files Browse the repository at this point in the history
  • Loading branch information
mtennekes committed Jun 10, 2024
1 parent 84a1b53 commit 0e3d893
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions R/tmap_options.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ tmapMode = function(id, name, ...) {
fill_alpha = 1,
col_alpha = 1,
bgcol_alpha = 1,
angle = 0),
angle = 0,
num = 1),
value.na = list(
fill = "grey75",
col = "grey75",
Expand Down Expand Up @@ -110,7 +111,8 @@ tmapMode = function(id, name, ...) {
col_alpha = 1,
bgcol_alpha = 1,
size = 0.2,
angle = 0
angle = 0,
num = 0
),
value.blank = list(
fill = "#00000000",
Expand All @@ -123,7 +125,8 @@ tmapMode = function(id, name, ...) {
fill_alpha = 0,
col_alpha = 0,
bgcol_alpha = 0,
angle = 0
angle = 0,
num = 0
),
values.var = list(fill = list(seq = "hcl.blues3", div = "pu_gn_div",
unord = "tol.muted", ord = "hcl.blues3", cyc = "tol.rainbow_pu_rd", biv = "pu_gn_bivs"),
Expand All @@ -144,10 +147,11 @@ tmapMode = function(id, name, ...) {
area = c(0, 1),
xmod = c(0, 1),
ymod = c(0, 1),
angle = c(0, 360)),
angle = c(0, 360),
num = c(0, 1)),
values.range = list(fill = NA, col = NA, size = c(0, 1), lwd = c(0, 1),
lty = NA, text = NA, fontface = NA, fill_alpha = NA,
col_alpha = NA, shape = NA, angle = NA), # NA = automatic, NULL is not applicable
col_alpha = NA, shape = NA, angle = NA, num = c(0,1)), # NA = automatic, NULL is not applicable
value.neutral = list(size = 0.75,
lwd = 2,
lty = "solid",
Expand All @@ -156,7 +160,8 @@ tmapMode = function(id, name, ...) {
bgcol_alpha = 1,
text = "Abc",
fontface = "plain",
angle = 0),
angle = 0,
num = 1),
values.scale = list(
1,
lwd.lines = 1,
Expand Down

0 comments on commit 0e3d893

Please sign in to comment.