LayerManager.subscribeLayerCreated Method

Subscribe an event handler to the layer created event.
 

Parameters

callback

Type: Function
The event handler.
unsubscribe

Type: Boolean
True to unsubscribe, False to subscribe.

Return Value


Type: LayerManager
This object.