Class: EditChangeEvent

OM.edit. EditChangeEvent


new EditChangeEvent()

This class represents a single edit change event.

Methods


getCurrentChange()

Returns the current change.

Returns:

object


getEventType()

Returns the event type.

Returns:

event type


getFeature()

Returns the feature.

Returns:

feature object.


getKey()

Returns the key value.

Returns:

key string.


getOldChange()

Returns the the old change.

Returns:

geometry or attribute(s) object


getUpdateType()

Returns the update type.

Returns:

update type


isModifiedFeature()

Returns if change relates to a feature that has been modified before.

Returns:

true or false


isNewFeature()

Returns if change relates to a new feature.

Returns:

true or false