Constructor
new ModifyControl(optionsopt)
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object | <optional> | Tool options. Properties
 | 
- Source:
Extends
- Control
Members
(private) deleteInteraction :ol.interaction.Delete
Type:
- ol.interaction.Delete
- Source:
(private) deselectInteraction :ol.interaction.Interaction
Type:
- ol.interaction.Interaction
- Source:
(private) getFeatureAtPixel :function
    Return features elligible for selection on specific pixel.
    Type:
- function
- Source:
(private) hitTolerance :number
    Buffer around the coordintate clicked in pixels.
    Type:
- number
- Source:
(private) modifyInteraction :ol.interaction.Modify
Type:
- ol.interaction.Modify
- Source:
(private) moveInteraction :ole.interaction.Move
Type:
- ole.interaction.Move
- Source:
(private) selectFilter :function
    Filter function to determine which features are elligible for selection.
By default we exclude features on unmanaged layers(for ex: nodes to delete).
    Type:
- function
- Source:
selectModify :ol.interaction.Select
    Select interaction to modify features.
    Type:
- ol.interaction.Select
- Source:
(private) selectMove :ol.interaction.Select
    Select interaction to move features.
    Type:
- ol.interaction.Select
- Source:
Methods
activate()
- Source:
(private) addListeners(evt)
    Add others listeners on the map than interactions.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| evt | * | 
- Source:
(private) changeCursor(cursor)
    Change cursor style.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| cursor | string | New cursor name. | 
- Source:
(private) createDeleteInteraction(options)
    Create the interaction used to delete selected features.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) createDeselectInteraction(options)
    Create the interaction used to deselected features when we click on the map.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) createModifyInteraction(options)
    Create the interaction used to modify vertexes of features.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) createMoveInteraction(options)
    Create the interaction used to move feature.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) createSelectModifyInteraction(options)
    Create the interaction used to select feature to modify.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) createSelectMoveInteraction(options)
    Create the interaction used to select feature to move.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| options | * | 
- Source:
(private) cursorHandler(evt)
    Handle the move event of the move interaction.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| evt | ol.MapBrowserEvent | Event. | 
- Source:
deactivate()
- Source:
getFeatureAtPixel(pixel)
    Get a selectable feature at a pixel.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| pixel | * | 
- Source:
isHoverVertexFeatureAtPixel(pixel)
    Detect if a vertex is hovered.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| pixel | * | 
- Source:
(private) removeListeners(evt)
    Remove others listeners on the map than interactions.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| evt | * | 
- Source: