ThinkGeo.com    |     Documentation    |     Premium Support

Drawing the label for a line shape to be always visible

Hi


In MapSuite 2.0, the label for a line map shape was always drawn if the line was visible in the screen.


However, in 3.0, the label is drawn only at the center of the line.


How can I draw the label in 2.0 style?


Thanks



Seungwoo, 
  
 I’m afraid you can not implement it with the current version (3.0.199). Thanks for pointing it out though and we will try to add it in the next version. 
  
 Thanks, 
  
 Ben

Seungwoo,


I think we have add a property in TextStyle to support your requirement in 3.0.


Please try to following code and let me know if it's what you want


            textStyle.FittingLineInScreen = true;

Thanks


James



Thanks for your support. :D 
  
 We’ve just needed that feature because we are porting our app to MapSuite 3.0!

Seungwoo, 



We have added many new features in Mapsuite 3.0 since 3.0.199 which I guess you are familiar with. You can implement the same thing as 2.0, maybe even better. 



Please let me know if you have any more questions. 



Thanks 



James