configuration property

InteractionConfiguration configuration

Defines the set of interactive operations enabled when using this tool.

By default, this tool has an InteractionConfiguration.allowPartCreation value of false in the ShapeTool.configuration, which allows only the initial part of the specified shape to be added interactively - subsequent interactions may navigate the map view instead of changing the geometry. To add additional parts to the geometry with each new drag interaction, each with the specified ShapeToolType, set InteractionConfiguration.allowPartCreation to true.

Implementation

InteractionConfiguration get configuration => _configuration.value;
void configuration=(InteractionConfiguration value)

Implementation

set configuration(InteractionConfiguration value) =>
    _configuration.value = value;