ThinkGeo.com    |     Documentation    |     Premium Support

- intervention in the functions that detect collisions of drawn data (names, icons, points, etc.)





Control

 WinformsMap does not like too much data to draw. Also does not like draw to much labels, names, points, icons, etc. as they really exist, names in particular. How and which methods should I use to obtain possibility to intervention in the functions that detect collisions of drawn data (names, points, etc.)?


 



Pawel, 


Thanks for your post and welcome you ThinkGeo Desktop Forum!
 
For symbol display, we have no way to detect collisions and avoid it automatically, you have to control it manually by ZoomLevel, we have developed App with around 20GB which seems not so clustered with very decent control of data based on ZoomLevel controlling.
 
For Label display, we provided some properties you can use to detect the collection and avoid them in some particular ZoomLevel and Windows extent; Following just gives you 2 simple and obvious control settings from a whole bunch of them.

lineShapeFile.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.DuplicateRule = LabelDuplicateRule.OneDuplicateLabelPerQuadrant;
lineShapeFile.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.OverlappingRule = LabelOverlappingRule.NoOverlapping;

Any more questions just let me know.


 Thanks.
 
Yale