Options
All
  • Public
  • Public/Protected
  • All
Menu

The mapagent client

export

Hierarchy

Index

Constructors

Properties

agentUri: string

Methods

  • createSession(username: string, password: string): Promise<string>
  • Creates a new MapGuide session

    Parameters

    • username: string
    • password: string

    Returns Promise<string>

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

    • T

    Parameters

    • url: string

    Returns Promise<T>

  • getResource<T>(resourceId: string, args?: any): Promise<T>
  • getServerSessionTimeout(session: string): Promise<number>
  • getTileTemplateUrl(resourceId: string, groupName: string, xPlaceholder: string, yPlaceholder: string, zPlaceholder: string, isXYZ: boolean): string
  • Gets the tile template URL used by the viewer to send tile requests

    Parameters

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

    Returns string

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

    • T

    Parameters

    • url: string
    • data: any

    Returns Promise<T>

Generated using TypeDoc