For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias MissingStyleImageResolver

MissingStyleImageResolver: (id: string) => void | Promise<void>

Callback used by Map.setMissingStyleImageResolver to resolve missing style images, typically by calling Map.addImage. MapLibre awaits the returned promise before treating the image as missing.

Type Declaration

    • (id: string): void | Promise<void>
    • Parameters

      • id: string

      Returns void | Promise<void>

Was this helpful?