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 MapEventSDK<T>
Type Parameters
- T extends keyof MapEventTypeSDK
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
An event as an SDK
Maplistener receives it. MapLibre types its events' target as its ownMap, which lacks the SDK members, but the target is always the SDKMapthat fired it.The target is intersected in, rather than remapped over every event, so the SDK
Map'son/once/offstay assignable to MapLibre's — the SDKMapis passed to MapLibre controls and layers.