Skip to content
Permalink
Browse files
Fix for ticket #3643, direction symbol of label
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15591 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 24, 2011
1 parent 7fd7c9e commit 2eb28b17ba7431ca590dc59980bfbf22ccaa3df5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/pal/feature.cpp
@@ -596,7 +596,7 @@ namespace pal
{
//std::cout << alpha*180/M_PI << std::endl;
if ( flags & FLAG_MAP_ORIENTATION )
reversed = ( alpha >= M_PI / 2 || alpha < -M_PI / 2 );
reversed = ( alpha > M_PI / 2 || alpha < -M_PI / 2 );

if (( !reversed && ( flags & FLAG_ABOVE_LINE ) ) || ( reversed && ( flags & FLAG_BELOW_LINE ) ) )
positions->push_back( new LabelPosition( i, bx + cos( beta ) *distlabel , by + sin( beta ) *distlabel, xrm, yrm, alpha, cost, this, reversed ) ); // Line

0 comments on commit 2eb28b1

Please sign in to comment.