Skip to contents

Deprecated. Prefer passing target explicitly.

These functions access the package-level projection state. Prefer passing target explicitly to tissot_map() and tissot_abline(), or let plot.indicatrix_list() or image.tissot_raster() set it automatically.

Usage

tissot_get_proj()

tissot_set_proj(target)

Arguments

target

projection CRS string

Value

tissot_get_proj() returns the current projection string or NULL

Examples

tissot_set_proj("+proj=robin")
tissot_get_proj()
#> [1] "+proj=robin"
tissot_set_proj(NULL)  # reset