Remove a contextmenu item by index.
Arguments
- map
a map widget object created from
leaflet
- index
Index of the contextmenu. (NOTE: Since the index is passed to JavaScript, it is zero-based)
See also
Other Contextmenu Functions:
addContextmenu()
,
addItemContextmenu()
,
context_mapmenuItems()
,
context_markermenuItems()
,
context_menuItem()
,
disableContextmenu()
,
enableContextmenu()
,
hideContextmenu()
,
insertItemContextmenu()
,
mapmenuItems()
,
markermenuItems()
,
menuItem()
,
removeallItemsContextmenu()
,
setDisabledContextmenu()
,
showContextmenu()