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

Label Layer Collision problem

Topics: General Topics
Dec 6, 2006 at 12:14 AM
Hi all,

I am using shape files to generate my map and allowing only one label layer to be visible at a time. To avoid label collision I had added the following piece of code.
----------------------------------------locLabel.Style.CollisionDetection = True
locLabel.Style.CollisionBuffer = New System.Drawing.SizeF(20, 20)
The problem is that even though I have set this property there is text collision. my map is of a city block area. with many roads and locations very close to each other. If I increase th Collision Buffer I am able to view only certain text.

Please can someone help me in rsolving this issue.