Hi Ashok,
It looks the flights layer cover the entire map, so you cannot save the background layer.
So I think you still need to write custom JavaScript function to require the image from server side, and save the image into local machine.
As below is the code for help you draw your layer in server side, wish that's helpful.
public Bitmap GetBitmap(int width, int height)
{
Bitmap bitmap = new Bitmap(map.MapWidth, map.MapHeight);
PlatformGeoCanvas geoCanvas = new PlatformGeoCanvas();
foreach (Overlay overlay in map.CustomOverlays)
{
LayerOverlay customLayerOverlay = overlay as LayerOverlay;
// Find your overlay which contains your rasterSatelliteLayer
if (customLayerOverlay != null && !customLayerOverlay.IsBaseOverlay)
{
customLayerOverlay.Draw(geoCanvas, bitmap, CurrentExtent, MapUnit);
}
}
if (bitmap.Width != width && bitmap.Height != height)
{
Rectangle srcRect = new Rectangle(0, 0, bitmap.Width, bitmap.Height);
Rectangle destRect = new Rectangle(0, 0, width, height);
Bitmap destBitmap = new Bitmap(width, height);
Graphics g = Graphics.FromImage(destBitmap);
g.DrawImage(bitmap, destRect, srcRect, GraphicsUnit.Pixel);
bitmap.Dispose();
bitmap = destBitmap;
}
return bitmap;
}
Regards,
Ethan