public byte[] GetMapImageByte(Map m) { WebClient wb = new WebClient(); return wb.DownloadData(m.Url); }
public Image GetMapImage(Map m) { return Image.FromStream(new MemoryStream(GetMapImageByte(m))); }