@geoblocks/edittrack
    Preparing search index...

    Interaction to modify a Vector Source.

    • on down a 3 points linestring is created and dispatched as modifystart;
    • on drag the middle point is updated;
    • on up the modifyend event is dispatched.

    Hierarchy

    • PointerInteraction
      • default
    Index

    Constructors

    Properties

    overlayFeature: Feature<Geometry> = ...

    Editing vertex.

    Accessors

    Methods

    • Get the first feature at pixel, favor points over lines

      Parameters

      • pixel: Pixel

      Returns Feature<LineString | Point>

    • Handles the module:ol/MapBrowserEvent~MapBrowserEvent map browser event.

      Parameters

      • event: MapBrowserEvent

      Returns boolean

      false to stop event propagation.

    • Activate or deactivate the interaction.

      Parameters

      • active: boolean

        Active.

      Returns void

    • Remove the interaction from its current map and attach it to the new map. Subclasses may set up event handlers to get notified about changes to the map here.

      Parameters

      • map: Map

        Map.

      Returns void