I've
downloaded the Dragged Point Style example. This sample contains the following
lines:
dragInteractiveOverlay.CanAddVertex
= false;
dragInteractiveOverlay.CanDrag = false;
dragInteractiveOverlay.CanRemoveVertex = false;
dragInteractiveOverlay.CanResize = false;
dragInteractiveOverlay.CanRotate = false;
I've
removed these, because in my case the user needs to be able to do all that. As
far as I can see everything is fine when it comes to adding and removing
vertices. However, removing the other three creates undesired behavior.
First of
all, the icons that normally indicate that the feature is draggable, resizable
and rotatable are no longer drawn. So my first question is:
How can I make sure that the relevant draggable,
resizable and rotatable icons are drawn?
Even though
the icons are not there, the functionality remains. However, if I drag, resize
or rotate a feature, the control points are not redrawn until the mouse button
is released. Every now and then this behavior also occurs when I drag a single
control point, rather than an entire feature. This last behavior does not occur
when the above given lines are in place.
So the
second question is:
How can I make sure that the control points are
drawn while I'm dragging, resizing, or rotating?
Your help
will be much appreciated.