I'm writing a WPF app that allows users to position polygons on a map. I want the polygons to snap to the edge of another polygon when they are close. Is there any way to accomplish this?
Go to Solution.
The key to this is GeometryEngine.NearestVertex and GeometryEngine.NearestCoordinate.
I've attached a sample that performs snapping to a geometry. It's written for Windows Store, but it more or less works the exact same in WPF
View solution in original post
I'm also looking for an answer on this one. Any information about snapping would be greatly appreciated.
i need a solution for this too...