menuItem {leaflet.extras2} | R Documentation |
menuItem
Description
menuItem
Usage
menuItem(text, callback = NULL, ...)
Arguments
text |
The label to use for the menu item |
callback |
A callback function to be invoked when the menu item is
clicked. The callback is passed an object with properties identifying the
location the menu was opened at: |
... |
For further options please visit https://github.com/aratcliffe/Leaflet.contextmenu |
Value
A contextmenu item list
See Also
Other Contextmenu Functions:
addContextmenu()
,
addItemContextmenu()
,
context_mapmenuItems()
,
context_markermenuItems()
,
context_menuItem()
,
disableContextmenu()
,
enableContextmenu()
,
hideContextmenu()
,
insertItemContextmenu()
,
mapmenuItems()
,
markermenuItems()
,
removeItemContextmenu()
,
removeallItemsContextmenu()
,
setDisabledContextmenu()
,
showContextmenu()