LayerManager.subscribeLayerDeleted Method

Subscribe an event handler to the layer deleted event.
 

Parameters

callback

Type: Function
The event handler.
unsubscribe

Type: Boolean
True to unsubscribe, False to subscribe.

Return Value


Type: LayerManager
This object.