# How to disable Feature filtering on PointStyles

**URL:** <https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006>\
**Category:** WinForms\
**Created:** [January 31, 2010, 2:51pm UTC](https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006 "2010-01-31T14:51:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsenico](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@arsenico](https://community.thinkgeo.com/u/arsenico)\
**Post date:** [January 31, 2010, 2:51pm UTC](https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006/1 "2010-01-31T14:51:59Z")

</div>

Hi&nbsp;everyone!

I'm&nbsp;trying&nbsp;to&nbsp;write&nbsp;a&nbsp;PointStyle&nbsp;for&nbsp;my&nbsp;application,&nbsp;everything&nbsp;is&nbsp;OK&nbsp;and&nbsp;one&nbsp;good&nbsp;thing&nbsp;about&nbsp;MapSuite&nbsp;is&nbsp;that&nbsp;it&nbsp;filters&nbsp;the&nbsp;points&nbsp;that&nbsp;may&nbsp;overlap&nbsp;based&nbsp;on&nbsp;the&nbsp;point&nbsp;symbol&nbsp;size(or&nbsp;at&nbsp;least&nbsp;that's&nbsp;what&nbsp;I&nbsp;think).&nbsp;So&nbsp;when&nbsp;DrawCore&nbsp;is&nbsp;called&nbsp;in&nbsp;my&nbsp;PointStyle&nbsp;based&nbsp;class&nbsp;the&nbsp;feature&nbsp;collection&nbsp;has&nbsp;only&nbsp;the&nbsp;features&nbsp;that&nbsp;won't&nbsp;overlap.&nbsp;How&nbsp;do&nbsp;I&nbsp;turn&nbsp;that&nbsp;feature&nbsp;of&nbsp;to&nbsp;get&nbsp;all&nbsp;the&nbsp;features&nbsp;even&nbsp;if&nbsp;they&nbsp;overlap&nbsp;eachother.&nbsp;My&nbsp;goal&nbsp;is&nbsp;to&nbsp;draw&nbsp;a&nbsp;group&nbsp;symbol&nbsp;wherever&nbsp;overlap&nbsp;happends

&nbsp;

Thank&nbsp;you

---

<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:** [January 31, 2010, 6:27pm UTC](https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006/2 "2010-01-31T18:27:35Z")

</div>

Ingemar,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;questions.  
&nbsp;  
I&nbsp;am&nbsp;afraid&nbsp;I&nbsp;cannot&nbsp;agree&nbsp;with&nbsp;your&nbsp;option&nbsp;completely&nbsp;here.&nbsp;I&nbsp;added&nbsp;5&nbsp;points&nbsp;into&nbsp;a&nbsp;InmemoryFeatureLayer,&nbsp;all&nbsp;of&nbsp;them&nbsp;will&nbsp;be&nbsp;drawn&nbsp;even&nbsp;though&nbsp;I&nbsp;enlarge&nbsp;its&nbsp;symbol&nbsp;size&nbsp;to&nbsp;make&nbsp;it&nbsp;overlap&nbsp;obviously.&nbsp;Following&nbsp;is&nbsp;basicly&nbsp;the&nbsp;code&nbsp;snippet&nbsp;for&nbsp;my&nbsp;case:  
`winformsMap1.MapUnit = GeographyUnit.DecimalDegree; winformsMap1.CurrentExtent = new RectangleShape(0, 100, 100, 0);winformsMap1.BackgroundOverlay.BackgroundBrush = new GeoSolidBrush(GeoColor.StandardColors.White); InMemoryFeatureLayer inMemoryLayer = new InMemoryFeatureLayer();inMemoryLayer.InternalFeatures.Add("Point1", new Feature(10, 10));inMemoryLayer.InternalFeatures.Add("Point2", new Feature(30, 10));inMemoryLayer.InternalFeatures.Add("Point3", new Feature(30, 30));inMemoryLayer.InternalFeatures.Add("Point4", new Feature(10, 30));inMemoryLayer.InternalFeatures.Add("Point5", new Feature(20, 20)); inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.SymbolSize = 60;inMemoryLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.SymbolPen = new GeoPen(GeoColor.FromArgb(255, GeoColor.StandardColors.Green), 8);inMemoryLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; LayerOverlay staticOverlay = new LayerOverlay();staticOverlay.Layers.Add("InMemoryFeatureLayer", inMemoryLayer);winformsMap1.Overlays.Add(staticOverlay); winformsMap1.Refresh();`  
&nbsp;  
Could&nbsp;you&nbsp;show&nbsp;me&nbsp;some&nbsp;of&nbsp;your&nbsp;codes&nbsp;to&nbsp;see&nbsp;your&nbsp;problem?  
&nbsp;  
Any&nbsp;more&nbsp;questions&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![arsenico](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@arsenico](https://community.thinkgeo.com/u/arsenico)\
**Post date:** [January 31, 2010, 11:54pm UTC](https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006/3 "2010-01-31T23:54:52Z")

</div>

Thanks&nbsp;for&nbsp;your&nbsp;quick&nbsp;answer&nbsp;Yale.

Well&nbsp;I&nbsp;tested&nbsp;you&nbsp;code&nbsp;and&nbsp;It&nbsp;worked&nbsp;ok.&nbsp;So&nbsp;it&nbsp;means&nbsp;it&nbsp;is&nbsp;just&nbsp;me&nbsp;and&nbsp;my&nbsp;code.&nbsp;Maybe&nbsp;it's&nbsp;some&nbsp;bug&nbsp;in&nbsp;my&nbsp;coding,&nbsp;I'll&nbsp;check&nbsp;it&nbsp;and&nbsp;let&nbsp;you&nbsp;know&nbsp;if&nbsp;I&nbsp;give&nbsp;up&nbsp;with&nbsp;it.

Thank&nbsp;you.

---

<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:** [February 1, 2010, 12:02am UTC](https://community.thinkgeo.com/t/how-to-disable-feature-filtering-on-pointstyles/1006/4 "2010-02-01T00:02:06Z")

</div>

Ingemar,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;response&nbsp;and&nbsp;letting&nbsp;me&nbsp;know&nbsp;your&nbsp;status.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Just&nbsp;feel&nbsp;confortable&nbsp;to&nbsp;let&nbsp;me&nbsp;know&nbsp;if&nbsp;any&nbsp;more&nbsp;questions.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;
