Skip to content

Releases: r-tmap/tmap

tmap 4.0

28 Jan 13:24
Compare
Choose a tag to compare

tmap v4 is a major release and has been rewritten from scratch. It contains tons of new features. Although we did our best to make changes backwards compatible, some things may not work as expected.

New syntax

  • The arguments of layer functions such as tm_symbols() have been reorganized. Visual variables are used with explicit scales, legends, and charts.
  • The names of visual variables are consistent across standard map layer functions. For vector data, fill is the visual variable for fill color and col for border color.
  • New vignettes available to explain how to upgrade your code to tmap v4.

Updated datasets

  • rivers has been renamed to World_rivers due to the name clash with rivers from datasets.
  • The Netherlands datasets have been updated: from 2022 NLD_prov, NLD_muni, and (new) NLD_dist (district level) have been included with new demographic variables.
  • land has included color tables

Extensions

  • tmap can now be extended in several ways.

Backwards compatibility

  • All tmap v3 code should be backwards compatible with v4.
  • We added 'v3' styles to make the layout (almost) identical to v3
  • We introduced messages to make it easier for you to upgrade your code

tmap 3.3-4

18 Sep 07:18
Compare
Choose a tag to compare

(!) last version of tmap 3.x. Next CRAN version will be tmap 4.x (release planned at the end of 2023)

  • fixed bug (some stars appeared upside down in plot mode)
  • fixed newly introduced shiny bug (#767)