I have a problem with LabelcollisionDetection in VB.Net.
It is actually not working.
I tried the following parameters:
ll.Style.CollisionBuffer = New System.Drawing.SizeF(10, 10)
ll.MultipartGeometryBehaviour = Layers.LabelLayer.MultipartGeometryBehaviourEnum.Largest
ll.Style.CollisionDetection = True
ll.Style.IgnoreLength = True
But this doesn't change anything. Labels still overlap.
Trying to use:
ll.LabelFilter = SharpMap.Rendering.LabelCollisionDetection.ThoroughCollisionDetection
Returns an error saying:
'For the Parameter "labels" of Public Shared Sub ThorougCollisionDetection(labels as System.Collections.Generic.List(Of Sharpmap.Rendering.BaseLabel)) the Argument is missing.'
Any help appreciated!