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(poi-layer): feature selectable below min zoom level #880

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

andreashelms
Copy link
Collaborator

@andreashelms andreashelms commented Jan 9, 2025

closes #879

@andreashelms andreashelms requested a review from hbruch January 9, 2025 13:55
);
return (
PoiVectorTileLayer.visibleCategories[poiLayer.code] &&
this.tile.coords.z >= poiLayer.properties.layer.min_zoom
Copy link

Choose a reason for hiding this comment

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

visibility z level may differ by category, what should be taken into account here, no?

Copy link
Collaborator Author

@andreashelms andreashelms Jan 9, 2025

Choose a reason for hiding this comment

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

poiLayer is a specific poi layer selected by category code. So min_zoom is already applied individually for each category.

Copy link

@hbruch hbruch left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@andreashelms andreashelms merged commit fd3da60 into next Jan 13, 2025
5 checks passed
@andreashelms andreashelms deleted the fix/poi-layer-zoom-level branch January 13, 2025 14:51
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.

POI features selectable even if not visible
2 participants