This class implements the BaseContextMenu class for the wayPoints
The constructor
The event that have triggered the menu
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