# Help! load cache picture error

**URL:** <https://community.thinkgeo.com/t/help-load-cache-picture-error/2234>\
**Category:** WinForms\
**Created:** [May 13, 2013, 9:45pm UTC](https://community.thinkgeo.com/t/help-load-cache-picture-error/2234 "2013-05-13T21:45:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wen](https://community.thinkgeo.com/u/wen)\
**Post date:** [May 13, 2013, 9:45pm UTC](https://community.thinkgeo.com/t/help-load-cache-picture-error/2234/1 "2013-05-13T21:45:22Z")

</div>

when&nbsp;I&nbsp;using&nbsp;the&nbsp;example&nbsp;"Multi&nbsp;Geo&nbsp;Raster&nbsp;Layer"&nbsp;to&nbsp;load&nbsp;a&nbsp;Satellite&nbsp;map,&nbsp;and&nbsp;add&nbsp;a&nbsp;cache&nbsp;Mechanism&nbsp;in&nbsp;it.&nbsp;

I&nbsp;want&nbsp;to&nbsp;speed&nbsp;up&nbsp;the&nbsp;loading&nbsp;speed.

I&nbsp;konw&nbsp;that&nbsp;when&nbsp;there&nbsp;are&nbsp;cache&nbsp;picture&nbsp;exist,&nbsp;it&nbsp;will&nbsp;load&nbsp;the&nbsp;cache&nbsp;file,&nbsp;so&nbsp;the&nbsp;speed&nbsp;is&nbsp;acceptable.

but&nbsp;the&nbsp;problem&nbsp;is,&nbsp;there&nbsp;are&nbsp;gap/crack&nbsp;(usually&nbsp;are&nbsp;lines&nbsp;shape)&nbsp;between&nbsp;some&nbsp;loaded&nbsp;cache&nbsp;pictures,&nbsp;and&nbsp;in&nbsp;diffrent&nbsp;zoomlevel&nbsp;the&nbsp;gaps&nbsp;are&nbsp;in&nbsp;diffrent&nbsp;location.

&nbsp;

the&nbsp;cache&nbsp;code&nbsp;is:

FileBitmapTileCache&nbsp;fileBitmapTileCache&nbsp;=&nbsp;new&nbsp;FileBitmapTileCache(@"C:\temp",&nbsp;"TestDataCache");

LayerOverlay&nbsp;layerOverlay&nbsp;=&nbsp;new&nbsp;LayerOverlay();

//creat&nbsp;the&nbsp;SatelliteLayer&nbsp;using&nbsp;"Multi&nbsp;Geo&nbsp;Raster&nbsp;Layer"&nbsp;example

layerOverlay.Layers.Add(SatelliteLayer);

layerOverlay.TileCache&nbsp;=&nbsp;fileBitmapTileCache;

&nbsp;

&nbsp;

thanks!

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [May 15, 2013, 7:24am UTC](https://community.thinkgeo.com/t/help-load-cache-picture-error/2234/2 "2013-05-15T07:24:28Z")

</div>

Hi&nbsp;Wen,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;welcome&nbsp;to&nbsp;MapSuite&nbsp;World,&nbsp;we&nbsp;tried&nbsp;your&nbsp;code&nbsp;with&nbsp;our&nbsp;own&nbsp;data,&nbsp;but&nbsp;sorry&nbsp;that&nbsp;the&nbsp;problem&nbsp;didn’t&nbsp;show&nbsp;up,&nbsp;would&nbsp;you&nbsp;please&nbsp;provide&nbsp;us&nbsp;your&nbsp;data&nbsp;to&nbsp;do&nbsp;a&nbsp;test.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Waiting&nbsp;for&nbsp;your&nbsp;further&nbsp;information&nbsp;  
&nbsp;&nbsp;  
&nbsp;Johnny&nbsp;
