JMap.Application.Event.Layer.on.doubleClick
This event is triggered when a user double clicks on a layer name in the hierarchical tree of the layers panel.
The layer is received as a param property of the event, you can then take any action that would be executed on double click for this layer.
Your listener id (must be unique)
Your listener function
JMap.Application.Event.Layer.on
Here you have all JMap NG App available layer events on which you can attach a listener.