Ticket #2169 (closed feature: worksforme)

Opened 4 years ago

Last modified 3 years ago

Duplicate component point when drawing a polygon

Reported by: jwestfall Owned by:
Priority: minor Milestone: 2.10 Release
Component: Control.DrawFeature Version: 2.8
Keywords: Cc:
State:

Description

When drawing a polygon on a vector layer using DrawFeature, there is an extra point being added to the linear ring. Its the 2nd last point in the component list, which is actually the last point drawn, that is being duplicated. So a triangle that should have 4 points, ends up with 5. Have confirmed this for openlayers 2.7/2.8 with firefox as the browser.

Change History

Changed 3 years ago by fredj

  • status changed from new to closed
  • resolution set to worksforme

Can't reproduce this issue.

points.length is equal to 3.

Note: See TracTickets for help on using tickets.