Repository navigation
Fix symbol rendering for multipoints - #3763
Merged
Merged
Conversation
mourner
reviewed
Dec 8, 2016
mourner
left a comment
Member
There was a problem hiding this comment.
Can we rely on feature.type for discerning between points and polygons?
lucaswoj
force-pushed
the
multipoint-symbol-placement
branch
from
December 9, 2016 00:31
ecb4af5 to
8812ad4
Compare
Contributor
Author
|
Updated with new tests & use of the vector tile |
Contributor
Author
|
It's unfortunate that we place circles & symbols differently for lines, polygons, and multi-things. If pole-of-inaccessability symbol placement were a |
Contributor
Author
|
PR for new tests @ mapbox/mapbox-gl-test-suite#192 |
mourner
approved these changes
Dec 13, 2016
jfirebaugh
added a commit
to mapbox/mapbox-gl-native
that referenced
this pull request
Dec 15, 2016
jfirebaugh
added a commit
to mapbox/mapbox-gl-native
that referenced
this pull request
Dec 20, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Via a support request, @mapsam and I discovered that we do not render any symbols for multipoint geometries. This is inconsistent with our behaviour for circles in which we do render a circle at each point in the multipoint geometry (see #2027).
This PR tries to differentiate multipoint geometries from polygons and perform the correct label placement in each case.
cc @mourner @flippmoke @mapsam @jfirebaugh @colleenmcginnis
Open Questions
symbol-placementmodes forpoint,line, andpolygon/centroid?Launch Checklist