Snap to Edge or Snap to Vertex Tool?

May 21, 2015 at 6:18 PM
I have a layer with a lot of polygons. From this layer, I need to get the nearest location of the cursor to the closest polygon?

Is there a "snap to edge" or "snap to vertex" tool in DotSpatial ?

Image

Red dot is position of the cursor. I need the coordinates of the green dot (the nearest location of the polygon).
Developer
May 22, 2015 at 7:15 AM
Have a look at the add function of the editor plugin. That shows how to implement the snap to edge.
May 29, 2015 at 3:22 PM
Hello.

I will look at the function. Thank you for your reply.

I'll back later with my experience.