# TextLabels Not showing up

**URL:** <https://community.thinkgeo.com/t/textlabels-not-showing-up/1295>\
**Category:** WinForms\
**Created:** [June 16, 2010, 12:44pm UTC](https://community.thinkgeo.com/t/textlabels-not-showing-up/1295 "2010-06-16T12:44:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@Andy](https://community.thinkgeo.com/u/Andy)\
**Post date:** [June 16, 2010, 12:44pm UTC](https://community.thinkgeo.com/t/textlabels-not-showing-up/1295/1 "2010-06-16T12:44:47Z")

</div>

Hi,&nbsp;I&nbsp;am&nbsp;having&nbsp;some&nbsp;trouble&nbsp;understanding&nbsp;why&nbsp;some&nbsp;labels&nbsp;do&nbsp;or&nbsp;dont&nbsp;show&nbsp;up&nbsp;on&nbsp;my&nbsp;map.&nbsp;

I&nbsp;am&nbsp;using&nbsp;these&nbsp;settings&nbsp;for&nbsp;my&nbsp;text&nbsp;style&nbsp;which&nbsp;i&nbsp;thought&nbsp;should&nbsp;cause&nbsp;all&nbsp;labels&nbsp;to&nbsp;show&nbsp;up&nbsp;but,&nbsp;between&nbsp;a&nbsp;few&nbsp;zoom&nbsp;levels&nbsp;a&nbsp;feature&nbsp;can&nbsp;go&nbsp;from&nbsp;having&nbsp;no&nbsp;labels&nbsp;to&nbsp;having&nbsp;some&nbsp;then&nbsp;as&nbsp;i&nbsp;get&nbsp;closer,&nbsp;eventually&nbsp;all&nbsp;of&nbsp;the&nbsp;correct&nbsp;labels&nbsp;show&nbsp;up.

textStyle.BestPlacement&nbsp;=&nbsp;true;  
  
textStyle.SplineType&nbsp;=&nbsp;SplineType.None  
  
textStyle.GridSize&nbsp;=&nbsp;1;  
  
textStyle.OverlappingRule&nbsp;=&nbsp;LabelOverlappingRule.AllowOverlapping;  
  
  
  
inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(&nbsp;textStyle&nbsp;);  
  
inMemoryFeatureLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel&nbsp;=&nbsp;ApplyUntilZoomLevel.Level20;

Is&nbsp;there&nbsp;a&nbsp;property&nbsp;that&nbsp;can&nbsp;be&nbsp;set&nbsp;on&nbsp;the&nbsp;map&nbsp;to&nbsp;force&nbsp;all&nbsp;labels&nbsp;to&nbsp;show&nbsp;up,&nbsp;or&nbsp;are&nbsp;there&nbsp;other&nbsp;settings&nbsp;on&nbsp;the&nbsp;layer&nbsp;or&nbsp;textStyle&nbsp;that&nbsp;will&nbsp;force&nbsp;all&nbsp;labels&nbsp;to&nbsp;show&nbsp;up?

---

<div class="post-metadata">

**Author:** ![David](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://community.thinkgeo.com/u/David)\
**Post date:** [June 16, 2010, 7:08pm UTC](https://community.thinkgeo.com/t/textlabels-not-showing-up/1295/2 "2010-06-16T19:08:08Z")

</div>

Andy,&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;two&nbsp;properties&nbsp;you&nbsp;need&nbsp;are&nbsp;below.&nbsp;&nbsp;The&nbsp;first&nbsp;lets&nbsp;their&nbsp;be&nbsp;an&nbsp;unlimited&nbsp;number&nbsp;of&nbsp;duplicated&nbsp;labels.&nbsp;&nbsp;The&nbsp;second&nbsp;one&nbsp;has&nbsp;to&nbsp;do&nbsp;with&nbsp;how&nbsp;much&nbsp;space&nbsp;the&nbsp;label&nbsp;needs&nbsp;on&nbsp;the&nbsp;line.&nbsp;&nbsp;If&nbsp;the&nbsp;value&nbsp;is&nbsp;1&nbsp;then&nbsp;the&nbsp;label&nbsp;can&nbsp;be&nbsp;no&nbsp;larger&nbsp;than&nbsp;the&nbsp;line&nbsp;or&nbsp;it&nbsp;is&nbsp;suppresses.&nbsp;&nbsp;At&nbsp;2&nbsp;the&nbsp;label&nbsp;can&nbsp;be&nbsp;twice&nbsp;as&nbsp;long&nbsp;as&nbsp;the&nbsp;line&nbsp;before&nbsp;it&nbsp;is&nbsp;suppresses.&nbsp;&nbsp;At&nbsp;0.5&nbsp;the&nbsp;line&nbsp;needs&nbsp;to&nbsp;be&nbsp;twice&nbsp;as&nbsp;long&nbsp;as&nbsp;the&nbsp;label&nbsp;for&nbsp;it&nbsp;to&nbsp;show&nbsp;up.&nbsp;&nbsp;Of&nbsp;course&nbsp;this&nbsp;is&nbsp;for&nbsp;line&nbsp;labels.&nbsp;&nbsp;You&nbsp;could&nbsp;also&nbsp;allow&nbsp;overlapping&nbsp;but&nbsp;I&nbsp;do&nbsp;not&nbsp;suggest&nbsp;it.&nbsp;&nbsp;Let&nbsp;me&nbsp;know&nbsp;how&nbsp;this&nbsp;works&nbsp;for&nbsp;you.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;textStyle.DuplicateRule&nbsp;=&nbsp;LabelDuplicateRule.UnlimitedDuplicateLabels;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;textStyle.TextLineSegmentRatio&nbsp;=&nbsp;1;&nbsp;  
&nbsp;&nbsp;  
&nbsp;David&nbsp;  
&nbsp;David&nbsp;
