Skip to content

Commit 697b35a

Browse files
author
Sandro Santilli
committedOct 22, 2011
Label direction symbol shouldn't depend on "map" vs. "line" orientation.
Refer to issue #3643 for further discussion
1 parent 59be561 commit 697b35a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/core/pal/feature.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,8 @@ namespace pal
597597
#endif
598598
if ( f->layer->arrangement == P_LINE )
599599
{
600-
//std::cout << alpha*180/M_PI << std::endl;
601-
if ( flags & FLAG_MAP_ORIENTATION )
602-
reversed = ( alpha > M_PI / 2 || alpha <= -M_PI / 2 );
600+
//if ( flags & FLAG_MAP_ORIENTATION ) // see bug #3643
601+
reversed = ( alpha > M_PI / 2 || alpha <= -M_PI / 2 );
603602

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

0 commit comments

Comments
 (0)