LayerEvent

LayerEvent

Own event that is used to open, update and close the layer by the LayerProvider and can also be caught by it. The LayerModel is always sent along for an exact assignment. In addition, the optional data parameter can be used to pass further values to the layer via the event.

Constructor

new LayerEvent(type, layer, dataopt)

Source:
Parameters:
Name Type Attributes Default Description
type string
layer LayerModel
data * <optional>
null

Optional data which should be passed to the layer by this event

Extends

  • Event

Members

data :*

Description:
  • Optional data which should be passed to the layer by this event.

Source:

Optional data which should be passed to the layer by this event.

Type:
  • *

layer :LayerModel

Source:
Type: