This project is read-only.

Snap to Edge or Snap to Vertex Tool?

May 21, 2015 at 7: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 ?


Red dot is position of the cursor. I need the coordinates of the green dot (the nearest location of the polygon).
May 22, 2015 at 8: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 4:22 PM

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

I'll back later with my experience.