polygon gamma suggestions for simple, choropleth, category, and density default settings #6775
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.
@andrewxhill please review
The changes proposed in this pull request are:
polygon-gamma: 0.2
to simple, choropleth, category, and density polygonsline-width
has been set to0
Explanation and Examples:
By default,
polygon-gamma
(polygon-antialiasing) is set to1
. If someone is designing a map and removes the outline, there is a noticeable gap in between each polygon. This is especially true with choropleth and category maps that vary in color over a variety of shapes and sizes. Here are two examples of this effect:One solution is to modify the
line-color
of each polygon fill to get a smooth appearance but this can be tedious especially when there are a large number of classes/categories.A default solution is to adjust the
polygon-gamma
setting to0.2
. In doing so, the antialiasing is minimized and each polygon appears to have an outline that is a shade of its fill color and makes for an overall smoother looking map:Density Now:
Proposed (with
polygon-gamma
and default size of5
):