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

fix(netzkarte): add FloorSwitcher component #1212

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

danji90
Copy link
Contributor

@danji90 danji90 commented Jan 30, 2025

How to

Others

  • It's not a hack or at least an unauthorized hack :).
  • The images added are optimized.
  • Everything in ticket description has been fixed.
  • The author of the MR has made its own review before assigning the reviewer.
  • The title means something for a human being and follows the conventional commits specification.
  • The title contains [WIP] if it's necessary.
  • Labels applied. if it's a release? a hotfix?
  • Tests added.

@danji90 danji90 self-assigned this Jan 30, 2025
Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dev-trafimage-maps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 2:41pm
trafimage-maps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 2:41pm

@danji90 danji90 marked this pull request as draft January 30, 2025 16:24
name: "ch.sbb.geschosse",
visible: true,
properties: {
hideInLayerTree: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use hideInLegend instead of adding a new property

Copy link
Contributor Author

@danji90 danji90 Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, we need a new property because hideInLegend also removes the layers from the permalink, so we can't control the levels via search params

Copy link
Collaborator

@oterral oterral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm minor changes requested,

src/config/ch.sbb.netzkarte/index.js Outdated Show resolved Hide resolved
@danji90 danji90 added the enhancement New feature or request label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants