how to save MapDigitiserToolstrip geometry to a Shapefile

Topics: SharpMap Project, SharpMap v0.9 / v1.x, WinForms Controls
Apr 28, 2014 at 10:55 AM
i me using code to change Map.ActiveTool
mapbxMain.ActiveTool = MapBox.Tools.DrawPoint

a digitisertoolstrip creates the points bt i need to save them a a shape layer
Editor
Apr 28, 2014 at 11:08 AM
You need to hook into the geometryDefined event on the mapbox.

this exposes the geometry that has been drawn.

you then just need to add this geometry to your geometry provider object collection.
Apr 28, 2014 at 11:41 AM
could u help me with the code i m quite new to sharpmap