Options
All
  • Public
  • Public/Protected
  • All
Menu

Provides client services for a MapGuide map viewer

export
interface

IMapGuideClient

Hierarchy

  • IMapGuideClient

Implemented by

Index

Methods

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

    Parameters

    • username: string
    • password: string

    Returns Promise<string>

  • getResource<T>(resourceId: string, args?: any): Promise<T>
  • Retrieves the requested resource

    abstract

    Type parameters

    Parameters

    • resourceId: string
    • Optional args: any

    Returns Promise<T>

  • 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

    since

    0.14.8 added isXYZ parameter

    Parameters

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

    Returns string

Generated using TypeDoc