Class: TopologyControl

TopologyControl(optionsopt)

Control for deleting geometries.

Constructor

new TopologyControl(optionsopt)

Parameters:
Name Type Attributes Description
options Object <optional>
Control options.
Properties
Name Type Attributes Description
hitTolerance number <optional>
Select tolerance in pixels (default is 10)
style ol.style.Style.StyleLike <optional>
Style used when a feature is selected.
Source:

Extends

  • Control

Members

(private) selectInteraction :ol.interaction.Select

Type:
  • ol.interaction.Select
Source:

Methods

activate()

Source:

applyTopologyOperation(features)

Apply a topology operation for given features.
Parameters:
Name Type Description
features Array.<ol.Feature> Features.
Source:

deactivate()

Source: