ThinkGeo.com    |     Documentation    |     Premium Support

Last vertex not snapped

Hi,

I’m using SnapToLayerEditInteractiveOverlay from your sample and it works perfectly for every vertex clicked.
But NOT for the last one double-clicked.

Can you give a try & suggestion ?

Thank you
Patrick.

Hi Patrick,

For our sample, we don’t handle the start point and end point, so if you want to implement that you should want to build custom code.

If you view the code, you can see we only handle the snap by override MoveVertexCore function.

If you want to handle the last vertex, you can handle that by override other functions, for example MouseDoubleClickCore.

Wish that’s helpful.

Regards,

Don