Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in shield line placement #908

Merged
merged 1 commit into from
Oct 17, 2011

Conversation

zerebubuth
Copy link
Contributor

this fixes a bug with shield+text placement along a line. it seems what was happening previously was that the label box was being expanded to the size of the shield and being used to place text. however, this was not giving the right answer where dx/dy were being used. the patch expands line placement to include "additional boxes", i.e: when searching for a line placement it checks that some boxes offset from the position can be
placed.

the label relative to the placement point.
springmeyer pushed a commit that referenced this pull request Oct 17, 2011
Fixed bug in shield line placement
@springmeyer springmeyer merged commit 1fe029c into mapnik:master Oct 17, 2011
springmeyer pushed a commit that referenced this pull request Oct 17, 2011
springmeyer pushed a commit that referenced this pull request Oct 17, 2011
kkaefer pushed a commit to kkaefer/mapnik that referenced this pull request Feb 16, 2012
kkaefer pushed a commit to kkaefer/mapnik that referenced this pull request Feb 16, 2012
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.

None yet

2 participants