Hi,
Similar to EditOverlay.CanAddVertex, I think that EditOverlay.CanDeleteVertex is missing.
From my point of view, canReshape should be removed and you should add a CanDragVertices method.
Patrick.
Hi,
Similar to EditOverlay.CanAddVertex, I think that EditOverlay.CanDeleteVertex is missing.
From my point of view, canReshape should be removed and you should add a CanDragVertices method.
Patrick.
Patrick,
Thanks for your post and sharing!
I agree with your opinion, besides, I found the CanAddVertex property did not work now. I have submitted these issues to my director and I will discuss with him about the final APIs, and hopefully we can add this functionality very soon.
And I will let you know as soon as possible after we reach the solution.
Sorry for the inconvenience now.
Thanks.
Yale
Yale,
I now need to allow my user to remove vertex and only that.
Should I way for something like CanDeleteVertex=true or should I implement my own logic ?
Any fast workaround to desactivate every edit functionality except removing nodes ?
Patrick.
Patrick,
In the existing version, if you go around the problem, you have to write your own EditInterativeOverlay and Override the API:
protected bool AddVertex(PointShape targetPointShape, double searchingTolerance)
Any all, we have added the API now for this functionality, in later version (probably 3.0.354 or later), you can use it as followings:
winformsMap1.EditOverlay.CanAddVertex = true;
winformsMap1.EditOverlay.CanRemoveVertex = false;
Let me know if you have any problems.
Thanks.
Yale
Yale,
Is this version ready for delivery?
Patrick.
Patrick,
I think it will be ready for delivery! In fact, it is already included in 3.0.353 temperary version for you.
Thanks , any more questions just let me know.
Yale