removeItemContextmenu {leaflet.extras2}R Documentation

removeItemContextmenu

Description

Remove a contextmenu item by index.

Usage

removeItemContextmenu(map, 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)

Value

A leaflet map object

See Also

Other Contextmenu Functions: addContextmenu(), addItemContextmenu(), context_mapmenuItems(), context_markermenuItems(), context_menuItem(), disableContextmenu(), enableContextmenu(), hideContextmenu(), insertItemContextmenu(), mapmenuItems(), markermenuItems(), menuItem(), removeallItemsContextmenu(), setDisabledContextmenu(), showContextmenu()


[Package leaflet.extras2 version 1.2.2 Index]