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

how to draw point on mapImage?

Topics: WinForms Controls
Jan 13, 2012 at 6:58 AM

I have loaded a map layer from the database and displayed on  mapImage. Can someone teach me how to draw points, lines, polygons in this layer. I need a simple example please! Thanks.

Jan 16, 2012 at 11:46 AM

The WinFormSamples project has a sample to create points/lines/polygons. What you need to take care of is to store them and serve them with some sort of IProvider.

SharpMap can only render items that are accessible via some (Vector-)Layer.

Hth FObermaier