Learn R Programming

tmap (version 4.4)

Thematic Maps

Description

Thematic maps are geographical maps in which spatial data distributions are visualized. This package offers a flexible, layer-based, and easy to use approach to create thematic maps, such as choropleths and bubble maps.

Copy Link

Version

Install

install.packages('tmap')

Monthly Downloads

37,514

Version

4.4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martijn Tennekes

Last Published

June 14th, 2026

Functions in tmap (4.4)

qtm

Quick thematic map plot
tm_compass

Map component: compass
tm_basemap

Map layer: basemap / overlay tiles
shapeTM

Internal tmap function to create a tmap shape
tm_animate_fast

Specify an animation
renderTmap

Wrapper functions for using tmap in shiny
tm_chart

Legend charts
tm_circles

Map layer: geographic circles
tm_add_legend

Map component: manual legend
theme_ps

ggplot2 theme for proportional symbols
tm_crs

Set the map projection (CRS)
tm_credits

Map component: (credits) text
tm_graticules

Coordinate grid / graticule lines
tm_place_legends_right

tmap layout: helper functions
tm_iso

Map layer: iso (contour)
tm_group

Layer group control
tm_inset

Map component: inset maps and other objects
tm_const

tmap function to define a constant visual value
tm_facets

Specify facets
tm_components

Group components
tm_minimap

Map component: minimap
tm_lines

Map layer: lines
tm_label_format

tmap function to specify labels
tm_mouse_coordinates

Map component: mouse coordinates
tm_legend

Legend
tm_style

Layout options
tm_options

tmap options
tm_plot_order

Determine plotting order of features
tm_plot

Plot mode options
tm_logo

Map component: logo
tm_raster

Map layer: raster
tm_scale_asis

Scales: as is
tm_pos

Set the position of map components
tm_rgb

Map layer: rgb images
tm_scale_ordinal

Scales: categorical and ordinal scale
tm_scale_bivariate

Scales: bivariate scale
tm_polygons

Map layer: polygons
tm_popup

Popup specification for interactive maps
tm_scale_continuous

Scales: continuous scale
tm_scale

Scales: automatic scale
tm_scale_intervals

Scales: interval scale
tm_seq

Specify a numeric sequence
tm_symbols

Map layer: symbols
tm_scale_rank

Scales: rank scale
tm_shape

Shape (spatial object) specification
tm_text

Map layer: text
tm_scalebar

Map component: scale bar
tm_scale_discrete

Scales: discrete scale
tm_scale_rgb

Scales: RGB
tm_sf

Map layer: simple features
tm_xlab

Map: x and y labels
tm_view

View mode options
tmapGetShapeMeta1

Internal method that extracts meta data from shape objects
tmap-element

Stacking of tmap elements
tm_vars

tmap function to specify variables
tm_title

Map component: title
tmap-package

Thematic Map Visualization
tmapAddLayerOptions

Internal tmap function to add a default value for the layer functions. Deprecated
tmapGetShapeMeta2

Internal method that extracts more meta data from shape objects
tmap_format

Deprecated: format
tmapShape

Internal method that processed shape objects
tmap_arrange

Arrange small multiples in grid layout
tmapSubsetShp

Internal method that subsets data from shape objects
tmapReproject

Internal method that reprojects a shape object
tmapMode

Internal method for submitting a new mode (deprecated)
tmapSplitShp

Internal method that split shape objects
tmap_animation

Create animation
tmapSubmitOptions

Internal method for submitting options
tmapSubmitBasemapEquivalents

Register cross-mode basemap equivalences
tmapGridAuxPrepare

Internal methods for map components in plot and view mode
tmap_design_mode

Set the design mode
tmap_overview

Overview of tmap layers
tmap_icons

Specify icons
tmap_leaflet

Export tmap to the format of the used graphics mode
tmap_devel_mode

Set the development mode
tmap_last

Retrieve the last map to be modified or created
.tmap_providers

Get basemap tile providers
toTitleCase

Internal methods for tmap extensions
tm_check_fix

tmap options
tmap_mode

Set tmap mode
tmap_style_catalogue

Create a style catalogue
tmap_save

Save tmap
tmap_style

Set or get the default tmap style
tmap_tip

Print a random tip to the console