tm_minimap: Map component: minimap

View source: R/tm_components.R

tm_minimapR Documentation

Map component: minimap

Description

Map component that adds a minimap in view mode

Usage

tm_minimap(server, toggle, stack, position, z, ...)

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.

toggle

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

stack

stack

position

position

z

z

...

arguments passed on to addMiniMap.

See Also

addMiniMap


r-tmap/tmap documentation built on July 17, 2024, 5:04 p.m.