Class: GroupEvent

ol/layer/Group.GroupEvent


A layer group triggers 'addlayer' and 'removelayer' events when layers are added to or removed from the group or one of its child groups. When a layer group is added to or removed from another layer group, a single event will be triggered (instead of one per layer in the group added or removed).

Extends

Members

The added or removed layer.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

stopPropagation() inherited

Stop event propagation.

Events

Generic change event. Triggered when the revision counter is increased.

Generic error event. Triggered when an error occurs.