jamesrichards

Is It Possible to Disable Caching in an AGSTiledLayer Subclass?

Discussion created by jamesrichards on Jun 21, 2012
Latest reply on Nov 6, 2012 by njarecha-esristaff
Hi,

I have a subclass of AGSTiledLayer. When retrieveImageAsyncForTile is called, I create a subclass of AGSTiledLayerOperation and fire of a request to retrieve the tile from a remote URL (not ArcGIS Server because it needs to be cached on a CDN). This all works great.

But the remote tiles are regenerated every few minutes. The problem I have is that once the tiles are regenerated my AGSTiledLayer subclass never asks for the tiles it has already retrieved. Is there a way I can tell my subclass "Hey, don't cache these tiles, just ask me for them every time and I'll implement my own caching"

Thanks is advance,

James

Outcomes