This class implements the BaseContextMenu class for the routes
The constructor
Name | Type | Description |
---|---|---|
contextMenuEvent | Event | The event that have triggered the menu |
parentNode | HTMLElement | The parent node of the menu. Can be null for leaflet objects |
The list of menu items to use. Implementation of the BaseContextMenu.menuItems property
The route for witch the context menu is displayed