Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventRelay

Index

Constructors

Properties

Methods

Constructors

constructor

  • new EventRelay(map: Map, siteId?: string, endpointUrl?: string, userName?: string): EventRelay
  • Initializes a new instance of the {@link geocortex.optimizer.EventRelay} class.

    Parameters

    • map: Map

      ESRI map object whose events will be logged.

    • Optional siteId: string

      Name to use to uniquely identify the site generating the log events.

    • Optional endpointUrl: string

      Alternate URL for the optimizer rest logging endpoint. Must include the f=json url parameter.

    • Optional userName: string

      The username of the local user

    Returns EventRelay

Properties

userName

userName: string

Methods

logToolUsage

  • logToolUsage(toolName: string, toolData: string): void
  • Logs a tool usage event to the Optimizer Rest endpoint

    Parameters

    • toolName: string

      Name of the tool used

    • toolData: string

      Specifics of the tool usage

    Returns void