Class Gis

Hierarchy

  • Gis

Methods

  • Get domain gis services

    Returns

    Returns Promise object that represents an Object with the domain's default GIS services

    Parameters

    • domainId: any

      The mobile map cache Id to download

    • getGisData: boolean = true

    Returns Promise<unknown>

  • Download mobile map cache

    Returns

    Returns Promise object that represents a streaming download (?)

    Parameters

    • cacheId: any

      The mobile map cache Id to download

    • getGisData: boolean = true

    Returns Promise<unknown>

  • Get gis service configuration for user, group, domain, or service id

    Returns

    Returns Promise object that represents an Object with the desired GIS service definitions

    Parameters

    • Optional whichType: any

      domain, group, mapservice, or user

    • Optional whichId: any

      domain, group, mapservice, or user Id

    • Optional getGisData: boolean = true

      If true, check for feature server JSON data, default is true

    • Optional context: string[] = []

      Filter returned list by specific context, i.e. Office, Field, Mobile, Public, etc. Default is all.

    Returns Promise<unknown>

  • Get attributes available for provided entity

    Returns

    Returns Promise object that represents a collection of attribute description objects

    Parameters

    • entityType: string

      The entity type to describe

    Returns Promise<unknown>

  • Get initial extent for user

    Returns

    Returns Promise object that represents ... (?)

    Returns Promise<unknown>

  • Get inspection gis services

    Returns

    Returns Promise object that represents an Object with the specified inspection's entity

    Parameters

    • inspectionId: any

      The WorkOrder to check against.

    • getGisData: boolean = true

      If true, check for feature server JSON data, default is true.

    Returns Promise<unknown>

  • Get service request gis services

    Returns

    Returns Promise object that represents an Object with the specified request's entit(y|ies)

    Parameters

    • requestId: any

      The WorkOrder to check against.

    • getGisData: boolean = true

      If true, check for feature server JSON data, default is true.

    Returns Promise<unknown>

  • Get currently selected entities from the Cityworks install's session for your user

    Returns

    Returns Promise object that represents an Object with the currently-selected entities

    Returns Promise<unknown>

  • Get service request gis services

    Returns

    Returns Promise object that represents an Object with the user's GIS services

    Parameters

    • Optional context: string[] = []

      Filter returned list by specific context, i.e. Office, Field, Mobile, Public, etc. Default is all.

    • Optional allDomains: boolean = true

      services assigned to any domain the user belongs to, default is true

    • Optional allGroups: boolean = true

      services assigned to any groups the user belongs to regardless of domain, default is true

    • Optional getGisData: boolean = true

      If true, check for feature server JSON data, default is true

    Returns Promise<unknown>

  • Get workorder gis services

    Returns

    Returns Promise object that represents an Object with the specified WorkOrder's entit(y|ies)

    Parameters

    • workOrderSid: any

      The WorkOrder to check against.

    • getGisData: boolean = true

      If true, check for feature server JSON data, default is true.

    Returns Promise<unknown>