Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class TelemetryMaptiler

A Telemetry instance sends some usage and merics to a dedicated endpoint at MapTiler Cloud.

Index
  • Parameters

    • map: Map

      : a Map instance

    • delay: number = 2000

      : a delay in milliseconds after which the payload is sent to MapTiler cloud (cannot be less than 1000ms)

    Returns Telemetry

  • Register a module to the telemetry system of the SDK. The arguments name and version likely come from the package.json of each module.

    Parameters

    • name: string
    • version: string

    Returns void

  • Parameters

    • viewerType: string = "Map"

    Returns void

Was this helpful?