Class: BufferControl

BufferControl(optionsopt)

Control for creating buffers.

Constructor

new BufferControl(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)
multi boolean <optional>
Allow selection of multiple geometries (default is false).
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:

buffer(width)

Apply a buffer for seleted features.
Parameters:
Name Type Description
width Number Buffer width in map units.
Source:

deactivate()

Source:

getDialogTemplate()

Source: