Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tm_minimap

Minimap


Description

Creates a minimap in view mode. See addMiniMap.

Usage

tm_minimap(server = NA, position = c("left", "bottom"), toggle = TRUE, ...)

Arguments

server

name of the provider or an URL (see tm_tiles). By default, it shows the same map as the basemap, and moreover, it will automatically change when the user switches basemaps. Note the latter does not happen when server is specified.

position

position of the scale bar Vector of two values, specifying the x and y coordinates. The first is either "left" or "right", the second either "top" or "bottom".

toggle

should the minimap have a button to minimise it? By default TRUE.

...

arguments passed on to addMiniMap.

See Also


tmap

Thematic Maps

v3.3-1
GPL-3
Authors
Martijn Tennekes [aut, cre], Jakub Nowosad [ctb], Joel Gombin [ctb], Sebastian Jeworutzki [ctb], Kent Russell [ctb], Richard Zijdeman [ctb], John Clouse [ctb], Robin Lovelace [ctb], Jannes Muenchow [ctb]
Initial release
2021-03-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.