Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

You are supposed to be able to connect to your existing tiles with this command.

dynamicCacheLayerManager.Connect(tileCacheDir, tileCachePath);

When I do that my tiles are destroyed and rebuilt. Clearly this isn't the desired behavior, does anyone have any tips?

I'm using ArcEngine 10 in C# with VS2010.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

The problem was that my tiles were generated using a different Spatial Projection than my map. Also I needed to connect to a target cache and then save the layer again, somewhere in the layer file it points to the cache. Once that's complete, then all you have to do is load the layer, and the cache will be connected to automatically without any need to use the DynamicCacheLayerManager.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.