Spec-Zone.ru › MapLibre GL JS

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.

Parameters

Parameter Type
id string

Returns

void | Promise<void>

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/MissingStyleImageResolver/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API