ol2 icon indicating copy to clipboard operation
ol2 copied to clipboard

ModifyFeature bySegment: Unable to modify some segments

Open jorix opened this issue 11 years ago • 3 comments

To reproduce the problem:

Using: http://openlayers.org/dev/examples/modify-feature-bysegment.html

  1. Select the feature and drag a real point,
  2. then hover with the mouse over the two segments of the dragged vertex.
  3. Oops! can only be edit one of the two segments.

jorix avatar Jan 11 '14 20:01 jorix

I was able to reproduce, thanks for catching this @jorix

bartvde avatar Jan 13 '14 08:01 bartvde

Is there a fix for this issue?

I have noticed another problem.

Contrary to the normal modifyFeature control where you just have to hover a vertex and press delete key to delete a vertex, with the bySegment feature, you have to click on a vertex to be able to delete it. That is not a problem, but after deleting a vertex, you cannot modify the feature anymore. You have to deselect it and select it again to continue to modify it.

DemersM avatar Sep 17 '14 14:09 DemersM

I'm having the same (after deleting a vertex) problem as @DemarsM. Any fix on this one?

miguelbelem avatar Oct 24 '14 16:10 miguelbelem