cityworks
    Preparing search index...

    Class Gis

    Index

    Methods

    • Get domain gis services

      Parameters

      • domainId: any

        The mobile map cache Id to download

      • getGisData: boolean = true

      Returns Promise<unknown>

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

    • Download mobile map cache

      Parameters

      • cacheId: any

        The mobile map cache Id to download

      • getGisData: boolean = true

      Returns Promise<unknown>

      Returns Promise object that represents a streaming download (?)

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

      Parameters

      • OptionalwhichType: any

        domain, group, mapservice, or user

      • OptionalwhichId: any

        domain, group, mapservice, or user Id

      • OptionalgetGisData: boolean = true

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

      • Optionalcontext: string[] = []

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

      Returns Promise<unknown>

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

    • Get attributes available for provided entity

      Parameters

      • entityType: string

        The entity type to describe

      Returns Promise<unknown>

      Returns Promise object that represents a collection of attribute description objects

    • Get initial extent for user

      Returns Promise<unknown>

      Returns Promise object that represents ... (?)

    • Get inspection gis services

      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>

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

    • Get service request gis services

      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>

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

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

      Returns Promise<unknown>

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

    • Get service request gis services

      Parameters

      • Optionalcontext: string[] = []

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

      • OptionalallDomains: boolean = true

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

      • OptionalallGroups: boolean = true

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

      • OptionalgetGisData: boolean = true

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

      Returns Promise<unknown>

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

    • Get workorder gis services

      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>

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