# Cache and Overlay IsVisible

**URL:** <https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661>\
**Category:** WinForms\
**Created:** [September 4, 2009, 4:11am UTC](https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661 "2009-09-04T04:11:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldi](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@ldi](https://community.thinkgeo.com/u/ldi)\
**Post date:** [September 4, 2009, 4:11am UTC](https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661/1 "2009-09-04T04:11:00Z")

</div>

Hi

When&nbsp;turning&nbsp;visible&nbsp;on&nbsp;and&nbsp;off&nbsp;for&nbsp;eksample&nbsp;google&nbsp;layer,&nbsp;the&nbsp;map&nbsp;control&nbsp;shows&nbsp;the&nbsp;cached  
  
images,&nbsp;how&nbsp;to&nbsp;ensure&nbsp;that&nbsp;the&nbsp;map&nbsp;updates&nbsp;correct&nbsp;when&nbsp;turning&nbsp;on&nbsp;off&nbsp;layer&nbsp;?

&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:** [September 6, 2009, 10:34pm UTC](https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661/2 "2009-09-06T22:34:14Z")

</div>

Lars,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;questions!&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;are&nbsp;using&nbsp;the&nbsp;last&nbsp;public&nbsp;release&nbsp;3.0.362,&nbsp;probably&nbsp;you&nbsp;need&nbsp;the&nbsp;lock&nbsp;system&nbsp;when&nbsp;you&nbsp;changing&nbsp;the&nbsp;IsVisable.&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;have&nbsp;a&nbsp;HowDoISample\Getting&nbsp;Started&#160;HideOrShowAFeatureLayer&nbsp;sample&nbsp;shows&nbsp;how&nbsp;to&nbsp;use&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;

---

<div class="post-metadata">

**Author:** ![ldi](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/bc8723/32.png) [@ldi](https://community.thinkgeo.com/u/ldi)\
**Post date:** [September 7, 2009, 2:18am UTC](https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661/3 "2009-09-07T02:18:42Z")

</div>

The&nbsp;Lock&nbsp;solved&nbsp;the&nbsp;problem.

---

<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:** [September 7, 2009, 2:26am UTC](https://community.thinkgeo.com/t/cache-and-overlay-isvisible/661/4 "2009-09-07T02:26:12Z")

</div>

Lars,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;letting&nbsp;us&nbsp;know&nbsp;the&nbsp;status!&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;
