This project has moved and is read-only. For the latest updates, please go here.

Creating a image from a map

Topics: SharpMap Project, WinForms Controls
Jul 14, 2009 at 2:01 PM
Edited Jul 14, 2009 at 2: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 2:10 PM

Hi supunmali,

Bitmap image = map.GetMap();


hth jd

Jul 16, 2009 at 5:03 AM