# Flickering when panning and combination of layers with different IsBase property values

**URL:** <https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522>\
**Category:** WinForms\
**Created:** [December 3, 2010, 3:55am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522 "2010-12-03T03:55:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.thinkgeo.com/u/Thomas)\
**Post date:** [December 3, 2010, 3:55am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/1 "2010-12-03T03:55:37Z")

</div>

Hello&nbsp;ThinkGeo-Team,

I&nbsp;use&nbsp;Desktop&nbsp;Edition&nbsp;Map-Control&nbsp;in&nbsp;our&nbsp;GIS-Application.&nbsp;As&nbsp;recommended&nbsp;I&nbsp;use&nbsp;tile&nbsp;caching&nbsp;for&nbsp;overlays&nbsp;(layers)&nbsp;when&nbsp;they&nbsp;contain&nbsp;many&nbsp;data.&nbsp;Also&nbsp;I&nbsp;use&nbsp;tile&nbsp;cache&nbsp;in&nbsp;combination&nbsp;with&nbsp;IsBase=true&nbsp;to&nbsp;display&nbsp;a&nbsp;background&nbsp;layer&nbsp;when&nbsp;&nbsp;the&nbsp;map&nbsp;&nbsp;is&nbsp;panned&nbsp;by&nbsp;the&nbsp;user.&nbsp;But&nbsp;I&nbsp;also&nbsp;have&nbsp;overlays&nbsp;(layers)&nbsp;they&nbsp;contain&nbsp;only&nbsp;a&nbsp;few&nbsp;features&nbsp;so&nbsp;I&nbsp;do&nbsp;not&nbsp;need&nbsp;to&nbsp;use&nbsp;tile&nbsp;cache.

This&nbsp;means&nbsp;the&nbsp;Map-Control&nbsp;has&nbsp;to&nbsp;draw&nbsp;overlays&nbsp;with&nbsp;IsBase&nbsp;active&nbsp;and&nbsp;inactive.&nbsp;This&nbsp;causes&nbsp;an&nbsp;flickering&nbsp;effect&nbsp;when&nbsp;panning&nbsp;the&nbsp;map.&nbsp;I&nbsp;have&nbsp;attached&nbsp;a&nbsp;sample&nbsp;application&nbsp;where&nbsp;you&nbsp;can&nbsp;see&nbsp;this&nbsp;effect.&nbsp;You&nbsp;can&nbsp;cause&nbsp;the&nbsp;flickering&nbsp;effect&nbsp;with&nbsp;the&nbsp;following&nbsp;steps

  
&nbsp;&nbsp;&nbsp;&nbsp;1. -&nbsp;zoom&nbsp;in
  
&nbsp;&nbsp;&nbsp;&nbsp;2. -&nbsp;activate&nbsp;checkbox
  
&nbsp;&nbsp;&nbsp;&nbsp;3. -&nbsp;pan&nbsp;the&nbsp;map&nbsp;slowly&nbsp;to&nbsp;any&nbsp;direction
  

  

While&nbsp;panning&nbsp;the&nbsp;map&nbsp;is&nbsp;appears/disappears&nbsp;many&nbsp;times.&nbsp;If&nbsp;you&nbsp;stop&nbsp;panning&nbsp;without&nbsp;releasing&nbsp;the&nbsp;mouse&nbsp;button&nbsp;the&nbsp;layer&nbsp;is&nbsp;not&nbsp;shown.

This&nbsp;is&nbsp;a&nbsp;very&nbsp;annoying&nbsp;effect.&nbsp;Do&nbsp;you&nbsp;have&nbsp;any&nbsp;solutions&nbsp;to&nbsp;solve&nbsp;this&nbsp;behaviour?

Thomas

[GISF.ZIP](https://community.thinkgeo.com/uploads/default/original/1X/20af5ce32ee6be642931f91ed31dd7044a24d18b.ZIP) (297 KB)

---

<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:** [December 3, 2010, 8:07am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/2 "2010-12-03T08:07:06Z")

</div>

Thomas,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;sample.  
&nbsp;  
I&nbsp;found&nbsp;the&nbsp;problem&nbsp;did&nbsp;exist&nbsp;in&nbsp;the&nbsp;sample&nbsp;you&nbsp;provided,&nbsp;while&nbsp;if&nbsp;we&nbsp;changed&nbsp;2&nbsp;places,&nbsp;it&nbsp;is&nbsp;working&nbsp;decently.  
&nbsp;  
1)&nbsp;This&nbsp;is&nbsp;the&nbsp;most&nbsp;important&nbsp;one:&nbsp;using&nbsp;single&nbsp;threaded&nbsp;mode&nbsp;instead&nbsp;of&nbsp;multithreaded&nbsp;mode.&nbsp;I&nbsp;think&nbsp;we&nbsp;have&nbsp;addressed&nbsp;this&nbsp;before&nbsp;that&nbsp;the&nbsp;winforms&nbsp;map&nbsp;control&nbsp;will&nbsp;introduce&nbsp;some&nbsp;unexpected&nbsp;problems&nbsp;in&nbsp;multithreaded&nbsp;mode,&nbsp;for&nbsp;this&nbsp;reason&nbsp;we&nbsp;have&nbsp;rewrite&nbsp;the&nbsp;wpf&nbsp;control&nbsp;successfully&nbsp;in&nbsp;the&nbsp;new&nbsp;wpf&nbsp;desktop&nbsp;edition,&nbsp;and&nbsp;we&nbsp;are&nbsp;probably&nbsp;going&nbsp;to&nbsp;rewrite&nbsp;or&nbsp;enhance&nbsp;the&nbsp;multithreaded&nbsp;part&nbsp;for&nbsp;the&nbsp;winforms&nbsp;map&nbsp;control,&nbsp;while&nbsp;it&nbsp;will&nbsp;be&nbsp;great&nbsp;changes&nbsp;and&nbsp;quite&nbsp;complicated&nbsp;so&nbsp;I&nbsp;think&nbsp;it&nbsp;will&nbsp;take&nbsp;time&nbsp;to&nbsp;get&nbsp;it&nbsp;done,&nbsp;sorry&nbsp;for&nbsp;the&nbsp;inconvenience&nbsp;for&nbsp;now.  
&nbsp;  
2)&nbsp;Also,&nbsp;I&nbsp;prefer&nbsp;to&nbsp;use&nbsp;the&nbsp;FileBitmapTileCache&nbsp;compared&nbsp;to&nbsp;InmemoryBitmapTileCache&nbsp;unless&nbsp;you&nbsp;have&nbsp;some&nbsp;special&nbsp;requirement.  
&nbsp;  
Attachment&nbsp;is&nbsp;the&nbsp;updated&nbsp;version&nbsp;of&nbsp;sample.&nbsp;Any&nbsp;more&nbsp;questions&nbsp;or&nbsp;concerns&nbsp;please&nbsp;do&nbsp;not&nbsp;hesitate&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale  
  
[Post8477\_Updated.zip](https://community.thinkgeo.com/uploads/default/original/2X/a/a030fe45da45cb7ef69c8fc3955ccc75e581b434.zip) (219 KB)

---

<div class="post-metadata">

**Author:** ![Thomas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.thinkgeo.com/u/Thomas)\
**Post date:** [December 5, 2010, 7:51am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/3 "2010-12-05T07:51:58Z")

</div>

Hallo&nbsp;Yale,

thanks&nbsp;for&nbsp;info.&nbsp;This&nbsp;is&nbsp;no&nbsp;good&nbsp;news.&nbsp;I&nbsp;know&nbsp;that&nbsp;I&nbsp;can&nbsp;use&nbsp;the&nbsp;Map-Control&nbsp;in&nbsp;single&nbsp;thread&nbsp;mode&nbsp;but&nbsp;we&nbsp;ordered&nbsp;desktop&nbsp;edition&nbsp;to&nbsp;run&nbsp;it&nbsp;in&nbsp;multi&nbsp;threaded&nbsp;mode&nbsp;so&nbsp;it&nbsp;matches&nbsp;our&nbsp;architecture.&nbsp;In&nbsp;the&nbsp;past&nbsp;I&nbsp;found&nbsp;many&nbsp;post&nbsp;in&nbsp;this&nbsp;forum&nbsp;regarding&nbsp;problems&nbsp;with&nbsp;map&nbsp;control&nbsp;running&nbsp;in&nbsp;multi&nbsp;thread&nbsp;mode&nbsp;also&nbsp;in&nbsp;combination&nbsp;with&nbsp;drawing&nbsp;issues&nbsp;when&nbsp;using&nbsp;tile&nbsp;cache.

I&nbsp;think&nbsp;multi&nbsp;thread&nbsp;mode&nbsp;and&nbsp;tile&nbsp;cache&nbsp;are&nbsp;base&nbsp;factors&nbsp;for&nbsp;good&nbsp;drawing&nbsp;performance&nbsp;so&nbsp;I&nbsp;hope&nbsp;you&nbsp;bug&nbsp;fix&nbsp;the&nbsp;multithreaded&nbsp;part&nbsp;for&nbsp;the&nbsp;winforms&nbsp;control&nbsp;soon.

Thomas

---

<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:** [December 6, 2010, 8:01am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/4 "2010-12-06T08:01:38Z")

</div>

Thomas,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;passed&nbsp;the&nbsp;requirement&nbsp;and&nbsp;this&nbsp;post&nbsp;thread&nbsp;to&nbsp;our&nbsp;development&nbsp;team,&nbsp;hope&nbsp;they&nbsp;can&nbsp;start&nbsp;it&nbsp;soon.&nbsp;As&nbsp;far&nbsp;as&nbsp;I&nbsp;know,&nbsp;we&nbsp;need&nbsp;to&nbsp;do&nbsp;some&nbsp;architecture&nbsp;changes&nbsp;for&nbsp;the&nbsp;desktop&nbsp;edition&nbsp;if&nbsp;we&nbsp;want&nbsp;to&nbsp;do&nbsp;the&nbsp;get&nbsp;it&nbsp;enhanced&nbsp;in&nbsp;the&nbsp;wpf&nbsp;control&nbsp;has&nbsp;done&nbsp;which&nbsp;will&nbsp;definitely&nbsp;take&nbsp;quite&nbsp;some&nbsp;time.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;suggestions&nbsp;and&nbsp;comments.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;

---

<div class="post-metadata">

**Author:** ![Thomas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.thinkgeo.com/u/Thomas)\
**Post date:** [March 11, 2011, 1:42am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/5 "2011-03-11T01:42:00Z")

</div>

Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;i&nbsp;wanted&nbsp;to&nbsp;ask&nbsp;if&nbsp;there&nbsp;are&nbsp;any&nbsp;new&nbsp;results&nbsp;on&nbsp;fixing\*&nbsp;the&nbsp;multithreaded&nbsp;mode&nbsp;in&nbsp;desktop&nbsp;edition?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thomas

---

<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:** [March 11, 2011, 9:04am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/6 "2011-03-11T09:04:28Z")

</div>

Thomas,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;sorry&nbsp;to&nbsp;say&nbsp;that&nbsp;our&nbsp;development&nbsp;team&nbsp;is&nbsp;quite&nbsp;busy&nbsp;recently,&nbsp;so&nbsp;we&nbsp;do&nbsp;not&nbsp;have&nbsp;a&nbsp;chance&nbsp;to&nbsp;get&nbsp;the&nbsp;multithreaded&nbsp;part&nbsp;rewrote&nbsp;for&nbsp;now,&nbsp;I&nbsp;am&nbsp;feeling&nbsp;guilty&nbsp;if&nbsp;causing&nbsp;you&nbsp;any&nbsp;inconvenience&nbsp;for&nbsp;now.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;

---

<div class="post-metadata">

**Author:** ![Thomas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.thinkgeo.com/u/Thomas)\
**Post date:** [March 14, 2011, 2:33am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/7 "2011-03-14T02:33:27Z")

</div>

Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;does&nbsp;this&nbsp;mean&nbsp;you&nbsp;never&nbsp;want&nbsp;to&nbsp;fix&nbsp;the&nbsp;multithreaded&nbsp;mode?&nbsp;  
&nbsp;&nbsp;  
&nbsp;As&nbsp;I&nbsp;mentioned&nbsp;above&nbsp;the&nbsp;multithreaded&nbsp;mode&nbsp;was&nbsp;one&nbsp;of&nbsp;the&nbsp;main&nbsp;arguments&nbsp;to&nbsp;choose&nbsp;ThinkGeo&nbsp;products.&nbsp;At&nbsp;the&nbsp;moment&nbsp;we&nbsp;get&nbsp;many&nbsp;tickets&nbsp;from&nbsp;our&nbsp;customers&nbsp;regarding&nbsp;the&nbsp;drawing&nbsp;problems&nbsp;caused&nbsp;by&nbsp;multithread&nbsp;mode.&nbsp;I&nbsp;always&nbsp;replied&nbsp;that&nbsp;the&nbsp;bug&nbsp;will&nbsp;be&nbsp;fixed&nbsp;from&nbsp;ThinkGeo&nbsp;in&nbsp;one&nbsp;of&nbsp;the&nbsp;next&nbsp;ThinkGeo&nbsp;versions.&nbsp;But&nbsp;it&nbsp;looks&nbsp;like&nbsp;that&nbsp;this&nbsp;takes&nbsp;longer&nbsp;as&nbsp;we&nbsp;can&nbsp;wait.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thomas

---

<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:** [March 14, 2011, 9:02am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/8 "2011-03-14T09:02:08Z")

</div>

Thomas,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;want&nbsp;to&nbsp;let&nbsp;you&nbsp;know&nbsp;that&nbsp;the&nbsp;multithreaded&nbsp;issue&nbsp;fix&nbsp;and&nbsp;feature&nbsp;enhancement&nbsp;is&nbsp;indeed&nbsp;in&nbsp;our&nbsp;working&nbsp;item&nbsp;list,&nbsp;while&nbsp;I&nbsp;am&nbsp;not&nbsp;sure&nbsp;when&nbsp;it&nbsp;will&nbsp;be&nbsp;done.&nbsp;I&nbsp;will&nbsp;write&nbsp;a&nbsp;mail&nbsp;to&nbsp;our&nbsp;development&nbsp;team&nbsp;to&nbsp;remind&nbsp;them&nbsp;the&nbsp;post.&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;causing&nbsp;inconvenience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;

---

<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:** [March 15, 2011, 9:56am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/9 "2011-03-15T09:56:32Z")

</div>

Thomas,

I&nbsp;got&nbsp;the&nbsp;reply&nbsp;from&nbsp;our&nbsp;development&nbsp;team,&nbsp;and&nbsp;he&nbsp;found&nbsp;some&nbsp;reason&nbsp;may&nbsp;cause&nbsp;your&nbsp;problem,&nbsp;please&nbsp;try&nbsp;his&nbsp;updated&nbsp;code&nbsp;which&nbsp;adding&nbsp;the&nbsp;setting&nbsp;of&nbsp;the&nbsp;cache&nbsp;for&nbsp;another&nbsp;overlay(“Overlay1”),&nbsp;also,&nbsp;if&nbsp;you&nbsp;want,&nbsp;you&nbsp;can&nbsp;use&nbsp;the&nbsp;FileBitmapTileCache&nbsp;instead&nbsp;of&nbsp;InmemoryBitmapTileCache.  
&nbsp;  
Private&nbsp;Sub&nbsp;CheckBox1\_CheckedChanged(ByVal&nbsp;sender&nbsp;As&nbsp;Object,&nbsp;ByVal&nbsp;e&nbsp;As&nbsp;System.EventArgs)&nbsp;Handles&nbsp;CheckBox1.CheckedChanged  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;CheckBox1.Checked&nbsp;Then  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;With&nbsp;Me.WinformsMap1.Overlays("Overlay2")  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'.TileCache&nbsp;=&nbsp;m\_oInMemoryBitmapTileCache  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.TileCache&nbsp;=&nbsp;m\_oFileBitmapTileCache  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.IsBase&nbsp;=&nbsp;True  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Me.WinformsMap1.Overlays("Overlay1").TileCache&nbsp;=&nbsp;New&nbsp;ThinkGeo.MapSuite.Core.InMemoryBitmapTileCache  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;With  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Else  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;With&nbsp;Me.WinformsMap1.Overlays("Overlay2")  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.TileCache&nbsp;=&nbsp;Nothing  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.IsBase&nbsp;=&nbsp;False  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;With  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;If  
&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m\_oInMemoryBitmapTileCache.ClearCache()  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m\_oFileBitmapTileCache.ClearCache()  
&nbsp;End&nbsp;Sub  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![Thomas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://community.thinkgeo.com/u/Thomas)\
**Post date:** [March 16, 2011, 5:51am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/10 "2011-03-16T05:51:24Z")

</div>

Yale,

thanks&nbsp;for&nbsp;feedback.&nbsp;I&nbsp;updated&nbsp;my&nbsp;sample&nbsp;and&nbsp;recognized&nbsp;that&nbsp;the&nbsp;flickering&nbsp;effect&nbsp;does&nbsp;not&nbsp;appear&nbsp;when&nbsp;I&nbsp;pan&nbsp;again&nbsp;to&nbsp;an&nbsp;extent&nbsp;that&nbsp;is&nbsp;allready&nbsp;stored&nbsp;in&nbsp;the&nbsp;cache.

But&nbsp;I'm&nbsp;sorry&nbsp;to&nbsp;say&nbsp;that&nbsp;this&nbsp;solution&nbsp;did&nbsp;not&nbsp;work&nbsp;for&nbsp;us&nbsp;because&nbsp;it&nbsp;assumes&nbsp;that&nbsp;all&nbsp;overlays&nbsp;are&nbsp;cached.&nbsp;As&nbsp;I&nbsp;mentioned&nbsp;above&nbsp;we&nbsp;use&nbsp;the&nbsp;MapControl&nbsp;in&nbsp;multithread&nbsp;mode&nbsp;where&nbsp;the&nbsp;tile&nbsp;cache&nbsp;mode&nbsp;is&nbsp;buggy&nbsp;(empty&nbsp;tiles,&nbsp;incorrect&nbsp;tiles,&nbsp;....)  
  
  
  
e.g.&nbsp;&nbsp;[gis.thinkgeo.com/Support/Dis...aspx#19536](http://gis.thinkgeo.com/Support/Dis...aspx#19536)

This&nbsp;means&nbsp;that&nbsp;we&nbsp;try&nbsp;to&nbsp;avoid&nbsp;using&nbsp;the&nbsp;tile&nbsp;cache&nbsp;in&nbsp;our&nbsp;application.&nbsp;I&nbsp;think&nbsp;the&nbsp;right&nbsp;way&nbsp;is&nbsp;to&nbsp;fix&nbsp;the&nbsp;multithreaded&nbsp;mode&nbsp;by&nbsp;your&nbsp;development&nbsp;team.

Thomas

PS&nbsp;&nbsp;We&nbsp;use&nbsp;FileBitmapTileCache&nbsp;in&nbsp;our&nbsp;productive&nbsp;version.&nbsp;InmemoryBitmapTileCache&nbsp;&nbsp;is&nbsp;only&nbsp;used&nbsp;in&nbsp;my&nbsp;sample&nbsp;applications.

&nbsp;

---

<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:** [March 16, 2011, 8:56am UTC](https://community.thinkgeo.com/t/flickering-when-panning-and-combination-of-layers-with-different-isbase-property-values/1522/11 "2011-03-16T08:56:31Z")

</div>

Thomas,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;feedback.  
&nbsp;  
I&nbsp;will&nbsp;report&nbsp;this&nbsp;to&nbsp;our&nbsp;development&nbsp;team&nbsp;and&nbsp;let&nbsp;them&nbsp;keep&nbsp;an&nbsp;eye&nbsp;on&nbsp;this&nbsp;post.  
&nbsp;  
Thanks.  
&nbsp;  
Yale
