Sorry about not giving enough of the code
EditableMap inherits from SnappableMapFunction which inherits from MapFunction
And EditableMap was hacked out of AddShapeFunction in th DotSpatial.Plugins.ShapeEditor directory of the source code.
Have limited space here so can't paste code. If you would like my source I can put it somewhere (suggestion welcome?)
I'm sure once you check the code in the DotSpatial source you will probably come up with something much better than the cut/paste coding I have done.
EditableMap inherits from SnappableMapFunction which inherits from MapFunction
And EditableMap was hacked out of AddShapeFunction in th DotSpatial.Plugins.ShapeEditor directory of the source code.
Have limited space here so can't paste code. If you would like my source I can put it somewhere (suggestion welcome?)
I'm sure once you check the code in the DotSpatial source you will probably come up with something much better than the cut/paste coding I have done.