ngeo
    Preparing search index...

    A simple object that can be managed by ngeo.misc.ToolActivateMgr.

    See our live examples: ../examples/mapquery.html ../examples/toolActivate.html

    An object which acts as the context for the tool.

    The name of a boolean property on toolContext which represents the active state of the tool.

    ngeoToolActivate

    Index

    Constructors

    Properties

    Constructors

    • A simple object that can be managed by ngeo.misc.ToolActivateMgr.

      See our live examples: ../examples/mapquery.html ../examples/toolActivate.html

      Parameters

      • toolContext: unknown

        An object which acts as the context for the tool.

      • activePropertyName: string

        The name of a boolean property on toolContext which represents the active state of the tool.

      Returns default

      ngeoToolActivate

    Properties

    getActive: () => boolean

    A getter function to get the active state of the tool.

    Type declaration

      • (): boolean
      • Returns boolean

        Is active.

    setActive: (newVal: boolean) => void

    A setter function to set the active state of the tool.

    Type declaration

      • (newVal: boolean): void
      • Parameters

        • newVal: boolean

          New active state.

        Returns void