| ui | R Documentation |
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 = ""
)
zoom |
a character string indicating if and how should the zoom control be displayed.
This must be one of " |
layers |
a character string indicating if and how should the layers control be displayed.
This must be one of " |
attrib |
a character string indicating if and how should the attribution control be displayed.
This must be one of " |
attrib.text |
a character string for additionnal credits. HTML tags are accepted. |
An object of class ui which can be directly given as interface argument of writeMap.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.