On this page

Class TelemetryMaptiler

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

Index

Constructors

  • 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

Methods

  • 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?
SDK JS
Reference
Telemetry