Skip to content

Conversation

pdrhlik
Copy link

@pdrhlik pdrhlik commented Mar 14, 2025

Setting _minzoom was being overwritten while processing each feature. It needs to be persisted per feature and per layer. This way it's possible to easily add filtering logic based on zoom in the attribute_function.

Fixes #774

Setting _minzoom was being overwritten while processing
each feature. It needs to be persisted per feature
and per layer. This way it's possible to easily add
filtering logic based on zoom in the attribute_function.
pdrhlik added 2 commits March 14, 2025 15:45
FirstLastNode() - returns the first and the last node coordinates
of a way/relation.

WayBearing() - calculates the way's bearing in degrees between
the first and the last point of the way/relation.
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.

Setting _minzoom in attribute_function() doesn't work per feature
1 participant