how to draw point on mapImage?

Topics: WinForms Controls
Editor
Jan 13, 2012 at 5: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.

Coordinator
Jan 16, 2012 at 10: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