geoview-core
    Preparing search index...

    Class Draw

    Class used for drawing features on a map

    Draw

    Hierarchy (View Summary)

    Index

    Constructors

    • Initializes a Draw component.

      Parameters

      • options: DrawOptions

        Object to configure the initialization of the Draw interaction.

      Returns Draw

    Properties

    mapViewer: MapViewer

    Reference the MapViewer associated with this interaction

    Methods

    • Unregisters a callback handler for the drawabort event.

      Parameters

      • callback: DrawDelegate

        The callback to stop being called whenever the event is emitted.

      Returns void

    • Unregisters a callback handler for the drawend event.

      Parameters

      • callback: DrawDelegate

        The callback to stop being called whenever the event is emitted.

      Returns void

    • Unregisters a callback handler for the drawstart event.

      Parameters

      • callback: DrawDelegate

        The callback to stop being called whenever the event is emitted.

      Returns void

    • Registers a callback handler for the drawabort event.

      Parameters

      • callback: DrawDelegate

        The callback to be executed whenever the event is emitted.

      Returns void

    • Registers a callback handler for the drawend event.

      Parameters

      • callback: DrawDelegate

        The callback to be executed whenever the event is emitted.

      Returns void

    • Registers a callback handler for the drawstart event.

      Parameters

      • callback: DrawDelegate

        The callback to be executed whenever the event is emitted.

      Returns void

    • Starts the interaction on the map

      Returns void

    • Stops the interaction on the map

      Returns void