Class ClientConfig

The configuration object definition

Index

Constructors

Properties

Accessors

Constructors

Properties

bufferToPixelData?: BufferToPixelDataFunction
tileCacheSize: number = 200

Number of tiles to keep in cache

Accessors

  • get apiKey(): string

    Get the MapTiler Cloud API key

    Returns string

  • set apiKey(k: string): void

    Set the MapTiler Cloud API key

    Parameters

    • k: string

    Returns void

Was this helpful?

Client JS
Reference
ClientConfig