ui: Options settings for map interface

View source: R/ui.R

uiR Documentation

Options settings for map interface

Description

Allow the user to choose which interface elements are displayed on the map and their positions.

Usage

ui(
  zoom = c("topleft", "topright", "bottomleft", "bottomright", "none"),
  layers = c("none", "topright", "topleft", "bottomleft", "bottomright"),
  attrib = c("bottomright", "topleft", "topright", "bottomleft", "none"),
  attrib.text = ""
)

Arguments

zoom

a character string indicating if and how should the zoom control be displayed. This must be one of "topleft", "topright", "bottomleft", "bottomright", "none"

layers

a character string indicating if and how should the layers control be displayed. This must be one of "topleft", "topright", "bottomleft", "bottomright", "none"

attrib

a character string indicating if and how should the attribution control be displayed. This must be one of "topleft", "topright", "bottomleft", "bottomright", "none"

attrib.text

a character string for additionnal credits. HTML tags are accepted.

Value

An object of class ui which can be directly given as interface argument of writeMap.


fkeck/rleafmap documentation built on Oct. 23, 2023, 12:27 a.m.