Class: FeaturePanelEvent

Mapspace.control. FeaturePanelEvent


new FeaturePanelEvent(type, layer, features, action, tool, changes)

Parameters:
Name Type Argument Description
type Mapspace.control.FeaturePanelEventType

Event type.

layer Mapspace.layer.Vector <nullable>

Layer.

features Array.<ol.Feature> <nullable>

Array of features.

action Mapspace.FeatureActionType <nullable>

Type of change performed in the features, if the event was a change in the features.

tool Mapspace.ToolNames <nullable>

The button that was clicked, if the event was a click in a button.

changes Array.<Array.<Mapspace.FeatureChange>> <nullable>

The optional array of Objects with the changes of the features. They must be one object per feature in features param.

Source:
mapspace/events.js

Extends

Members


<nullable> action :Mapspace.FeatureActionType

The type of action performed in the features, if the event was a change in the features.

Source:
mapspace/events.js

changes :Array.<Array.<Mapspace.FeatureChange>>

The optional array of Objects with the changes of the features. They must be one object per feature in features param.

Source:
mapspace/events.js

<nullable> features :Array.<ol.Feature>

Feature.

Source:
mapspace/events.js

<nullable> layer :Mapspace.layer.Vector

Layer.

Source:
mapspace/events.js

<nullable> tool :Mapspace.ToolNames

The button that was clicked, if the event was a click in a button.

Source:
mapspace/events.js