
Chapter 22: Web Feature Service
Creating a Map Layer from a WFS Response
MapXtreme v7.1
412
Developer Guide
// export the map to a file
using (MapExport mx = new MapExport(map))
{
mx.Format = ExportFormat.Gif;
mx.Export(exportFileName);
}
// clean up the map
Session.Current.MapFactory.Remove(map);
}
}
}