Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Example for stylemissingimage #2258

Merged
merged 2 commits into from Mar 8, 2023
Merged

Docs: Example for stylemissingimage #2258

merged 2 commits into from Mar 8, 2023

Conversation

tordans
Copy link
Contributor

@tordans tordans commented Mar 8, 2023

This is supposed to improve the example at https://maplibre.org/maplibre-gl-js-docs/api/map/#map.event:styleimagemissing by…

  • adding imageId to the logged output and implicitly explaining in the code that event.id is the image's id
  • adding the TypeScript event type

My understanding is, that those docs are generated based on this code, right?


Had to add a fix commit. Let me know if I should squash manually of if you could squash on merge. Happy to do it, if this is a change that might get accepted…

- Add `imageId` to the logged output
- Add TypeScript type for event
@HarelM HarelM merged commit 2531d6a into maplibre:main Mar 8, 2023
8 checks passed
@HarelM
Copy link
Member

HarelM commented Mar 8, 2023

THANKS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants