# Order of drawing features in layer

**URL:** <https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734>\
**Category:** WinForms\
**Created:** [June 9, 2011, 11:26am UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734 "2011-06-09T11:26:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ioannis](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/i/ad7895/32.png) [@Ioannis](https://community.thinkgeo.com/u/Ioannis)\
**Post date:** [June 9, 2011, 11:26am UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/1 "2011-06-09T11:26:31Z")

</div>

Hi&nbsp;people,

In&nbsp;the&nbsp;pre&nbsp;5&nbsp;versions,&nbsp;my&nbsp;features&nbsp;were&nbsp;drawn&nbsp;on&nbsp;the&nbsp;Map&nbsp;following&nbsp;the&nbsp;order&nbsp;I&nbsp;was&nbsp;inserting&nbsp;them&nbsp;in&nbsp;the&nbsp;layer.&nbsp;As&nbsp;of&nbsp;5.25&nbsp;lines&nbsp;are&nbsp;always&nbsp;on&nbsp;top&nbsp;of&nbsp;points&nbsp;no&nbsp;matter&nbsp;what&nbsp;is&nbsp;the&nbsp;order&nbsp;of&nbsp;insertion.&nbsp;Is&nbsp;this&nbsp;the&nbsp;case&nbsp;or&nbsp;am&nbsp;I&nbsp;missing&nbsp;something&nbsp;important&nbsp;here?

Kind&nbsp;Regards

Yiannis

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 9, 2011, 2:59pm UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/2 "2011-06-09T14:59:49Z")

</div>

Ioannis,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I’m&nbsp;working&nbsp;on&nbsp;this&nbsp;post,&nbsp;do&nbsp;some&nbsp;investigations,&nbsp;any&nbsp;updates&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 10, 2011, 8:34am UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/3 "2011-06-10T08:34:20Z")

</div>

Ioannis,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience,&nbsp;in&nbsp;the&nbsp;version&nbsp;5.0,&nbsp;the&nbsp;order&nbsp;of&nbsp;drawing&nbsp;features&nbsp;in&nbsp;a&nbsp;layer&nbsp;is&nbsp;drawing&nbsp;area&nbsp;features&nbsp;first&nbsp;then&nbsp;drawing&nbsp;point&nbsp;features,&nbsp;last&nbsp;drawing&nbsp;line&nbsp;features.&nbsp;So&nbsp;for&nbsp;your&nbsp;problem,&nbsp;the&nbsp;line&nbsp;features&nbsp;always&nbsp;on&nbsp;top&nbsp;of&nbsp;the&nbsp;point&nbsp;features&nbsp;no&nbsp;matter&nbsp;what&nbsp;is&nbsp;the&nbsp;order&nbsp;insertion.&nbsp;I&nbsp;have&nbsp;added&nbsp;this&nbsp;problem&nbsp;to&nbsp;our&nbsp;issue&nbsp;tracker&nbsp;system,&nbsp;our&nbsp;development&nbsp;team&nbsp;will&nbsp;work&nbsp;on&nbsp;it&nbsp;if&nbsp;there&nbsp;are&nbsp;any&nbsp;updates&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![Elisa](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@Elisa](https://community.thinkgeo.com/u/Elisa)\
**Post date:** [June 10, 2011, 8:48am UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/4 "2011-06-10T08:48:26Z")

</div>

Scott:&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;too&nbsp;have&nbsp;a&nbsp;program&nbsp;that&nbsp;is&nbsp;dependent&nbsp;on&nbsp;the&nbsp;points&nbsp;always&nbsp;being&nbsp;on&nbsp;top.&nbsp;&nbsp;I&nbsp;thought&nbsp;I&nbsp;had&nbsp;done&nbsp;something&nbsp;wrong&nbsp;in&nbsp;my&nbsp;code&nbsp;so&nbsp;I&nbsp;moved&nbsp;the&nbsp;point&nbsp;layer&nbsp;to&nbsp;the&nbsp;top&nbsp;after&nbsp;the&nbsp;layers&nbsp;were&nbsp;loaded&nbsp;to&nbsp;account&nbsp;for&nbsp;this&nbsp;issue.&nbsp;  
&nbsp;&nbsp;  
&nbsp;This&nbsp;is&nbsp;the&nbsp;second&nbsp;function&nbsp;now&nbsp;that&nbsp;I&nbsp;am&nbsp;aware&nbsp;of&nbsp;(see&nbsp;my&nbsp;thread&nbsp;regarding&nbsp;GetLineOnALine)&nbsp;where&nbsp;the&nbsp;logic&nbsp;and/or&nbsp;functionality&nbsp;has&nbsp;been&nbsp;changed&nbsp;in&nbsp;version&nbsp;5.0&nbsp;with&nbsp;no&nbsp;notification&nbsp;in&nbsp;the&nbsp;change&nbsp;log.&nbsp;&nbsp;It&nbsp;is&nbsp;getting&nbsp;critical&nbsp;that&nbsp;there&nbsp;be&nbsp;a&nbsp;list&nbsp;published&nbsp;for&nbsp;the&nbsp;users&nbsp;of&nbsp;where&nbsp;the&nbsp;existing&nbsp;logic&nbsp;and/or&nbsp;functionality&nbsp;has&nbsp;been&nbsp;changed&nbsp;other&nbsp;than&nbsp;to&nbsp;fix&nbsp;a&nbsp;bug&nbsp;so&nbsp;that&nbsp;we&nbsp;can&nbsp;check&nbsp;that&nbsp;our&nbsp;programs&nbsp;still&nbsp;work&nbsp;as&nbsp;expected.&nbsp;&nbsp;Without&nbsp;this&nbsp;information&nbsp;the&nbsp;user&nbsp;will&nbsp;think&nbsp;as&nbsp;I&nbsp;did&nbsp;that&nbsp;I&nbsp;had&nbsp;somehow&nbsp;done&nbsp;something&nbsp;wrong&nbsp;in&nbsp;code.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Elisa

---

<div class="post-metadata">

**Author:** ![Ioannis](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/i/ad7895/32.png) [@Ioannis](https://community.thinkgeo.com/u/Ioannis)\
**Post date:** [June 10, 2011, 2:29pm UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/5 "2011-06-10T14:29:47Z")

</div>

Thank&nbsp;you&nbsp;Scott,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Because&nbsp;of&nbsp;this,&nbsp;I&nbsp;had&nbsp;to&nbsp;separate&nbsp;certain&nbsp;data&nbsp;in&nbsp;different&nbsp;layers&nbsp;adding&nbsp;more&nbsp;complexity&nbsp;to&nbsp;my&nbsp;code.&nbsp;I&nbsp;feel&nbsp;that&nbsp;it&nbsp;is&nbsp;imperative&nbsp;this&nbsp;issue&nbsp;to&nbsp;be&nbsp;rectified&nbsp;as&nbsp;it&nbsp;essentially&nbsp;nullifies&nbsp;a&nbsp;series&nbsp;of&nbsp;ordering&nbsp;methods&nbsp;available&nbsp;via&nbsp;the&nbsp;the&nbsp;layer.InteralFeatures&nbsp;property.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Kind&nbsp;Regards&nbsp;  
&nbsp;Yiannis

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 10, 2011, 3:40pm UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/6 "2011-06-10T15:40:55Z")

</div>

&nbsp;Elisa,

&nbsp;  
I&nbsp;think&nbsp;your&nbsp;issue&nbsp;is&nbsp;not&nbsp;the&nbsp;same&nbsp;as&nbsp;Ioannis's,&nbsp;his&nbsp;features&nbsp;were&nbsp;inserted&nbsp;to&nbsp;a&nbsp;layer,&nbsp;that&nbsp;means&nbsp;in&nbsp;his&nbsp;layer&nbsp;there&nbsp;are&nbsp;many&nbsp;features&nbsp;with&nbsp;different&nbsp;types&nbsp;such&nbsp;as&nbsp;point&nbsp;type,&nbsp;line&nbsp;type&nbsp;and&nbsp;area&nbsp;type.&nbsp;&nbsp;According&nbsp;to&nbsp;your&nbsp;description,&nbsp;you&nbsp;talked&nbsp;about&nbsp;the&nbsp;"point&nbsp;layer",&nbsp;so&nbsp;your&nbsp;layer&nbsp;just&nbsp;has&nbsp;the&nbsp;point&nbsp;features,&nbsp;not&nbsp;includes&nbsp;any&nbsp;other&nbsp;features&nbsp;with&nbsp;line&nbsp;type&nbsp;or&nbsp;area&nbsp;type.&nbsp;For&nbsp;the&nbsp;layer&nbsp;drawing&nbsp;order,&nbsp;there&nbsp;are&nbsp;not&nbsp;any&nbsp;rules,&nbsp;we&nbsp;draw&nbsp;the&nbsp;layers&nbsp;according&nbsp;to&nbsp;the&nbsp;layer's&nbsp;inserting&nbsp;order.&nbsp;So&nbsp;Ioannis&nbsp;talked&nbsp;about&nbsp;the&nbsp;&nbsp;issue&nbsp;for&nbsp;order&nbsp;of&nbsp;drawing&nbsp;features&nbsp;in&nbsp;a&nbsp;layer,&nbsp;you&nbsp;talked&nbsp;about&nbsp;order&nbsp;of&nbsp;drawing&nbsp;layers&nbsp;on&nbsp;map.  
&nbsp;  
For&nbsp;your&nbsp;second&nbsp;question,&nbsp;we&nbsp;have&nbsp;added&nbsp;that&nbsp;to&nbsp;our&nbsp;enhancement&nbsp;tracker,&nbsp;you&nbsp;can&nbsp;view&nbsp;it&nbsp;from&nbsp;the&nbsp;link&nbsp;below:  
&nbsp;  
[helpdesk.thinkgeo.com/EnhancementTracker](http://helpdesk.thinkgeo.com/EnhancementTracker)  
&nbsp;  
Your&nbsp;suggestion&nbsp;is&nbsp;really&nbsp;useful&nbsp;for&nbsp;us,  
&nbsp;  
Thanks,  
&nbsp;  
Scott,

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 10, 2011, 4:00pm UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/7 "2011-06-10T16:00:24Z")

</div>

Ioannis,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Our&nbsp;development&nbsp;team&nbsp;is&nbsp;working&nbsp;this&nbsp;issue,&nbsp;if&nbsp;there&nbsp;are&nbsp;any&nbsp;updates&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 14, 2011, 3:27pm UTC](https://community.thinkgeo.com/t/order-of-drawing-features-in-layer/1734/8 "2011-06-14T15:27:25Z")

</div>

Ioannis,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;have&nbsp;added&nbsp;drawing&nbsp;level&nbsp;properties&nbsp;for&nbsp;each&nbsp;style&nbsp;so&nbsp;that&nbsp;the&nbsp;user&nbsp;can&nbsp;set&nbsp;specific&nbsp;level&nbsp;to&nbsp;adjust&nbsp;order.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;AreaStyle.DrawingLevel&nbsp;&nbsp;  
&nbsp;LineStyle.OuterPenDrawingLevel&nbsp;&nbsp;  
&nbsp;LineStyle.InnerPenDrawingLevel&nbsp;&nbsp;  
&nbsp;LineStyle.CenterPenDrawingLevel&nbsp;&nbsp;  
&nbsp;PointStyle.DrawingLevel&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;let&nbsp;user&nbsp;get&nbsp;the&nbsp;latest&nbsp;version&nbsp;5.0.32.0&nbsp;or&nbsp;later&nbsp;and&nbsp;try&nbsp;it.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;let&nbsp;me&nbsp;know&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,&nbsp;
