Label Orientation

May 16, 2011 at 9:16 PM

Hello,

Is there a way to display labels in the vertical orientation? Right now if you add a shp containing roads and turn on the lables, they are always horizontal and I did not find a way to display the label vertical when a road runs north-south. Is this a feature that might be added shortly to dotspatial.

Thank you,

VK.

May 17, 2011 at 9:46 PM

Hello all.

We are having the same issue.  Does anyone know how to rotate the labels based on attribute data from a shape file?

Jun 1, 2011 at 9:52 PM

Hi,

 

Well I have the same problem aligning labels on line features.

 

I tried the angle but not working!

 

labellayer.Symbolizer.Angle

Jun 1, 2011 at 10:05 PM

The code to perform the rotation of the text boxes does not exist.  I was able to find where the text boxes were being rendered and was able to add some prototype code  that would perform an arbitrary rotation. I was unable to go any further with it until my client says to continue development.  I can dig up the location in the next few days.  Sorry for the delay but the code sample is on another system.