Hi
I am using evaluation copy of thinkgeo web edition 6.0.0.0 on windows 8 64 bit edition.
I am using EcwRasterLayer to display ECW file on the map but the problem is slow rendering.
On Map it displays fine after taking loooong time, but when I do zoom-in or zoom-out whole layer again refreshes from scratch instead of loading only zoom part.
Please guide me what I am missing. Following is the line of codes that displays ECW file.
EcwRasterLayer ecwLayer = new EcwRasterLayer(layerPath);
ecwLayer.UpperThreshhold = double.MaxValue;
ecwLayer.LowerThreshhold = 0;
Map1.StaticOverLay.Layers.Add("my ecw layer", ecwLayer );
SLOW RENDERING of ECW on MAP
Hi Zuhaib,
Thanks for your post, would you please get the latest dlls 7.0.42.0 from your customer portal( helpdesk.thinkgeo.com/login/?ReturnUrl=%2F ) and try it again, and here is an exactly sample for loading ecw layers in HowDoIsamples => SatelliteImage => DisplayASatelliteImage?
If the problem is still there, if possible, would you please provide us your ecw file for a further test, you could upload it or send it to forumsupport@thinkgeo.com if it is confidential.
We could also use the cache to improve the rendering performance with following code:
Map1.StaticOverlay.ServerCache.CacheDirectory = MapPath("~/ECWCache/");
or
Map1.StaticOverlay.ClientCache.CacheId = "OverlayCache";
Map1.StaticOverlay.ClientCache.Duration = new TimeSpan(1, 0, 0);
Waiting for your further information
Summer