Hello Frank,
thank you for your answer.
For the old version of MapSuite you had a sample on how it can be possible to make a moved vertex snap onto existing vertices. And to make it visible which vertex is currently dragged and if it will snap to another vertex you had to overwrite the DrawTileCore method in the EditInteractiveOverlay to change the display (e.g. color) of the currently dragged vertex.
The code looks like this:
Collection<Feature> controlPoints = this.ExistingControlPointsLayer.FeatureSource.GetAllFeatures(ReturningColumnsType.AllColumns);
//Loops through the control points.
foreach (Feature feature in controlPoints)
{
//Looks at the value of "state" to draw the control point as dragged or not.
if (feature.ColumnValues["state"] != "selected")
{
//draw differently when dragged
}
}
I have not found a similar sample for v12 yet, do you possibly have suggestion for me?
I will try to facilitate the event you mentioned but like to ask nevertheless.
Thank you.
Peter