Jakub

Results 358 comments of Jakub

``` r library(tmap) library(terra) nz_elev = rast(system.file("raster/nz_elev.tif", package = "spDataLarge")) tm_shape(nz_elev) + tm_raster(alpha = 0.7) #> Error in tm_raster(alpha = 0.7): unused argument (alpha = 0.7) ``` Created on 2022-06-11...

Functions `tm_dots()`, `tmap_arrange()` are missing.

``` r library(spData) library(tmap) # not allowed (new argument name is fill); error message is not helpful... ma1 = tm_shape(nz) + tm_fill(col = "red") #> Error in tm_fill(col = "red"):...

This action returns an error in tmap3, but now is gives some (?!) output: ``` r library(tmap) library(spData) tm_shape(nz) + tm_fill(fill = nz$Land_area) ``` ![](https://i.imgur.com/HfL61lA.png) Created on 2022-06-14 by the...

``` r library(tmap) library(spData) # works map_nza = tm_shape(nz) + tm_fill(fill = "Land_area", fill.legend = tm_legend(title = "Some map title!!")) map_nza ``` ![](https://i.imgur.com/paElPnU.png) ``` r # fails map_nza2 = tm_shape(nz)...

`tm_compass` and `tm_scale_bar` are missing; `tmap_options_reset()`

``` r library(sf) library(tmap) library(terra) library(spData) nz_elev = rast(system.file("raster/nz_elev.tif", package = "spDataLarge")) # works tm_shape(nz_elev) + tm_raster() #> SpatRaster object downsampled to 1141 by 877 cells. ``` ![](https://i.imgur.com/T0ozMx9.png) ``` r...

What is the current recommended way to add a map title? `tm_layout()` does not have the `title` argument...

`tmap_mode("view")` does not work.

@rsbivand I believe your question is for @Si-Chong. As a side note - the `smooth_map()` function should still exist in https://github.com/mtennekes/oldtmaptools/.