Hello,
Is there any tile caching for MVC, if there is, how do you apply it.
Thank you,
rhandy
Tile caching any?
Hi Rhandy,
Thanks for your post, would you please try the following code:
…
ShapeFileFeatureLayer inmLayer = new ShapeFileFeatureLayer(@"…\sampledata\data\countries02.shp");
inmLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel= ApplyUntilZoomLevel.Level20;
inmLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1;
LayerOverlay ov = new LayerOverlay();
ov.ClientCache = new ClientCache(new System.TimeSpan(1, 0, 0), "shapeLayerCache");
ov.Layers.Add("inmLayer",inmLayer);
…
if you have any more question , please feel free to let us know.
Hope it helps
Summer
Hi Summer,
By clearing the browser cache, does this includes the layer cache?
Thanks,
rhandy
Hi Rhandy,
You are rigth, if the browser’s cache is cleared, it will include the ov.ClientCache.if you have any more question , please feel free to let us know.
Hope it helps
Summer
hi Summer,
Thanks for the reply.
Thanks,
rhandy
Hi Rhandy,
You’re always welcome, if you have any more question, please feel free to let us know.
Best Regards
Summer