I am using CustomOverlays with Pictometry. When roaming around the map, I am getting "X item remaining..." (on the lower left corner of the browser.) even though the image tiling is completed. The only way I could clear it is by refreshing the whole web page. Is there any way I could remove programmatically on client-side? Thanks
LayerOverlay objAerialOverLay = null;
GdiPlusRasterLayer objRasterImageLayer = null;
string strOverlayName = MapHelpers.ImageryOverlayType.Aerial.ToString();
objAerialOverLay = new LayerOverlay(strOverlayName);
objRasterImageLayer = new GdiPlusRasterLayer();
objRasterImageLayer.Name = "GdiAerial";
string imageFilePath = MapHelpers.GetAerialExtentImage(aCurrentExtent);
GdiPlusRasterLayer gdiPlusImageLayer = new GdiPlusRasterLayer(imageFilePath);
gdiPlusImageLayer.UpperThreshold = double.MaxValue;
gdiPlusImageLayer.LowerThreshold = 0;
objAerialOverLay.Name = strOverlayName;
objAerialOverLay.IsBaseOverlay = true;
objAerialOverLay.Layers.Add(gdiPlusImageLayer);
objAerialOverLay.IsVisibleInOverlaySwitcher = true;
Map1.CustomOverlays.Add(objAerialOverLay);