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

feat: display an image from Panoramax in OSM template when tag is defined #2338

Merged
merged 5 commits into from
Dec 5, 2024

Conversation

yohanboniface
Copy link
Member

Screenshot From 2024-12-05 11-45-05

I initially just wanted to work on that simple Panoramax feature, but faced a bunch of bugs!

  • one bad var remaining since whatever refactor (and no tests for this popup template!)
  • title was duplicated, since whatever refactor (and not tests for this…)
  • title text was in black on blue background

We often need to compute the text/icon constrast color, but often
the element is not yet in the DOM, so we can't get the background
easily. Let's have a fallback for that instead of trying to have
"load" events everywhere.
@yohanboniface yohanboniface merged commit 7f3726d into master Dec 5, 2024
4 checks passed
@yohanboniface yohanboniface deleted the osm-popup-panoramax branch December 5, 2024 16:36
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.

2 participants