Skip to contents

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