diff --git a/R/tm_layers_lines.R b/R/tm_layers_lines.R index b056a7cd..fc943b47 100644 --- a/R/tm_layers_lines.R +++ b/R/tm_layers_lines.R @@ -109,7 +109,7 @@ tm_lines = function(col = tm_const(), label.format = imp("legend.format", list())) col.scale.args$fun_pref = if (style == "cat") { "categorical" - } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails")) { + } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", "log10_pretty")) { "intervals" } else if (style == "cont") { "continuous" diff --git a/R/tm_layers_polygons.R b/R/tm_layers_polygons.R index 00acaca3..c4b29404 100644 --- a/R/tm_layers_polygons.R +++ b/R/tm_layers_polygons.R @@ -158,7 +158,7 @@ tm_polygons = function(fill = tm_const(), label.format = imp("legend.format", list())) fill.scale.args$fun_pref = if (style == "cat") { "categorical" - } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails")) { + } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", "log10_pretty")) { "intervals" } else if (style == "cont") { "continuous" diff --git a/R/tm_layers_raster.R b/R/tm_layers_raster.R index 6acbe153..d5c4ea22 100644 --- a/R/tm_layers_raster.R +++ b/R/tm_layers_raster.R @@ -109,7 +109,7 @@ tm_raster = function(col = tm_shape_vars(), label.format = imp("legend.format", list())) col.scale.args$fun_pref = if (style == "cat") { "categorical" - } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails")) { + } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", "log10_pretty")) { "intervals" } else if (style == "cont") { "continuous" diff --git a/R/tm_layers_symbols.R b/R/tm_layers_symbols.R index d828da06..45f48176 100644 --- a/R/tm_layers_symbols.R +++ b/R/tm_layers_symbols.R @@ -266,7 +266,7 @@ v3_symbols = function(args, args_called) { label.format = imp("legend.format", list())) fill.scale.args$fun_pref = if (style == "cat") { "categorical" - } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails")) { + } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", "log10_pretty")) { "intervals" } else if (style == "cont") { "continuous" diff --git a/R/tm_layers_text.R b/R/tm_layers_text.R index 4a3c0fb9..530951ca 100644 --- a/R/tm_layers_text.R +++ b/R/tm_layers_text.R @@ -142,7 +142,7 @@ tm_text = function(text = tm_const(), label.format = imp("legend.format", list())) col.scale.args$fun_pref = if (style == "cat") { "categorical" - } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails")) { + } else if (style %in% c("fixed", "sd", "equal", "pretty", "quantile", "kmeans", "hclust", "bclust", "fisher", "jenks", "dpih", "headtails", "log10_pretty")) { "intervals" } else if (style == "cont") { "continuous"