Creating a image from a map

Topics: SharpMap Project, WinForms Controls
Jul 14, 2009 at 1:01 PM
Edited Jul 14, 2009 at 1:03 PM


I have developed a windows application. Through postgresql/PostGIS I get data and shows the optimal path as a map layer on the map. I need to create a png/jpg image of the base map (shape file) with other layers on top of that (e.g. optimal path). So I can later access this static image for other uses.

How could it be possible? Please provide me a way to do it in detail soon.

Thanks a lot.


Jul 14, 2009 at 1:10 PM

Hi supunmali,

Bitmap image = map.GetMap();


hth jd

Jul 16, 2009 at 4:03 AM