ol.interaction. ol.interaction.Modify

new Modify

Stability: experimental
Parameters:
Name Type Description
options olx.interaction.ModifyOptions

Options.

Properties
Name Type Description
deleteCondition ol.events.ConditionType | undefined

Condition that determines which event results in a vertex deletion. Default is a singleclick event with no modifier keys.

pixelTolerance number | undefined

Pixel tolerance for considering the pointer close enough to a segment or vertex for editing. Default is 10 pixels.

style ol.style.Style | Array.<ol.style.Style> | ol.feature.StyleFunction | undefined

FeatureOverlay style.

features ol.Collection

The features the interaction works on.

Source:
  • modifyinteraction.js, line 45

Extends

  • ol.interaction.Pointer