Hi there, I have the following code:
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if(!this.IsPostBack)
{
BingMapsOverlay bing = new BingMapsOverlay("bing", BingMapsStyle.Road);
this.Map1.CustomOverlays.Add(bing);
}
}
public void btnSave_Click(object sender, EventArgs e)
{
Bitmap bmp = this.Map1.GetBitmap();
bmp.Save(@"C:\temp\temp.png", ImageFormat.Png );
}
}
but it doesn't save the BingMaps :(
Any other approach?