Class EventLayer

A plugin that contains "event layer" methods for a Cityworks install

Hierarchy

  • EventLayer

Methods

  • Get all event layers

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Returns Promise<unknown>

  • ??

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • createBySids: number[]
    • queryTypes: number[]

    Returns Promise<unknown>

  • Disable an event layer

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • eventLayerId: number

      which event layer to update

    Returns Promise<unknown>

  • Enable an event layer

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • eventLayerId: number

      which event layer to update

    Returns Promise<unknown>

  • Filter event layers by provided search definitions

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • searchIds: number[]

      Defaults to false

    • eventLayerIds: number[]

      Defaults to false

    Returns Promise<unknown>

  • Get all event layers

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • includeDisabled: boolean = false

      Defaults to false

    Returns Promise<unknown>

  • eventLayer GIS endpoint, this may need to be a promise as well...

    Returns

    Returns string that is absolute URL for event layer GIS endpoint

    Parameters

    • eventLayerId: any

    Returns string

  • Get Preferences for User

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Returns Promise<unknown>

  • Get all EUrl Query Types

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Returns Promise<unknown>

  • Get Styles for event layers

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Returns Promise<unknown>

  • Update (enable/disable) an event layer

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • eventLayerId: number

      which event layer to update

    • enabled: boolean

      true to enable, false to disable

    Returns Promise<unknown>

  • Save user preferences

    Returns

    Returns Promise object which represents a xxxxx indicating xxxxxxx

    Parameters

    • element: number

      "VisibleQeIds"

    • category: boolean

      "qe-map"

    • defaultValue: Object

      {all: [3]}

    Returns Promise<unknown>