Options
All
  • Public
  • Public/Protected
  • All
Menu

The mapagent client

export
class

MapAgentRequestBuilder

extends

{Request.RequestBuilder}

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected agentUri

agentUri: string

Methods

createRuntimeMap

createSession

  • createSession(username: string, password: string): Promise<string>
  • Parameters

    • username: string
    • password: string

    Returns Promise<string>

describeRuntimeMap

get

  • get<T>(url: string): Promise<T>
  • Type parameters

    • T

    Parameters

    • url: string

    Returns Promise<T>

getResource

  • getResource<T>(resourceId: Common.ResourceIdentifier, args?: any): Promise<T>
  • Type parameters

    Parameters

    • resourceId: Common.ResourceIdentifier
    • Optional args: any

    Returns Promise<T>

getServerSessionTimeout

  • getServerSessionTimeout(session: string): Promise<number>
  • Parameters

    • session: string

    Returns Promise<number>

getTileTemplateUrl

  • getTileTemplateUrl(resourceId: string, groupName: string, xPlaceholder: string, yPlaceholder: string, zPlaceholder: string): string
  • Parameters

    • resourceId: string
    • groupName: string
    • xPlaceholder: string
    • yPlaceholder: string
    • zPlaceholder: string

    Returns string

post

  • post<T>(url: string, data: any): Promise<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • data: any

    Returns Promise<T>

queryMapFeatures

queryMapFeatures_v4

Generated using TypeDoc