This project has moved and is read-only. For the latest updates, please go here.

How to center Street labeling in rendering

Topics: SharpMap Project
Jan 21, 2009 at 3:28 AM
Hi Everyone

I have a LabelLayer that represent street names in my project,  it is posible that the labellayer in this case are streets names, in rendering by a zoom or pan, the image gets center as well the labels.
Example i have a line wich have the stree name and croses 5 blocks, but when a i get to a closer zoom  to the street the label doesn't center, it takes the center of the lenght of the line, instead of center in the image, HorizontalAlignment and VerticalAlignment it seems that doesn't do the work.

i hope i got my self clear, any help?
Jan 21, 2009 at 10:14 AM
You would have to modify the rendering code to achieve this. hth jd