This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Improve polygon perimeter labeling
This commit changes the way polygon perimeter labeling works. Previously the polygon would be clipped to the view extent, and then the boundary of the clipped polygon used for perimeter labeling. This tended to push the labels to the outside of the map extent (the clip boundary), since that's the longest straight section of the resultant geometry. Now, the boundary is taken *before* the clip, so that perimeter based labels will never be placed on the artificial boundary created at the map's extent. (cherry-picked from 27697e6)
- Loading branch information
Showing 1 changed file with 12 additions and 10 deletions.