Skip to content

Adding sorting rank value for MultiLineString#1142

Merged
stepankuzmin merged 1 commit intomapbox:mainfrom
zhangchn:a
Jan 25, 2023
Merged

Adding sorting rank value for MultiLineString#1142
stepankuzmin merged 1 commit intomapbox:mainfrom
zhangchn:a

Conversation

@zhangchn
Copy link
Contributor

As simple_select sometimes renders lines as MultiLineString geometry, sortFeatures() should handle this type or midpoint clicking would fail.

This could fix issue #1117.

As simple_select sometimes renders lines as `MultiLineString` geometry,
sort ranking should handle this type or midpoint clicking would fail.
Copy link
Contributor

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@stepankuzmin stepankuzmin merged commit 8cc76e2 into mapbox:main Jan 25, 2023
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