Allow the user to choose which interface elements are displayed on the map and their positions.
ui(
zoom = c("topleft", "topright", "bottomleft", "bottomright", "none"),
layers = c("none", "topright", "topleft", "bottomleft", "bottomright"),
attrib = c("bottomright", "topleft", "topright", "bottomleft", "none"),
attrib.text = ""
)
An object of class ui
which can be directly given as interface
argument of writeMap
.
a character string indicating if and how should the zoom control be displayed.
This must be one of "topleft
", "topright
", "bottomleft
", "bottomright
", "none
"
a character string indicating if and how should the layers control be displayed.
This must be one of "topleft
", "topright
", "bottomleft
", "bottomright
", "none
"
a character string indicating if and how should the attribution control be displayed.
This must be one of "topleft
", "topright
", "bottomleft
", "bottomright
", "none
"
a character string for additionnal credits. HTML tags are accepted.